On 6/4/10, linux fan <linuxscra...@gmail.com> wrote: >>> So the problem was the Chapter 5 gcc? >> >> I'm not sure that follows. > > Seems to. > > ... I decide to break out of it, and try something > ... This diff in commands > ============================================================= > --- /mnt/lfs/jhalfs/lfs-commands/chapter05/038-gcc-pass2.orig > +++ /mnt/lfs/jhalfs/lfs-commands/chapter05/038-gcc-pass2 > @@ -43,7 +43,8 @@ > --enable-shared --enable-threads=posix \ > --enable-__cxa_atexit --enable-languages=c,c++ \ > --disable-libstdcxx-pch --disable-multilib \ > - --disable-bootstrap > + --disable-bootstrap \ > + --enable-libssp > make > make install > ln -vs gcc /tools/bin/cc > ============================================================= > I imagine this will be ok. > > Fun! >
No, not ok. /sources/glibc-build/nscd/connections.o: In function `main_loop_epoll': /sources/glibc-2.11.1/nscd/connections.c:2005: undefined reference to `__stack_chk_guard' /sources/glibc-build/nscd/connections.o:/sources/glibc-2.11.1/nscd/connections.c:1795: more undefined references to `__stack_chk_guard' follow collect2: ld returned 1 exit status make[3]: *** [/sources/glibc-build/nscd/nscd] Error 1 make[3]: Leaving directory `/sources/glibc-2.11.1/nscd' make[2]: *** [nscd/others] Error 2 make[2]: Leaving directory `/sources/glibc-2.11.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/sources/glibc-build' I guess Gnu are smarter than I. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page