building CVS 20041128 on x86_64-linux, the bootstrap fails in /home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/gcc/xgcc -shared-libgcc -B/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/gcc/ -nostdinc++ -L/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/x86_64-linux/libstdc++-v3/src -L/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/x86_64-linux/libstdc++-v3/src/.libs -B/usr/x86_64-linux/bin/ -B/usr/x86_64-linux/lib/ -isystem /usr/x86_64-linux/include -isystem /usr/x86_64-linux/sys-include -I/home/packages/gcc/4.0/gcc-4.0-4.0ds1/src/libstdc++-v3/../gcc -I/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/x86_64-linux/libstdc++-v3/include/x86_64-linux -I/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/x86_64-linux/libstdc++-v3/include -I/home/packages/gcc/4.0/gcc-4.0-4.0ds1/src/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c ../../../../src/libstdc++-v3/libsupc++/guard.cc -fPIC -DPIC -save-temps -o guard.o ../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected primary-expression before '.' token ../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected primary-expression before '{' token ../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected `}' before '{' token ../../../../src/libstdc++-v3/libsupc++/guard.cc:62: error: expected ',' or ';' before '{' token ../../../../src/libstdc++-v3/libsupc++/guard.cc:86: error: expected declaration before '}' token preprocessed source attached. Matthias
Created attachment 7630 [details] preprocessed source
{ .__data = { .__kind = PTHREAD_MUTEX_RECURSIVE_NP } } This is a bug in glibc's headers, there is a dup of this bug somewhere.
Yes there is PR 17364. *** This bug has been marked as a duplicate of 17364 ***