On 2018-08-06 12:44 +0200, John Le Brasseur wrote:
> Hi Mike.
> Thanks for your reply.
> The output is:
>
> ls -lad /tools/lib/libquad*
> -rw-r--r-- 1 root root 1203304 Aug 4 13:55 /tools/lib/libquadmath.a
> -rwxr-xr-x 1 root root 971 Aug 4 13:55 /tools/lib/libquadmath.la
> lrwxrwxrwx 1 root root 20 Aug 4 13:55 /tools/lib/libquadmath.so ->
> libquadmath.so.0.0.0
> lrwxrwxrwx 1 root root 20 Aug 4 13:55 /tools/lib/libquadmath.so.0 ->
> libquadmath.so.0.0.0
> -rwxr-xr-x 1 root root 955232 Aug 4 13:55 /tools/lib/libquadmath.so.0.0.0
No. /tools/lib/libquadmath.so.* is useless now. After "6.10
Adjusting the Toolchain" the default dynamic linker should have
been changed to /lib64/ld-linux-x86-64.so.2 instead of
/tools/lib64/ld-linux-x86-64.so.2. Then it should search /usr/lib,
not /tools/lib.
MPFR configure script add "-lquadmath" if
echo "int main(){return 0;}" > conftest.c &&
cc conftest.c -lquadmath &&
./a.out
returns 0 (successful). But after 6.10 this should NOT succeed
because GCC spec has been changed to search /usr/lib instead
of /tools/lib and there is NO libquadmath.so in /usr/lib.
It's very likely you've made a mistake in 6.10. Please run:
echo "int main(){}" > dummy.c &&
cc dummy.c -Wl,--verbose | grep SEARCH | sed 's/; /\n/g'
It should contain "/usr/lib", and should NOT contain
"/tools/lib".
--
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style