Skip to content

warning: orphan section `.ARM.extab' #6

@kubo39

Description

@kubo39
$ west twister -T pthread -j 1 -v
(...)
INFO    - 1/1 qemu_cortex_m3/ti_lm3s6965 app.default                                        ERROR Build failure (build <zephyr>)
ERROR   - see: /home/kubo39/zephyrproject/zephyr_ldc_examples/twister-out/qemu_cortex_m3_ti_lm3s6965/zephyr/app.default/build.log
  • build.log
(...)
[154/159] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /home/kubo39/zephyrproject/zephyr_ldc_examples/twister-out/qemu_cortex_m3_ti_lm3s6965/zephyr/app.default/zephyr/zephyr_pre0.map 
: && ccache /home/kubo39/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/kubo39/zephyrproject/zephyr_ldc_examples/twister-out/qemu_cortex_m3_ti_lm3s6965/zephyr/app.default/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/libarch__arm__core.a  zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a  zephyr/lib/libc/newlib/liblib__libc__newlib.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/lib/posix/options/liblib__posix__options.a  zephyr/lib/os/zvfs/liblib__os__zvfs.a  zephyr/soc/soc/ti_lm3s6965/libsoc__ti__lm3s6965.a  zephyr/subsys/fs/libsubsys__fs.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L/home/kubo39/zephyrproject/zephyr_ldc_examples/twister-out/qemu_cortex_m3_ti_lm3s6965/zephyr/app.default/zephyr  /home/kubo39/zephyrproject/zephyr_ldc_examples/pthread/lib/libpthread_hello.a  zephyr/arch/common/libisr_tables.a  -Wl,--fatal-warnings  -mcpu=cortex-m3  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -fuse-ld=bfd  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie  -L"/home/kubo39/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi"/lib/thumb/v7-m/nofp -L"/home/kubo39/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7-m/nofp" -lm -lc -lgcc -lc && cd /home/kubo39/zephyrproject/zephyr_ldc_examples/twister-out/qemu_cortex_m3_ti_lm3s6965/zephyr/app.default/zephyr && /usr/bin/cmake -E true
/home/kubo39/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: warning: orphan section `.ARM.extab' from `/home/kubo39/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7-m/nofp/libgcc.a(pr-support.o)' being placed in section `.ARM.extab'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions