Modify

Opened 6 years ago

Closed 6 years ago

Last modified 22 months 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:

Description

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

FIX:
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 6 years ago by nbd

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

fixed in r22869

comment:2 Changed 22 months 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

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


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

 
Note: See TracTickets for help on using tickets.