On Friday 18 November 2005 01:49, Blaisorblade wrote:
> > I'm unaware of a case where /lib64 is not the correct directory to link
> > against on x86-64.
>
> As an update, you became aware (your Ubuntu 5.10 laptop , right?) of such a
> system.
My laptop is x86, and it's still running horny hedgehog. (Upgrading is on my
to-do list...)
> > Obviously /lib is the right one for x86.
> >
> > In theory the correct fix would be to delete the rpath line entirely and
> > fix whatever's generating arch/um/kernel/vmlinux.lds to do it right for
> > x86-64. But that's way beyond my understanding of the linker...
>
> That setting is unused for arch/um/kernel/vmlinux.lds. But I see in default
> linker scripts it's unspecified (and that's unexpected for me), so you're
> right:
>
> SEARCH_DIR("/usr/i686-pc-linux-gnu/lib");
> SEARCH_DIR("/usr/lib/binutils/i686-pc-linux-gnu/2.16");
> SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
>
> Would -rpath /lib64 -rpath /lib work in every possible configuration?
I don't see why not. (This is not necessarily the same thing as a "yes", but
it's as close as you're going to get from me. :)
> Guess
> yes, even since with "vi /mnt/gen64/usr/bin/ld" I find, in the default
> linker script (in this order, with interspreded entries):
>
> SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/lib");
> SEARCH_DIR("/usr/lib");
Sounds reasonable.
> > Rob
Still Rob
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user