Glibc-2.7 tests during construction toolchain

Chris Staub chris at beaker67.com
Wed Jan 16 00:47:53 PST 2008


Petr Ovtchenkov wrote:
> Ref page:
> http://www.linuxfromscratch.org/lfs/view/development/chapter05/glibc.html
> 
> Glibc 2.7 tests include checks for atexit-like problems, i.e. call g++ or
> link with libstdc++, which not build yet on this stage.
> 
>   cd $LFS_BUILD/glibc-2.7;
>   sed -i -e 's/ tst-cancel24//' -e '/LDFLAGS-tst-cancel24 = -lstdc++/ d' nptl/Makefile
>   sed -i -e 's/bug-atexit3 //' -e 's/ bug-atexit3-lib//' dlfcn/Makefile
>   sed -i -e 's/tst-chk4 tst-chk5 tst-chk6 tst-lfschk4 tst-lfschk5 tst-lfschk6//' debug/Makefile
> 
> (before configure) will remove this tests and make 'make check' a bit happier.
> 
> Bests,
> 
>   - ptr

The LFS book already covers this issue - libstdc++ (and libgcc_s) is 
symlinked in /usr/lib at the beginning of chapter 6.



More information about the lfs-dev mailing list