Sysprogs forums › Forums › VisualGDB › Build error with Release configuration
- This topic has 1 reply, 2 voices, and was last updated 10 years, 11 months ago by support.
-
AuthorPosts
-
November 29, 2013 at 01:56 #691DanParticipant
When I build my project in Debug configuration, the build is completed successfully and I can even use the .bin and program it via ST-Link on all my boards. The problem is when I select the Release configuration, I get this odd build failure:
1>
Build started: Project: Interconnector, Configuration: Release Win32
1>Build started 28/11/2013 8:50:05 PM.
1>Build:
1> VisualGDB: Executing prebuild actions
1> VisualGDB: Run “cmd.exe /c “C:ProgramDataSysGCCarm-eabibinmake.exe” CONFIG=Release” in directory “C:SoftwareSourcesInterconnector” on local computer
1> C:/ProgramData/SysGCC/arm-eabi/bin/arm-eabi-gcc.exe -ggdb -ffunction-sections -O3 -mcpu=cortex-m4 -mthumb -IC:/Software/Sources/Interconnector/STM32_USB_OTG_Driver/inc -IC:/Software/Sources/Interconnector/STM32_USB_Device_Library/Core/inc -IC:/Software/Sources/Interconnector/STM32_USB_Device_Library/Class/cdc/inc -IC:/Users/default/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F4xxxx/CMSIS/Device/ST/STM32F4xx/Include -IC:/Users/default/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F4xxxx/CMSIS/Include -IC:/Users/default/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F4xxxx/CMSIS/RTOS -IC:/Users/default/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F4xxxx/STM32F4xx_StdPeriph_Driver/inc -DNDEBUG -DRELEASE -DARM_MATH_CM4 -Dstm32_flash_layout -DSTM32F407VG -DSTM32F40XX -c CoreInterrupts.c -o Release/CoreInterrupts.o -MD -MF Release/CoreInterrupts.dep
1> CoreInterrupts.c: In function ‘Reset_Handler’:
1> CoreInterrupts.c:241:1: internal compiler error: in advance_target_bb, at sched-rgn.c:3552
1> }
1> ^
1> libbacktrace could not find executable to open
1> Please submit a full bug report,
1> with preprocessed source if appropriate.
1> See <http://gcc.gnu.org/bugs.html> for instructions.
1> make: *** [Release/CoreInterrupts.o] Error 1
1>1> Command exited with code 2
1> Executable: cmd.exe
1> Arguments: /c “C:ProgramDataSysGCCarm-eabibinmake.exe” CONFIG=Release
1> Directory: C:SoftwareSourcesInterconnector
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “”C:Program Files (x86)SysprogsVisualGDB\VisualGDB.exe” /build “C:SoftwareSourcesInterconnectorInterconnector.vcxproj” “/solution:C:SoftwareSourcesInterconnector.sln” “/config:Release” “/platform:Win32″” exited with code 1.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:03.28
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========Any idea on how to fix this ?
December 1, 2013 at 04:45 #2822supportKeymasterHi,
Thanks for your feedback. Unfortunately we were not able to reproduce your problem on our side.
Does this happen on one specific project or even on our ‘LED blink’ demo generated by the wizard? Are you using the latest GCC 4.8.2 or an older version? -
AuthorPosts
- You must be logged in to reply to this topic.