LFS-6.6, Stage2, glibc, nscd.c:442

Paul Rogers paulgrogers at fastmail.fm
Thu Jun 3 22:20:18 PDT 2010


> shouldn't be a cross compiler. IE, it shouldn't have been configured 
> with --target=$LFS_TGT. I wonder if the people reporting these errors 
> mistakenly used the option --target=$LFS_TGT when they compiled gcc the 
> second time in chapter 5?

Yes, I can definitely confirm it was NOT in my Stage2 script.

I got around the nscd error with:

sed -i 's/fstack/fno-stack/' nscd/Makefile

Then this evening I made a copy of the script without that line
and recompiled glibc with the Stage2 compiler as the next step.
No problem this time.  So I think I have a fairly straightforward
workaround.  I don't imagine there was any need for the nscd code
to get through the gcc compile.  Now I think I have a good glibc
for the rest of the Stage2 build.  Onward!

I do have some errors to check out:
make[2]: *** [/usr/local/src/glibc-build/posix/tst-vfork3.out] Error 1
make[2]: [/usr/local/src/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-mutex8.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-cond8.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-sem11.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-sem12.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-cancel24.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-cancelx4.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-cancelx5.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-cancelx16.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-cancelx20.out] Error 1
make[2]: *** [/usr/local/src/glibc-build/nptl/tst-cancelx21.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2
-- 
Paul Rogers
paulgrogers at fastmail.fm
http://www.xprt.net/~pgrogers/
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)

  	

-- 
http://www.fastmail.fm - IMAP accessible web-mail




More information about the lfs-support mailing list