Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#7816 closed defect (fixed)

Compilation error while using glibc

Reported by: michael.bredel@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: glibc, libc_nonshared.a, wrong place Cc:


Compiling OpenWrt trunk (22810) fails while compiling with glibc (instead of uclibc) for ixp4xx architectures with the following error message:

/root/staging_dir/toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/armeb-openwrt-linux-gnueabi/bin/ld: cannot find /libc_nonshared.a inside /root/staging_dir/toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/armeb-openwrt-linux-gnueabi/bin/../../../toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi

create a symbolic link to /root/staging_dir/toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/armeb-openwrt-linux-gnueabi/bin/../../../toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/lib/libc_nonshared.a

Thus,libc_nonshared.a is located in the /root/staging_dir/toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/armeb-openwrt-linux-gnueabi/bin/../../../toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/lib/ directory rather than /root/staging_dir/toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/armeb-openwrt-linux-gnueabi/bin/../../../toolchain-armeb_v5te_gcc-4.3.3+cs_glibc-2.6.1_eabi/

The system looks at the wrong place while performing the compilation process.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r22869

comment:2 Changed 3 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.