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

Paul Rogers paulgrogers at fastmail.fm
Thu Jun 3 14:55:37 PDT 2010

> I've just done some googling on the subject today and it seems that when 
> gcc is compiled as a cross compiler it can cause the "undefined 
> reference to `__stack_chk_guard'" error. Of course, the version of gcc 
> being used in chroot, the second version of gcc compiled in chapter 5, 
> 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?

I'm not on that box at the moment, but I'll double check my script.
Retrying the compile with the Stage2 gcc was next on my list anyhow.
"News at 11."
Paul Rogers
paulgrogers at fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)


http://www.fastmail.fm - Send your email first class

More information about the lfs-support mailing list