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

linux fan linuxscratch at gmail.com
Fri Jun 4 14:58:27 PDT 2010


On 6/4/10, linux fan <linuxscratch at 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.



More information about the lfs-support mailing list