5.21 Grep Perhaps add configure option --libdir=/tools/lib.
Fixed: glibc compilation from chroot said "working compiler support for visibility attribute" required.
FYI, I've see this sometimes when binutils does not compile correctly (usually because I set -O3 in its CFLAGS, without also specifying -fno-something-I-can't-remember-anymore). Lately I've changed to just using -O2 on binutils (and the rest of the system, for that matter); it's just easier than trying to remember to set -fno-whatever-it-was for binutils, and remove -mfpmath=sse on glibc (which causes testsuite failures).
But if this is the problem, your binutils testsuite should have shown five or six failures in tests with "elfvsb" (IIRC anyway) in their names.
Anyway, since I've seen this happen with binutils miscompiled, I would suspect that it's either due to the changes you made with --libdir, or it's related to over-optimization. Since --libdir on grep seems to have fixed it, I'm guessing it's related to --libdir/--with-lib-path on binutils.
signature.asc
Description: OpenPGP digital signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page