It's a problem linked to the -fPIC parameter which is
not correctly set during the compilation of the tests.
The book give a sed command to skip bad tests, but it
is not sufficient.
What I suggest you is to use the following command,
after the configure command of the book (and without
the sed before in the book), to force the -fPIC
option:
sed -i 's/gcc -m64/gcc -m64 -fPIC/g'
autoconf-lib-link/tests/Makefile

On my machine, with that, all the tests passed without
any error (of course, if you want, you can also put
-fPIC in your CFLAGS).


Well that appears to have done the trick.  "make check" now succeeds
for 64-bit.  It also appears to run a lot more tests - more along the
number that the 32-bit version ran.  With your changes, the 64-bit
"make check" ran 224 tests.  Without them, it ran 40 tests (10 of
which failed).  So, all in all, a definite improvement.  Thanks.

- Jonathan Davis
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to