Hello,
I've tried to build LFS with current glibc from git (well, current as
of yesterday) and the second pass of gcc (the first one after
installing glibc into /tools) failed like this:

Making all in libsupc++
make[4]: Entering directory 
`/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++'
/bin/sh ../libtool --tag CXX --tag disable-shared  --mode=compile 
/mnt/lfs/sources/gcc-build/./gcc/xgcc -shared-libgcc 
-B/mnt/lfs/sources/gcc-build/./gcc -nostdinc++ 
-L/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src 
-L/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs 
-B/tools/x86_64-unknown-linux-gnu/bin/ -B/tools/x86_64-unknown-linux-gnu/lib/ 
-isystem /tools/x86_64-unknown-linux-gnu/include -isystem 
/tools/x86_64-unknown-linux-gnu/sys-include    
-I/mnt/lfs/sources/gcc-4.6.2/libstdc++-v3/../gcc 
-I/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
 -I/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include 
-I/mnt/lfs/sources/gcc-4.6.2/libstdc++-v3/libsupc++  -fno-implicit-templates 
-prefer-pic -Wall -Wextra -Wwrite-strings -Wcast-qual  
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections  -g -O2 
-D_GNU_SOURCE  -c -o vterminate.lo ../../../../gcc-4.6.2/li
 bstdc++-v3/libsupc++/vterminate.cc
libtool: compile:  /mnt/lfs/sources/gcc-build/./gcc/xgcc -shared-libgcc 
-B/mnt/lfs/sources/gcc-build/./gcc -nostdinc++ 
-L/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src 
-L/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs 
-B/tools/x86_64-unknown-linux-gnu/bin/ -B/tools/x86_64-unknown-linux-gnu/lib/ 
-isystem /tools/x86_64-unknown-linux-gnu/include -isystem 
/tools/x86_64-unknown-linux-gnu/sys-include 
-I/mnt/lfs/sources/gcc-4.6.2/libstdc++-v3/../gcc 
-I/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
 -I/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include 
-I/mnt/lfs/sources/gcc-4.6.2/libstdc++-v3/libsupc++ -fno-implicit-templates 
-Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c 
../../../../gcc-4.6.2/libstdc++-v3/libsupc++/vterminate.cc  -fPIC -DPIC -o 
vterminate.o
In file included from 
../../../../gcc-4.6.2/libstdc++-v3/libsupc++/vterminate.cc:32:0:
/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdio:118:11:
 error: '::gets' has not been declared
make[4]: *** [vterminate.lo] Error 1
make[4]: Leaving directory 
`/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
andy@eccles:/mnt/lfs/sources/gcc-build$ 

Googling on the error led me to this:
http://gcc.gnu.org/ml/gcc/2012-01/msg00041.html
and this:
http://sourceware.org/bugzilla/show_bug.cgi?id=13566
But according to that bugzilla page, the bug was fixed weeks ago? The
'fix' is definitely in the glibc source so it would appear that it's
not working.
Could someone who knows what they're doing have a look at this please?

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to