eclipse-plugins
eclipse-plugins copied to clipboard
Print removed sections (-Xlinker --print-gc-sections) reports as build failure
Description
This issue is not an issue of GME plugins, but the underlining CDT (even with regular native gcc tools). Regardless this affects the GME as well so for completeness I reported it here as well, but there is no point trying to solve it here. So probably this should be marked as won't fix? If anybody is affected by this and want to contribute to the discussion, the Eclipse/CDT bug the link is here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=539927
In simple terms CDT 9.5.x will mark build failed on any stderr message regardless if the build works or not, while --print-gc-sections by design always put the removed sections verbose messages into stderr*:
--print-gc-sections
--no-print-gc-sections
List all sections removed by garbage collection. The listing is printed on stderr. This option is only effective if garbage collection has been enabled via the ‘--gc-sections’) option. The default behaviour (of not listing the sections that are removed) can be restored by specifying ‘--no-print-gc-sections’ on the command line.
This issue was not experienced in Oxygen/CDT 9.4.3 while it is experienced in Photon/CDT (tested 9.5.0, 9.5.2 and 9.5.3) regardless of the host OS and target platform.
Steps to Reproduce
- Use GME plugins with CDT 9.5.x which comes with Eclipse Photon
- Use a project which builds correctly under normal conditions.
- Clean the project (if the project is built already it will not trigger the error message)
- Enable the "Print removed sections": 3a. For RISC-V projects: Project Properties -> C/C++ Build -> Settings -> Tool Settings -> GNU RISC-V Cross C Linker -> General -> Print removed sections (-Xlinker --print-gc-sections) 3b. For ARM based projects: Project Properties -> C/C++ Build -> Settings -> Tool Settings -> Cross ARM GNU C Linker -> General -> Print removed sections (-Xlinker --print-gc-sections)
Expected behaviour:
12:22:50 Build Finished. 0 errors, 0 warnings. (took 6s.935ms)
Actual behaviour:
riscv64-unknown-elf/bin/ld.exe: Removing unused section '.text._kill' in file './riscv_hal/syscall.o'
riscv64-unknown-elf/bin/ld.exe: Removing unused section '.text._link' in file './riscv_hal/syscall.o'
riscv64-unknown-elf/bin/ld.exe: Removing unused section '.text._lseek' in file './riscv_hal/syscall.o'
riscv64-unknown-elf/bin/ld.exe: Removing unused section '.text._read' in file './riscv_hal/syscall.o'
riscv64-unknown-elf/bin/ld.exe: Removing unused section '.text._stat' in file './riscv_hal/syscall.o'
riscv64-unknown-elf/bin/ld.exe: Removing unused section '.text._times' in file './riscv_hal/syscall.o'
riscv64-unknown-elf/bin/ld.exe: Removing unused section '.text._unlink' in file './riscv_hal/syscall.o'
(I trimmed the log for sake of brevity)
12:23:21 Build Failed. 182 errors, 0 warnings. (took 2s.482ms)
The binaries will be present and if they worked before they still work, only Eclipse thinks the build failed.
Versions
- Not dependant on GME plugin version
- Eclipse Photon and CDT 9.5.x
- Observable on multiple Java versions
- Can be replicated on Linux, Mac and Windows
- Independent on toolchain version or target as the linker was always reporting removed sections to stderr
Is this problem still present in 2018-12?
I'm not sure what is the best way to approach this.
Problem still exists in 2022.
It's claimed that it was fixed in the upstream CDT:
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=539927
Maybe the fix was inadequate or there has been a regression? Perhaps @jonahgraham might know more?
It appears to be fixed, at least the original issue. Perhaps there has been a spelling change or similar in gcc output.
Please confirm version you are using and include the exact output from gcc that is being misidentified.
I cannot reproduce this using the following:
- Eclipse IDE for Embedded C/C++ Developers (includes Incubating components) Version: 2022-12 (4.26.0) Build id: 20221201-1913
- riscv-none-elf-gcc (xPack GNU RISC-V Embedded GCC x86_64) 12.2.0
- arm-none-eabi-gcc (xPack GNU Arm Embedded GCC x86_64) 12.2.1 20221205
Results for RISC-V example project below. The results are similar (and no spurious errors reported) for Arm.
19:40:22 **** Build of configuration Debug for project riscv-test ****
make all
Building file: ../xpacks/sifive-hifive1-board/src/board-functions.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/sifive-hifive1-board/src/board-functions.d" -MT"xpacks/sifive-hifive1-board/src/board-functions.o" -c -o "xpacks/sifive-hifive1-board/src/board-functions.o" "../xpacks/sifive-hifive1-board/src/board-functions.cpp"
Finished building: ../xpacks/sifive-hifive1-board/src/board-functions.cpp
Building file: ../xpacks/sifive-hifive1-board/src/trace-uart.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/sifive-hifive1-board/src/trace-uart.d" -MT"xpacks/sifive-hifive1-board/src/trace-uart.o" -c -o "xpacks/sifive-hifive1-board/src/trace-uart.o" "../xpacks/sifive-hifive1-board/src/trace-uart.cpp"
Finished building: ../xpacks/sifive-hifive1-board/src/trace-uart.cpp
Building file: ../xpacks/sifive-devices/src/fe310/device-interrupts.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/sifive-devices/src/fe310/device-interrupts.d" -MT"xpacks/sifive-devices/src/fe310/device-interrupts.o" -c -o "xpacks/sifive-devices/src/fe310/device-interrupts.o" "../xpacks/sifive-devices/src/fe310/device-interrupts.cpp"
Finished building: ../xpacks/sifive-devices/src/fe310/device-interrupts.cpp
Building file: ../xpacks/sifive-devices/src/device-functions.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/sifive-devices/src/device-functions.d" -MT"xpacks/sifive-devices/src/device-functions.o" -c -o "xpacks/sifive-devices/src/device-functions.o" "../xpacks/sifive-devices/src/device-functions.cpp"
Finished building: ../xpacks/sifive-devices/src/device-functions.cpp
Building file: ../xpacks/sifive-devices/src/plic-functions.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/sifive-devices/src/plic-functions.d" -MT"xpacks/sifive-devices/src/plic-functions.o" -c -o "xpacks/sifive-devices/src/plic-functions.o" "../xpacks/sifive-devices/src/plic-functions.cpp"
Finished building: ../xpacks/sifive-devices/src/plic-functions.cpp
Building file: ../xpacks/micro-os-plus-startup/src/startup.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-startup/src/startup.d" -MT"xpacks/micro-os-plus-startup/src/startup.o" -c -o "xpacks/micro-os-plus-startup/src/startup.o" "../xpacks/micro-os-plus-startup/src/startup.cpp"
Finished building: ../xpacks/micro-os-plus-startup/src/startup.cpp
Building file: ../xpacks/micro-os-plus-semihosting/src/trace-semihosting.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-semihosting/src/trace-semihosting.d" -MT"xpacks/micro-os-plus-semihosting/src/trace-semihosting.o" -c -o "xpacks/micro-os-plus-semihosting/src/trace-semihosting.o" "../xpacks/micro-os-plus-semihosting/src/trace-semihosting.cpp"
Finished building: ../xpacks/micro-os-plus-semihosting/src/trace-semihosting.cpp
Building file: ../xpacks/micro-os-plus-riscv-arch/src/arch-functions.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-riscv-arch/src/arch-functions.d" -MT"xpacks/micro-os-plus-riscv-arch/src/arch-functions.o" -c -o "xpacks/micro-os-plus-riscv-arch/src/arch-functions.o" "../xpacks/micro-os-plus-riscv-arch/src/arch-functions.cpp"
Finished building: ../xpacks/micro-os-plus-riscv-arch/src/arch-functions.cpp
Building file: ../xpacks/micro-os-plus-riscv-arch/src/reset-entry.S
Invoking: GNU RISC-V Cross Assembler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -x assembler-with-cpp -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -MMD -MP -MF"xpacks/micro-os-plus-riscv-arch/src/reset-entry.d" -MT"xpacks/micro-os-plus-riscv-arch/src/reset-entry.o" -c -o "xpacks/micro-os-plus-riscv-arch/src/reset-entry.o" "../xpacks/micro-os-plus-riscv-arch/src/reset-entry.S"
Finished building: ../xpacks/micro-os-plus-riscv-arch/src/reset-entry.S
Building file: ../xpacks/micro-os-plus-riscv-arch/src/trap-entry.S
Invoking: GNU RISC-V Cross Assembler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -x assembler-with-cpp -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -MMD -MP -MF"xpacks/micro-os-plus-riscv-arch/src/trap-entry.d" -MT"xpacks/micro-os-plus-riscv-arch/src/trap-entry.o" -c -o "xpacks/micro-os-plus-riscv-arch/src/trap-entry.o" "../xpacks/micro-os-plus-riscv-arch/src/trap-entry.S"
Finished building: ../xpacks/micro-os-plus-riscv-arch/src/trap-entry.S
Building file: ../xpacks/micro-os-plus-riscv-arch/src/traps.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-riscv-arch/src/traps.d" -MT"xpacks/micro-os-plus-riscv-arch/src/traps.o" -c -o "xpacks/micro-os-plus-riscv-arch/src/traps.o" "../xpacks/micro-os-plus-riscv-arch/src/traps.cpp"
Finished building: ../xpacks/micro-os-plus-riscv-arch/src/traps.cpp
Building file: ../xpacks/micro-os-plus-diag-trace/src/trace.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-diag-trace/src/trace.d" -MT"xpacks/micro-os-plus-diag-trace/src/trace.o" -c -o "xpacks/micro-os-plus-diag-trace/src/trace.o" "../xpacks/micro-os-plus-diag-trace/src/trace.cpp"
Finished building: ../xpacks/micro-os-plus-diag-trace/src/trace.cpp
Building file: ../xpacks/micro-os-plus-cpp-libs/src/cxx.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-cpp-libs/src/cxx.d" -MT"xpacks/micro-os-plus-cpp-libs/src/cxx.o" -c -o "xpacks/micro-os-plus-cpp-libs/src/cxx.o" "../xpacks/micro-os-plus-cpp-libs/src/cxx.cpp"
Finished building: ../xpacks/micro-os-plus-cpp-libs/src/cxx.cpp
Building file: ../xpacks/micro-os-plus-c-libs/src/stdlib/assert.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"xpacks/micro-os-plus-c-libs/src/stdlib/assert.d" -MT"xpacks/micro-os-plus-c-libs/src/stdlib/assert.o" -c -o "xpacks/micro-os-plus-c-libs/src/stdlib/assert.o" "../xpacks/micro-os-plus-c-libs/src/stdlib/assert.c"
Finished building: ../xpacks/micro-os-plus-c-libs/src/stdlib/assert.c
Building file: ../xpacks/micro-os-plus-c-libs/src/stdlib/atexit.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-c-libs/src/stdlib/atexit.d" -MT"xpacks/micro-os-plus-c-libs/src/stdlib/atexit.o" -c -o "xpacks/micro-os-plus-c-libs/src/stdlib/atexit.o" "../xpacks/micro-os-plus-c-libs/src/stdlib/atexit.cpp"
Finished building: ../xpacks/micro-os-plus-c-libs/src/stdlib/atexit.cpp
Building file: ../xpacks/micro-os-plus-c-libs/src/stdlib/exit.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"xpacks/micro-os-plus-c-libs/src/stdlib/exit.d" -MT"xpacks/micro-os-plus-c-libs/src/stdlib/exit.o" -c -o "xpacks/micro-os-plus-c-libs/src/stdlib/exit.o" "../xpacks/micro-os-plus-c-libs/src/stdlib/exit.c"
Finished building: ../xpacks/micro-os-plus-c-libs/src/stdlib/exit.c
Building file: ../xpacks/micro-os-plus-c-libs/src/stdlib/init-fini.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"xpacks/micro-os-plus-c-libs/src/stdlib/init-fini.d" -MT"xpacks/micro-os-plus-c-libs/src/stdlib/init-fini.o" -c -o "xpacks/micro-os-plus-c-libs/src/stdlib/init-fini.o" "../xpacks/micro-os-plus-c-libs/src/stdlib/init-fini.c"
Finished building: ../xpacks/micro-os-plus-c-libs/src/stdlib/init-fini.c
Building file: ../xpacks/micro-os-plus-c-libs/src/_sbrk.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"xpacks/micro-os-plus-c-libs/src/_sbrk.d" -MT"xpacks/micro-os-plus-c-libs/src/_sbrk.o" -c -o "xpacks/micro-os-plus-c-libs/src/_sbrk.o" "../xpacks/micro-os-plus-c-libs/src/_sbrk.c"
Finished building: ../xpacks/micro-os-plus-c-libs/src/_sbrk.c
Building file: ../xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.cpp
Invoking: GNU RISC-V Cross C++ Compiler
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu++14 -fabi-version=0 -fno-exceptions -fno-rtti -fno-use-cxa-atexit -fno-threadsafe-statics -MMD -MP -MF"xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.d" -MT"xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o" -c -o "xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o" "../xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.cpp"
Finished building: ../xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.cpp
Building file: ../src/initialize-hardware.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"src/initialize-hardware.d" -MT"src/initialize-hardware.o" -c -o "src/initialize-hardware.o" "../src/initialize-hardware.c"
Finished building: ../src/initialize-hardware.c
Building file: ../src/interrupts-handlers.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"src/interrupts-handlers.d" -MT"src/interrupts-handlers.o" -c -o "src/interrupts-handlers.o" "../src/interrupts-handlers.c"
Finished building: ../src/interrupts-handlers.c
Building file: ../src/led.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"src/led.d" -MT"src/led.o" -c -o "src/led.o" "../src/led.c"
Finished building: ../src/led.c
Building file: ../src/main.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"src/main.d" -MT"src/main.o" -c -o "src/main.o" "../src/main.c"
Finished building: ../src/main.c
Building file: ../src/newlib-syscalls.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"src/newlib-syscalls.d" -MT"src/newlib-syscalls.o" -c -o "src/newlib-syscalls.o" "../src/newlib-syscalls.c"
Finished building: ../src/newlib-syscalls.c
Building file: ../src/sysclock.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-elf-gcc -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -DSIFIVE_FE310 -DSIFIVE_HIFIVE1_BOARD -I"../include" -I"../xpacks/micro-os-plus-diag-trace/include" -I"../xpacks/micro-os-plus-semihosting/include" -I"../xpacks/sifive-devices/include" -I"../xpacks/sifive-hifive1-board/include" -I"../xpacks/micro-os-plus-c-libs/include" -I"../xpacks/micro-os-plus-riscv-arch/include" -I"../xpacks/micro-os-plus-startup/include" -std=gnu11 -MMD -MP -MF"src/sysclock.d" -MT"src/sysclock.o" -c -o "src/sysclock.o" "../src/sysclock.c"
Finished building: ../src/sysclock.c
Building target: riscv-test.elf
Invoking: GNU RISC-V Cross C++ Linker
riscv-none-elf-g++ -march=rv32imac_zicsr -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -Xlinker --print-gc-sections -L"../ldscripts" -Wl,-Map,"riscv-test.map" --specs=nano.specs -o "riscv-test.elf" ./xpacks/sifive-hifive1-board/src/board-functions.o ./xpacks/sifive-hifive1-board/src/trace-uart.o ./xpacks/sifive-devices/src/fe310/device-interrupts.o ./xpacks/sifive-devices/src/device-functions.o ./xpacks/sifive-devices/src/plic-functions.o ./xpacks/micro-os-plus-startup/src/startup.o ./xpacks/micro-os-plus-semihosting/src/trace-semihosting.o ./xpacks/micro-os-plus-riscv-arch/src/arch-functions.o ./xpacks/micro-os-plus-riscv-arch/src/reset-entry.o ./xpacks/micro-os-plus-riscv-arch/src/trap-entry.o ./xpacks/micro-os-plus-riscv-arch/src/traps.o ./xpacks/micro-os-plus-diag-trace/src/trace.o ./xpacks/micro-os-plus-cpp-libs/src/cxx.o ./xpacks/micro-os-plus-c-libs/src/stdlib/assert.o ./xpacks/micro-os-plus-c-libs/src/stdlib/atexit.o ./xpacks/micro-os-plus-c-libs/src/stdlib/exit.o ./xpacks/micro-os-plus-c-libs/src/stdlib/init-fini.o ./xpacks/micro-os-plus-c-libs/src/_sbrk.o ./xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o ./src/initialize-hardware.o ./src/interrupts-handlers.o ./src/led.o ./src/main.o ./src/newlib-syscalls.o ./src/sysclock.o
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_info' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_abbrev' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_aranges' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.0.dc1cf84fbbe5a1f87364aad1c486ede1]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.archdefines.h.29.73c2308cc0e145c6680c31a156fb263d]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdint.h.4.659be5aa44c4ab4eb7c7cc2b24d8ceee]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._newlib_version.h.4.529115dae5e4f67702b1de0b6e841f38]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.features.h.33.3e67abe6fb64142d4f6fa9496796153c]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._default_types.h.15.247e5cd201eca3442cbf5404108c4935]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._intsup.h.10.48bafbb683905c4daa4565a85aeeb264]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._stdint.h.10.c24fa3af3bc1706662bb5593a907e841]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdint.h.23.d53047a68f4a85177f80b422d52785ed]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.archsemihostinginlines.h.29.bcdd00a315c2fb23b04ef9dd88b4d4c0]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.deviceperipherals.h.29.e238320f6dfc31e1c4b4d419d9225710]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.defines.h.29.a107faec91e3c3e5413ae13868d690b9]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdbool.h.29.f691ed103ef42c2206349b22df0ac7b3]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.defines.h.29.60b74283318b17177ff2210dbfe3dd1e]' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_str' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line_str' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.comment' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.riscv.attributes' in file './xpacks/sifive-hifive1-board/src/board-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_info' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_abbrev' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_aranges' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.0.dc1cf84fbbe5a1f87364aad1c486ede1]' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_str' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line_str' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.comment' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.riscv.attributes' in file './xpacks/sifive-hifive1-board/src/trace-uart.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.srodata._ZStL19piecewise_construct' in file './xpacks/micro-os-plus-startup/src/startup.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._ZN5riscv3csr6mcycleEv' in file './xpacks/micro-os-plus-riscv-arch/src/arch-functions.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.riscv.attributes' in file './xpacks/micro-os-plus-riscv-arch/src/trap-entry.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._ZN2os5trace10initializeEv' in file './xpacks/micro-os-plus-diag-trace/src/trace.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._ZN2os5trace5writeEPKvj' in file './xpacks/micro-os-plus-diag-trace/src/trace.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.trace_initialize' in file './xpacks/micro-os-plus-diag-trace/src/trace.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.trace_vprintf' in file './xpacks/micro-os-plus-diag-trace/src/trace.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.trace_dump_args' in file './xpacks/micro-os-plus-diag-trace/src/trace.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.rodata' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__cxa_pure_virtual' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__cxa_deleted_virtual' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.sbss.__dso_handle' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_info' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_abbrev' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_aranges' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_rnglists' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.0.dc1cf84fbbe5a1f87364aad1c486ede1]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.cconfig.h.31.bd82f50e13eb59f7077f06ee72385037]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.cconfig.h.663.889b17c64007cc32a8bdf94255c3fe0c]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.cstdlib.44.52c5efdfb0f3c176bd11e611a0b94959]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.ieeefp.h.205.f09b65733d972c6dadf6d9c5f3c5720f]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._newlib_version.h.4.529115dae5e4f67702b1de0b6e841f38]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.newlib.h.18.55f86dbbafb23357d00ce3bb601185d7]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.features.h.22.7877b139107948f7dadcf3660cc79cfd]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.config.h.83.76b71cca934ca673e896bc0bf9c690ce]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._ansi.h.21.5136fa2a01d1fcd44a2e65c6c2417611]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdlib.h.13.4ed386f5c1a80d71e72172885d946ef2]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.185.a9c6b5033e0435729857614eafcaa7c4]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.39.12d4affb468b8a2a1605fcc90737e990]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._types.h.20.dd0d04dca3800a0d2a6129b87f3adbb2]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.158.8d92a79b7aa566105a069c3f8eb6fd68]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._default_types.h.6.959254cf5f09734ea7516c89e8bb21bd]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._types.h.127.34941de1b2539d59d5cac00e0dd27a45]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.reent.h.17.e292bf8b0bec6c96e131a54347145a30]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.lock.h.2.1461d1fff82dffe8bfddc23307f6484f]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.reent.h.77.dcd6129ff07fe81bd5636db29abe53b2]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.cdefs.h.49.7c008c2766937177444cabb2199f8bc7]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.alloca.h.8.dfc0c703c47ec3e69746825b17d9e66d]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdlib.h.56.f4862cfbf4363a1db01842d5bdf72c18]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.std_abs.h.31.4587ba001d85390d152353c24c92c0c8]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.cstdlib.80.dfb9cec30d2b42786164eeef91174f9f]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.types.h.40.8b6acba56cefbb11746718204edc8f5e]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._stdint.h.10.c24fa3af3bc1706662bb5593a907e841]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._endian.h.18.1bf9649e8e5bbc91042012680270b9ed]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.endian.h.9.49f3a4695c1b61e8a0808de3c4a106cb]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._timeval.h.32.bec3221fa7a9bb0bdde696c9c57e47d2]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.timespec.h.41.d855182eb0e690443ab8651bcedca6e1]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.select.h.19.40cd3f2bfc456b193b790c2754690ebf]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.types.h.51.5571ec98f267d17d3c670b7a3ba33afa]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.sched.h.22.c60982713a5c428609783c78f9c78d95]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._pthreadtypes.h.36.fcee9961c35163dde6267ef772ad1972]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdint.h.4.659be5aa44c4ab4eb7c7cc2b24d8ceee]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._intsup.h.10.48bafbb683905c4daa4565a85aeeb264]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdint.h.23.d53047a68f4a85177f80b422d52785ed]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.cstddef.40.7f59894b65c26f8fc669473914a0ef3e]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdarg.h.31.b55da1089056868966f25de5dbfc7d3c]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.27.3fc80220048df77954e38daec3bb9670]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.158.8daccf179b3dd11bc6bae0d4e6c914d7]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.39.cafa959b53b1f7e3ca3d506cfb8727bb]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.2.4aa87247282eca6c8f36f9de33d8df1a]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.81.f9d7979a479d57685780efa849031ac4]' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_str' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line_str' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.comment' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_frame' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.riscv.attributes' in file './xpacks/micro-os-plus-cpp-libs/src/cxx.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
Finished building target: riscv-test.elf
Invoking: GNU RISC-V Cross Create Flash Image
riscv-none-elf-objcopy -O ihex "riscv-test.elf" "riscv-test.hex"
Finished building: riscv-test.hex
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.group' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.rodata' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__assert_func' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.assert_failed' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_info' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_abbrev' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_aranges' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_rnglists' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.0.11d4ad98bb14c8332de49c95525f8f7e]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._newlib_version.h.4.529115dae5e4f67702b1de0b6e841f38]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.features.h.33.3e67abe6fb64142d4f6fa9496796153c]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._default_types.h.15.247e5cd201eca3442cbf5404108c4935]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._intsup.h.10.48bafbb683905c4daa4565a85aeeb264]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._stdint.h.10.c24fa3af3bc1706662bb5593a907e841]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdint.h.23.d53047a68f4a85177f80b422d52785ed]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdarg.h.31.b55da1089056868966f25de5dbfc7d3c]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.ieeefp.h.205.f09b65733d972c6dadf6d9c5f3c5720f]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.newlib.h.8.6906225cca5a7e9fa70e67f6c9a2160d]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.config.h.83.76b71cca934ca673e896bc0bf9c690ce]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._ansi.h.31.de524f58584151836e90d8620a16f8e8]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdlib.h.13.4ed386f5c1a80d71e72172885d946ef2]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.185.882514a1a6169ceba9142f401cbe27c6]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.39.f07083f9b666a9e5c52a336c758fdd72]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._types.h.20.dd0d04dca3800a0d2a6129b87f3adbb2]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.158.5f30652bb2ea05b142c1bbee9108c999]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._types.h.127.34941de1b2539d59d5cac00e0dd27a45]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.reent.h.17.e292bf8b0bec6c96e131a54347145a30]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.lock.h.2.1461d1fff82dffe8bfddc23307f6484f]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.reent.h.77.dcd6129ff07fe81bd5636db29abe53b2]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.cdefs.h.49.39045112216f6a021dbdffe3bf5accce]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.alloca.h.8.dfc0c703c47ec3e69746825b17d9e66d]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdlib.h.56.f4862cfbf4363a1db01842d5bdf72c18]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.types.h.40.8b6acba56cefbb11746718204edc8f5e]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._endian.h.18.1bf9649e8e5bbc91042012680270b9ed]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.endian.h.9.49f3a4695c1b61e8a0808de3c4a106cb]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._timeval.h.32.bec3221fa7a9bb0bdde696c9c57e47d2]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.timespec.h.41.d855182eb0e690443ab8651bcedca6e1]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.select.h.19.40cd3f2bfc456b193b790c2754690ebf]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.types.h.51.5571ec98f267d17d3c670b7a3ba33afa]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.sched.h.22.c60982713a5c428609783c78f9c78d95]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4._pthreadtypes.h.36.fcee9961c35163dde6267ef772ad1972]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.assert.h.11.db24e541f16414db224bf986d21017e2]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.unistd.h.2.39165d5b7784d1815ef4b0c4be6df560]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stddef.h.158.bfed30416c9480cd13bc4a25427d538f]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.unistd.h.170.da6e816043042c61475c2b1f58468b37]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
Invoking: GNU RISC-V Cross Print Size
riscv-none-elf-size --format=berkeley "riscv-test.elf"
text data bss dec hex filename
13864 172 2168 16204 3f4c riscv-test.elf
Finished building: riscv-test.siz
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.string.h.8.c4b8571ce60dff2817f43fec8b86aecd]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.27.3fc80220048df77954e38daec3bb9670]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.39.cafa959b53b1f7e3ca3d506cfb8727bb]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.2.4aa87247282eca6c8f36f9de33d8df1a]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_macro[wm4.stdio.h.81.7843243071f707d19c5a8a8919585115]' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_str' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_line_str' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.comment' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.debug_frame' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.riscv.attributes' in file './xpacks/micro-os-plus-c-libs/src/stdlib/assert.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.atexit' in file './xpacks/micro-os-plus-c-libs/src/stdlib/atexit.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__register_exitproc' in file './xpacks/micro-os-plus-c-libs/src/stdlib/atexit.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.abort' in file './xpacks/micro-os-plus-c-libs/src/stdlib/exit.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._chown' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._execve' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._fork' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._getpid' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._gettimeofday' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._kill' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._link' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._open' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._openat' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._readlink' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._stat' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._symlink' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._times' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._unlink' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._wait' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._write' in file './xpacks/micro-os-plus-c-libs/src/c-syscalls-empty.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.led_toggle' in file './src/led.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.led_is_on' in file './src/led.o'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__retarget_lock_init' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__retarget_lock_close' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__retarget_lock_close_recursive' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__retarget_lock_acquire' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__retarget_lock_try_acquire' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__retarget_lock_try_acquire_recursive' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__retarget_lock_release' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.sbss.__lock___arc4random_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.sbss.__lock___dd_hash_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.sbss.__lock___tz_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.sbss.__lock___env_recursive_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.sbss.__lock___at_quick_exit_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.sbss.__lock___atexit_recursive_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__swbuf' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-wbuf.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.fflush' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-fflush.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__fp_lock' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-findfp.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__fp_unlock' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-findfp.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._cleanup' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-findfp.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__fp_lock_all' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-findfp.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__fp_unlock_all' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-findfp.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._fwalk' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-fwalk.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__ssprint_r' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-nano-svfprintf.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.__seofread' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-stdio.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text.cleanup_glue' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-reent.o)'
/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: removing unused section '.text._reclaim_reent' in file '/home/user/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc/12.2.0-3.1/.content/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/lib/libg_nano.a(lib_a-reent.o)'
19:40:26 Build Finished. 0 errors, 0 warnings. (took 4s.395ms)
Thank you @TommyMurphyTM1234 for taking the time to test.
@RufusVS, could you also check with the latest toolchains?
I just ran with the following configuration for My Renesas e2studio:
Board: Custom User Board (Any Device) Device: R7FS5D97E2A01CLK Toolchain: GCC ARM Embedded Toolchain Version: 10.3.1.20210824 SSP Version: 2.2.0
All components seem to have 2021 or 2022 build dates, which should be up-to-date yet exhibited the same problem.
Toolchain Version: 10.3.1.20210824
Please try with 12.x, maybe the problem was in the toolchain.
I just ran with the following configuration for My Renesas e2studio:
What version? What version of Eclipse, Eclipse CDT, and Eclipse Embedded CDT does it use? Maybe try with Eclipse for Embedded C/C++ Developers instead of e2studio since the latter is outside the scope of this repo/project?
I tried my previous setup with the xPack arm toolchain v10.3.1-2.1.1 instead of the latest and I still did not get the problem.
/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: removing unused section '.bss.__lock___atexit_recursive_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: removing unused section '.bss.__lock___dd_hash_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: removing unused section '.bss.__lock___env_recursive_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: removing unused section '.bss.__lock___sfp_recursive_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: removing unused section '.bss.__lock___sinit_recursive_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libg_nano.a(lib_a-lock.o)'
/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: removing unused section '.bss.__lock___tz_mutex' in file '/home/user/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.3.1-2.1.1/.content/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libg_nano.a(lib_a-lock.o)'
14:26:26 Build Finished. 0 errors, 0 warnings. (took 10s.405ms)
You need to test with the latest versions of ALL tools.
e2studio didn't like running with a non-standard toolchain. I finally got the new toolchain to compile the program by selecting "non-installed" toolchain and giving it the path. Then I had to fix a syntax error on the code's call to _Static_assert. But then no errors. So it was the toolchain version.
Thanks everyone helping me with that.
You don't need to keep this issue open on my account.
Glad to know that it is no longer a problem.
So it was the toolchain version. Thanks everyone helping me with that. You don't need to keep this issue open on my account.
That's very odd. I didn't get the problem with the older toolchain that you were using when I used it with the latest Eclipse for Embedded C/C++ Developers. But, either way, with the latest xPacks and Eclipse the issue is not present.
The best for the GME/CDT issues reported on these forums is to use vanilla Eclipse. If a vendor has some quirk that can't be replicated on the vanilla, then probably it's not an issue of the upstream tools.