Boost logo

Boost-Build :

Subject: Re: [Boost-build] Embedded ARM GNU 8.2.1 Archive Fail on Lib Target
From: codex653 (brandonbraun653_at_[hidden])
Date: 2019-02-12 22:47:46


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

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