"Invalid Operation" when executing arm-eabi-objcopy.exe

Sysprogs forums Forums VisualGDB "Invalid Operation" when executing arm-eabi-objcopy.exe

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8620
    CurtisHx
    Participant

    1> C:\SysGCC\arm-eabi/bin/arm-eabi-ar.exe -r Debug/Drivers.a Debug/ProprietaryRfDriver.o nRF52832_XXAA_nosoftdev.lds
    1> C:\SysGCC\arm-eabi/bin/arm-eabi-ar.exe: creating Debug/Drivers.a
    1> C:\SysGCC\arm-eabi/bin/arm-eabi-objcopy.exe -O binary Debug/Drivers.a Debug/Drivers.bin
    1> C:\SysGCC\arm-eabi/bin/arm-eabi-objcopy.exe:Debug/Drivers.bin: Invalid operation
    1> make: *** [Debug/Drivers.bin] Error 1
    1> ————————————————————-
    1> Command exited with code 2
    1> Executable: cmd.exe
    1> Arguments: /c “C:\SysGCC\arm-eabi\bin\make.exe” CONFIG=Debug

     

    That “Invalid operation” error message is…less than helpful.  What can cause that error message?

    #8623
    support
    Keymaster

    Hi,

    Looks like our bug, sorry about that. VisualGDB is trying to create a .bin file from a static library (that is not supported). Please simply disable the .bin file creation for the static library project and the error will go away.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.