Modify

Opened 8 years ago

Closed 8 years ago

#3878 closed defect (fixed)

uClibc libc.so symlink is absolute

Reported by: christer@… Owned by: developers
Priority: normal Milestone:
Component: toolchain Version:
Keywords: Cc: christer@…

Description

The libc.so symlink created by the build is absolute, i.e.

OpenWrt-SDK/staging_dir/toolchain-arm_gcc4.1.2/lib/libc.so

points at:

/builddir/staging_dir/toolchain-arm_gcc4.1.2/lib/libc.so.0

So if the SDK is installed in a different directory, such as /opt
and the builddir is removed, it will no longe be possible to link
dynamically with libc.so. Or even worse, when you belive that you
link with the stable libc from the SDK, you'll actually link with
whatever is in the build directory right now.

Make the symlink be relative instead, which fixes this.

Attachments (1)

libc-symlink.patch (596 bytes) - added by christer@… 8 years ago.
Patch to make libc.so symlink relative

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by christer@…

Patch to make libc.so symlink relative

comment:1 Changed 8 years ago by nbd

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

fixed in r12333

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.