Boost logo

Boost-Build :

Subject: [Boost-build] Embedded ARM GNU 8.2.1 Archive Fail on Lib Target
From: codex653 (brandonbraun653_at_[hidden])
Date: 2019-02-12 01:27:19


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

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk