anjiahao1 commented on PR #17544:
URL: https://github.com/apache/nuttx/pull/17544#issuecomment-3668734079
```
~/work/nuttxwork/nuttx (431cffa5d8e) ✗
➜ cmake -B ../build_stm -DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DBOARD_CONFIG=boards/arm/stm32/nucleo-g431rb/configs/qenco/ -GNinja
-- Found Python3: /usr/bin/python3 (found version "3.12.3") found
components: Interpreter
-- Processing includes:
/home/ajh/work/nuttxwork/nuttx/boards/arm/stm32/nucleo-g431rb/configs/qenco/defconfig
-> /home/ajh/work/nuttxwork/build_stm/.defconfig.processed
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Select HOST_LINUX=y
-- CMake: 3.28.3
-- Ninja: 1.11.1
-- Board: nucleo-g431rb
-- Config: qenco
-- Appdir: /home/ajh/work/nuttxwork/apps
mak-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- The ASM compiler identification is GNU
-- Found assembler:
/home/ajh/lib/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-gcc
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (2.7s)
-- Generating done (0.5s)
-- Build files have been written to: /home/ajh/work/nuttxwork/build_stm
~/work/nuttxwork/nuttx (431cffa5d8e) ✗
➜ cmake --build ../build_stm
[29/1159] Building C object
arch/CMakeFiles/arch.dir/arm/src/stm32/stm32_gpio.c.obj
/home/ajh/work/nuttxwork/nuttx/arch/arm/src/stm32/stm32_gpio.c:44:11: note:
'#pragma message: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate
board.h see tools/stm32_pinmap_tool.py'
44 | # pragma message "CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated
migrate board.h see tools/stm32_pinmap_tool.py"
| ^~~~~~~
[1156/1159] Linking CXX executable nuttx
FAILED: nuttx
: &&
/home/ajh/lib/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-g++
--specs=nosys.specs -Wl,--print-memory-usage -Wl,--entry=__start -nostdlib
-Wl,--gc-sections -Wl,--cref -Wl,-Map=nuttx.map @CMakeFiles/nuttx.rsp -o nuttx
&& :
/home/ajh/lib/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld:
nuttx section `.data' will not fit in region `flash'
/home/ajh/lib/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld:
region `flash' overflowed by 668 bytes
Memory region Used Size Region Size %age Used
flash: 131740 B 128 KB 100.51%
sram: 9564 B 22 KB 42.45%
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
~/work/nuttxwork/nuttx (431cffa5d8e) ✗
```
The current mainline CI is broken; compiling without the current pull
request will also result in a flash out-of-range error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]