Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
Hey all. I've been learning the Boost.Build system for embedded projects at
work and am attempting to use it for some of my own projects at home with
some of the STM32 series chips. I've run into quite a strange issue that has
puzzled some more experienced boost users at work, so I wanted to post
something here and try my luck.

I'm compiling the STM32F7 HAL library with the arm-none-eabi-g++ compiler
(ver 8.2.1). Currently all object files are created just fine, but when
boost gets to the archive step for the lib target I get a weird error
message: "CreateProcessA() Windows API failed: 2 - The system cannot find
the file specified." Boost then proceeds to print the full command as shown
below. Has anyone seen anything like this before?

*The Error Message*
 /D:\git\GitHub\AeroFC\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7>bjam -a -q
F7_HAL -j8
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
...patience...
...found 256 targets...
...updating 65 targets...
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cec.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cortex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_adc_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_can.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_adc.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dac_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dcmi_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dac.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dcmi.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma2d.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dsi.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dfsdm.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_flash.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_flash_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_eth.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_gpio.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hash.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hash_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2c_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_iwdg.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hcd.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2s.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_lptim.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_irda.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_ltdc_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_mdios.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2c.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_ltdc.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_jpeg.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_nor.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_mmc.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_nand.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rng.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_qspi.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sai_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rtc.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rtc_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sai.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_smartcard_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sdram.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_spdifrx.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_smbus.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_smartcard.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sram.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sd.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_tim_ex.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_wwdg.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_spi.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_usart.o
gcc.compile.c
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_tim.o
gcc.archive
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
CreateProcessA() Windows API failed: 2 - The system cannot find the file
specified.

    "d:/programfiles/gcc/arm-none-eabi/bin/ar.exe"  rc
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_adc.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_adc_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_can.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cec.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cortex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dac.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dac_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dcmi.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dcmi_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dfsdm.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma2d.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dsi.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_eth.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_flash.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_flash_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_gpio.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hash.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hash_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hcd.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2c.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2c_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2s.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_irda.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_iwdg.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_jpeg.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_lptim.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_ltdc.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_ltdc_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_mdios.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_mmc.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_nand.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_nor.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_qspi.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.o"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.o"
    "d:/programfiles/gcc/arm-none-eabi/bin/ranlib.exe"
"..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a"

...failed gcc.archive
..\..\..\..\..\..\..\sw\lib\Processor\Thor\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a...
...failed updating 1 target...
...updated 64 targets.../

*Some Analysis I've Done*
I've been playing around with my Jamfiles for two days now trying to find
something that influences the archiving behavior. So far, I've found some
strange things:

    1. In my Jamroot.jam, I cannot have "use-project /STM32F7 :
<relative_path_to_prj> ;" defined
        or else I will get the error message. If I take this out, my problem
goes away.

    2. The path length to the .o files matters quite a bit. If I place my
Jamroot.jam one directory above the Jamfile which contains the HAL_DRIVER
lib that is being built, I have no issues. HOWEVER, if I give that directory
an absurdly long name, say 25 characters or so, it will break again.

    3. The number of .o files being archived matters. Specifically in my
case, I could only archive 51 at a time. Any more than that (it didn't
matter which file), and it would break again.


*My Jamfile Snippet*
*** Note that this is just the critical parts. I've left out some variable
definitions. ***

/lib F7_TARGET_MCU
    :   $(f7_dev_startup_src_dir)/startup_stm32f767xx.c

    :   <ThorMCU>STM32F767
        <link>static
        <define>DEBUG_DEFAULT_INTERRUPT_HANDLERS
        <include>$(f7_include_dirs)
        <cflags>$(all_generic_f7_cflags)
        <cflags>-mfpu=fpv5-sp-d16
        <linkflags>$(all_generic_f7_link_flags)
        <linkflags>-mfpu=fpv5-sp-d16

    :

    # Expect these to be propagated to all projects
    :   <define>STM32F767xx
        <linkflags>-mfpu=fpv5-sp-d16
        <linkflags>$(generic_f7_usage_requirements_link_flags)
        <linkflags>-T$(linker_script)/STM32F767ZI_flash.lds
        <cflags>$(generic_f7_usage_requirements_cflags)
        <cflags>-mfpu=fpv5-sp-d16
        <cxxflags>$(generic_f7_usage_requirements_cflags)
        <cxxflags>-mfpu=fpv5-sp-d16
    ;

explicit F7_TARGET_MCU ;

project STM32F7_HAL_DRIVER : usage-requirements <include>$(f7_include_dirs)
;

lib HAL_DRIVER
    :   $(f7_hal_src)
        F7_TARGET_MCU

    :   <ThorFamily>STM32F7
        <variant>debug
        <link>static
        <include>$(f7_include_dirs)
        <define>$(f7_dbg_defs)
        <cflags>$(f7_dbg_cflags)
        <cflags>$(all_generic_f7_cflags)

    :  

    :   <use>F7_TARGET_MCU
    ;

explicit HAL_DRIVER ;

explicit_alias PUB : : : : <include>$(f7_include_dirs) ;

explicit_alias F7_HAL : HAL_DRIVER : : <ThorMCU>STM32F7xx : <use>PUB ;/




--
Sent from: http://boost.2283326.n4.nabble.com/Boost-Build-f2685023.html
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
AMDG

On 2/11/19 6:27 PM, codex653 via Boost-build wrote:

> Hey all. I've been learning the Boost.Build system for embedded projects at
> work and am attempting to use it for some of my own projects at home with
> some of the STM32 series chips. I've run into quite a strange issue that has
> puzzled some more experienced boost users at work, so I wanted to post
> something here and try my luck.
>
> <snio>
>     1. In my Jamroot.jam, I cannot have "use-project /STM32F7 :
> <relative_path_to_prj> ;" defined
>         or else I will get the error message. If I take this out, my problem
> goes away.
>
>     2. The path length to the .o files matters quite a bit. If I place my
> Jamroot.jam one directory above the Jamfile which contains the HAL_DRIVER
> lib that is being built, I have no issues. HOWEVER, if I give that directory
> an absurdly long name, say 25 characters or so, it will break again.
>
>     3. The number of .o files being archived matters. Specifically in my
> case, I could only archive 51 at a time. Any more than that (it didn't
> matter which file), and it would break again.
>

It sounds like the command line is too long and is being
truncated.   Boost.Build tries to protect against this,
but it seems to be not working for unknown reasons.
If run the link command directly, does it work?

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
Actually yeah! I copied the command exactly as in the error message into the
terminal and it ran perfectly. The archive was created just fine. So...I
guess the real question now is why Boost.Build would be truncating the
command...hmm. I'm honestly not even sure where to begin looking for how to
solve this. I'm extremely unfamiliar with the inner workings of the system.



--
Sent from: http://boost.2283326.n4.nabble.com/Boost-Build-f2685023.html
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
AMDG

On 2/11/19 8:41 PM, codex653 via Boost-build wrote:
> Actually yeah! I copied the command exactly as in the error message into the
> terminal and it ran perfectly. The archive was created just fine. So...I
> guess the real question now is why Boost.Build would be truncating the
> command...hmm. I'm honestly not even sure where to begin looking for how to
> solve this. I'm extremely unfamiliar with the inner workings of the system.
>

Try pasting it into a batch file instead.  That's
how Boost.Build actually runs the command.  Also,
try adding -d1 -d+4 to the b2 command line and see
if that shows anything interesting.

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
On Tue, Feb 12, 2019 at 4:52 AM Steven Watanabe via Boost-build <[hidden email]> wrote:
AMDG

On 2/11/19 8:41 PM, codex653 via Boost-build wrote:
> Actually yeah! I copied the command exactly as in the error message into the
> terminal and it ran perfectly. The archive was created just fine. So...I
> guess the real question now is why Boost.Build would be truncating the
> command...hmm. I'm honestly not even sure where to begin looking for how to
> solve this. I'm extremely unfamiliar with the inner workings of the system.
>

