Modify

Opened 3 years ago

Last modified 3 years ago

#19373 new defect

Eglibc build failure using -mthumb for cortex A-9 CPU

Reported by: anonymous Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: toolchain Version: Barrier Breaker 14.07
Keywords: Cc: akhilakavi1@…

Description

rm-openwrt-linux-gnueabi-gcc -nostdlib -nostartfiles -r -o /home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os '-Wl,-(' /home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/dl-allobjs.os /home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/rtld-libc.a -lgcc '-Wl,-)' \

-Wl,-Map,/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os.map

arm-openwrt-linux-gnueabi-gcc -nostdlib -nostartfiles -shared -o /home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/ld.so.new \

-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs \
/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os -Wl,--version-script=/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/ld.map \
-Wl,-soname=ld-linux.so.3 \
-Wl,-defsym=_begin=0

/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os: In function `dl_main':
raise.c:(.text+0x224e): undefined reference to `libc_do_syscall'
/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os: In function `_dl_map_object_from_fd':
raise.c:(.text+0x4aaa): undefined reference to `
libc_do_syscall'
/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os: In function `_dl_lookup_symbol_x':
raise.c:(.text+0x6f16): undefined reference to `libc_do_syscall'
/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os: In function `_dl_relocate_object':
raise.c:(.text+0x8f64): undefined reference to `
libc_do_syscall'
/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os: In function `_dl_fixup':
raise.c:(.text+0xa9d2): undefined reference to `libc_do_syscall'
/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/librtld.os:raise.c:(.text+0xae00): more undefined references to `
libc_do_syscall' follow
collect2: error: ld returned 1 exit status
make[6]: * /home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/elf/ld.so Error 1
make[6]: Leaving directory `/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243/libc/elf'
make[5]:
* [elf/subdir_lib] Error 2
make[5]: Leaving directory `/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243/libc'
make[4]: * [all] Error 2
make[4]: Leaving directory `/home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final'
make[3]:
* /home/user/sdk-openwrt-nas/build_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/eglibc-2.19-r25243-final/.built Error 2
make[3]: Leaving directory `/home/user/sdk-openwrt-nas/toolchain/eglibc'
make[2]: * [toolchain/eglibc/compile] Error 2
make[2]: Leaving directory `/home/user/sdk-openwrt-nas'
make[1]:
* /home/user/sdk-openwrt-nas/staging_dir/toolchain-arm_cortex-a9_gcc-4.8-linaro_eglibc-2.19_eabi/stamp/.toolchain_install Error 2

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by florian

Is this still a problem with newer trunk builds and an update glibc version?

comment:2 Changed 3 years ago by anonymous

yes.With newer trunk build and with updated glibc version also I can see the same issue

comment:3 Changed 3 years ago by anonymous

yes.With newer trunk build and with updated glibc version also I can see the same issue

comment:4 Changed 3 years ago by anonymous

yes.With newer trunk build and with updated glibc version also I can see the same issue

comment:5 Changed 3 years ago by anonymous

yes.With newer trunk build and with updated glibc version also I can see the same issue

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.