This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/15006] Libraries in ld.so.cache ignored by ld-linux-armhf.so.3 on armv6l


http://sourceware.org/bugzilla/show_bug.cgi?id=15006

Steve McIntyre <steve.mcintyre at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joseph at codesourcery dot
                   |                            |com

--- Comment #20 from Steve McIntyre <steve.mcintyre at linaro dot org> 2013-01-23 18:25:20 UTC ---
Thanks for the images, they've been very helpful in finally(!) tracking down
the problem. I've worked it out.

The new hard-float ABI detection code in ld.so and ldconfig is designed to stop
the problems that might happen if you have an inconsistent mix of soft- and
hard-float ABI programs and libraries. ldconfig looks for the
EF_ARM_ABI_FLOAT_HARD or EF_ARM_ABI_FLOAT_SOFT flags in the libraries it scans,
and those flags are added by binutils as libraries and programs are built.

Unfortunately... there's a problem with binutils here. The code to add those
flags at compile time has been accepted upstream back in October, but just too
late for the 2.23 release. It also wasn't merged for the 2.23.1 release.
Apologies - looks like I didn't leave enough time for things to sync before
glibc changes went in (in December). All my testing used the latest trunk code
from both codebases. Arse. :-(

See the ARM-related binutils commits in
http://sourceware.org/git/?p=binutils.git;a=commit;h=cd49363b8ae1725522ea29ccc0dda7b138f3d5aa
and
http://sourceware.org/git/?p=binutils.git;a=commit;h=c7d345740f2244e15e04030938b7e4f79e2902af
for the changes if you want a quick fix.

Joseph - do you have any suggestions on what we could/should do to fix this
please?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]