Try pasting it into a batch file instead.  That's
how Boost.Build actually runs the command.  Also,
try adding -d1 -d+4 to the b2 command line and see
if that shows anything interesting.

Given the error stopping just before the space of <<C:\Program Files>>,
couldn't it be be a quoting issue somewhere, rather than a truncation? --DD

'C:\Program' is not recognized as an internal or external command, operable program or batch file.

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
AMDG

On 2/12/19 2:27 AM, Dominique Devienne via Boost-build wrote:

> On Tue, Feb 12, 2019 at 4:52 AM Steven Watanabe via Boost-build <
> [hidden email]> wrote:
>
>> On 2/11/19 8:41 PM, codex653 via Boost-build wrote:
>>> Actually yeah! I copied the command exactly as in the error message into
>> the
>>> terminal and it ran perfectly. The archive was created just fine. So...I
>>> guess the real question now is why Boost.Build would be truncating the
>>> command...hmm. I'm honestly not even sure where to begin looking for how
>> to
>>> solve this. I'm extremely unfamiliar with the inner workings of the
>> system.
>>>
>>
>> Try pasting it into a batch file instead.  That's
>> how Boost.Build actually runs the command.  Also,
>> try adding -d1 -d+4 to the b2 command line and see
>> if that shows anything interesting.
>
>
> Given the error stopping just before the space of <<C:\Program Files>>,
> couldn't it be be a quoting issue somewhere, rather than a truncation? --DD
>

It's possible, but I wouldn't expect that to be affected by
the filename length.  Also, that error message appears to
be from a different source.

> 'C:\Program' is not recognized as an internal or external command, operable
> program or batch file.
>

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
Right, the C:/Program thing has no bearing on the behavior of this issue. I
am currently on my laptop now, which does not produce the C:/Program message
and I still see the issue described previously.

I've run the command from the error log from a .bat file and that still
worked a treat. I've also ran with your -d1 -d+4 flags added and pasted the
resulting output below (starting from the last compiled file). Nothing jumps
out at me immediately as being amiss here.

/gcc.compile.c
..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\Device\startup\startup_stm32f767xx.o
Executing raw command directly
Command string for CreateProcessA():
'"D:/ProgramFiles/gcc/bin/arm-none-eabi-g++.exe" -x c -O0 -fno-inline -Wall
-g --std=gnu11 -Wall -fdata-sections -ffunction-sections -fmessage-length=0
-fno-common -fno-exceptions -mcpu=cortex-m7 -mfloat-abi=hard
-mfpu=fpv5-sp-d16 -mthumb -DDEBUG_DEFAULT_INTERRUPT_HANDLERS
-I"..\..\..\Thor\lib\cmsis\CMSIS\Core\Include"
-I"..\..\..\Thor\lib\stm32hal_f7\Device\conf"
-I"..\..\..\Thor\lib\stm32hal_f7\Device\include"
-I"..\..\..\Thor\lib\stm32hal_f7\STM32F7xx_HAL_Driver\Inc" -c -o
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\Device\startup\startup_stm32f767xx.o"
"..\..\..\Thor\lib\stm32hal_f7\Device\startup\startup_stm32f767xx.c"'
0.015625 sec system; 0.000000 sec user; 120.272000 sec clock
Executing using a command file and the shell: cmd.exe /Q/C
Command string for CreateProcessA(): 'cmd.exe /Q/C
"C:\Users\brand\AppData\Local\Temp\jam21660-00-00.bat"'
0.015625 sec system; 0.000000 sec user; 51.582000 sec clock
gcc.archive
..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
Executing using a command file and the shell:
..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
Command string for CreateProcessA():
'..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
"C:\Users\brand\AppData\Local\Temp\jam21660-00-00.bat"'
0.000000 sec system; 0.000000 sec user; 0.000000 sec clock

    "d:/programfiles/gcc/arm-none-eabi/bin/ar.exe"  rc
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_adc.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_adc_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_can.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cec.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cortex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dac.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dac_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dcmi.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dcmi_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dfsdm.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma2d.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dsi.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_eth.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_flash.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_flash_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_gpio.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hash.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hash_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_hcd.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2c.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2c_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_i2s.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_irda.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_iwdg.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_jpeg.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_lptim.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_ltdc.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_ltdc_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_mdios.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_mmc.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_nand.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_nor.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pcd_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_qspi.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rng.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rtc.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rtc_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sai.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sai_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sd.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sdram.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_smartcard.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_smartcard_ex.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_smbus.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_spdifrx.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_spi.o"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sram.o"
    "d:/programfiles/gcc/arm-none-eabi/bin/ranlib.exe"
