/home/vovan/ZEPHYR_RTOS/zephyrsdk/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: warning: orphan section `.boot_text' from `zephyr/lib/posix/options/liblib__posix__options.a(barrier.c.obj)' being placed in section `.boot_text'
/home/vovan/ZEPHYR_RTOS/zephyrsdk/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: warning: orphan section `.boot_text' from `zephyr/lib/posix/options/liblib__posix__options.a(cond.c.obj)' being placed in section `.boot_text'
/home/vovan/ZEPHYR_RTOS/zephyrsdk/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: warning: orphan section `.boot_text' from `zephyr/lib/posix/options/liblib__posix__options.a(mutex.c.obj)' being placed in section `.boot_text'
/home/vovan/ZEPHYR_RTOS/zephyrsdk/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: warning: orphan section `.boot_text' from `zephyr/lib/posix/options/liblib__posix__options.a(pthread.c.obj)' being placed in section `.boot_text'
/home/vovan/ZEPHYR_RTOS/zephyrsdk/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: warning: orphan section `.boot_text' from `zephyr/kernel/libkernel.a(init.c.obj)' being placed in section `.boot_text'
/home/vovan/ZEPHYR_RTOS/zephyrsdk/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/kernel/libkernel.a(init.c.obj): in function `z_bss_zero_boot':
/home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:272: undefined reference to `lnkr_boot_bss_start'
/home/vovan/ZEPHYR_RTOS/zephyrsdk/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:272: undefined reference to `lnkr_boot_bss_end'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
cat .config | grep LAST_SECTION
# CONFIG_LINKER_LAST_SECTION_ID is not set
cat .config | grep OUTPUT_HEX
CONFIG_BUILD_OUTPUT_HEX=y
# CONFIG_BUILD_OUTPUT_HEX_GAP_FILL is not set
cat .config | grep LINKER_USE
CONFIG_LINKER_USE_BOOT_SECTION=y
# CONFIG_LINKER_USE_PINNED_SECTION is not set
CONFIG_LINKER_USE_RELAX=y
п-моему по умолчанию не стоит настройка CONFIG_LINKER_USE_BOOT_SECTION=y