"..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a"

...failed gcc.archive
..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a...
...failed updating 1 target...
...updated 66 targets.../



--
Sent from: http://boost.2283326.n4.nabble.com/Boost-Build-f2685023.html
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
AMDG

On 2/12/19 3:47 PM, codex653 via Boost-build wrote:

> Right, the C:/Program thing has no bearing on the behavior of this issue. I
> am currently on my laptop now, which does not produce the C:/Program message
> and I still see the issue described previously.
>
> I've run the command from the error log from a .bat file and that still
> worked a treat. I've also ran with your -d1 -d+4 flags added and pasted the
> resulting output below (starting from the last compiled file). Nothing jumps
> out at me immediately as being amiss here.
>
> <snip>
> gcc.archive
> ..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
> Executing using a command file and the shell:
> ..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
> Command string for CreateProcessA():
> '..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
> "C:\Users\brand\AppData\Local\Temp\jam21660-00-00.bat"'

That's the problem.

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
In reply to this post by Boost - Build mailing list
AMDG

On 2/12/19 3:47 PM, codex653 via Boost-build wrote:
> <snip>
> gcc.archive
> ..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a
> Executing using a command file and the shell:
> ..\..\..\Thor\lib\stm32hal_f7\bin\gcc-8.2.1\debug\ThorMCU-STM32F767\link-static\libHAL_DRIVER.a

Okay.  I think I've identified the problem.
It appears to be a use-after-free error in
the engine.  The bug appears when all of the following are true:
- SHELL is % (meaning to execute directly, without
  going through cmd.exe)
- The command cannot be executed directly (In this case
  because it requires two separate subprocesses, ar and ranlib),
  which results in falling back to the cmd.exe.
- The action is declared as piecemeal, and
- The action needs to be split into multiple commands to
  avoid overflowing the command line.

The shell is replaced and the original freed at
execnt.c:283 but then make1.c:1196 attempts to
reuse the dead shell using a different pointer.

The optimization was introduced in
d1748e252e4b16d0f90a062d288395aee22634e4 (19 Jun 2012)

The refactoring that caused the bug was:
d23202eeff93d4d9d82102ac1cd8623a847631d6 (25 Jun 2012)

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
Wow! I definitely would not have gotten there so quickly, or perhaps even at
all. Thank you! Is there anything I can do in the meantime to work around
this? Do I need to post a bug report somewhere?



--
Sent from: http://boost.2283326.n4.nabble.com/Boost-Build-f2685023.html
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
AMDG

On 2/12/19 8:12 PM, codex653 via Boost-build wrote:
> Wow! I definitely would not have gotten there so quickly, or perhaps even at
> all. Thank you! Is there anything I can do in the meantime to work around
> this? Do I need to post a bug report somewhere?
>

Fixed in develop.

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Embedded ARM GNU 8.2.1 Archive Fail on Lib Target

Boost - Build mailing list
Verified resolved. Thanks again!



--
Sent from: http://boost.2283326.n4.nabble.com/Boost-Build-f2685023.html
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build