Bug 18709 - x86_64-linux bootstrap failure building libsupc++
Summary: x86_64-linux bootstrap failure building libsupc++
Status: RESOLVED DUPLICATE of bug 17364
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-28 22:08 UTC by Debian GCC Maintainers
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: x86_64-linux
Target: x86_64-linux
Build: x86_64-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source (10.70 KB, application/x-gzip)
2004-11-28 22:09 UTC, Debian GCC Maintainers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Debian GCC Maintainers 2004-11-28 22:08:37 UTC
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
Comment 1 Debian GCC Maintainers 2004-11-28 22:09:15 UTC
Created attachment 7630 [details]
preprocessed source
Comment 2 Andrew Pinski 2004-11-28 22:13:49 UTC
{ .__data = { .__kind = PTHREAD_MUTEX_RECURSIVE_NP } }

This is a bug in glibc's headers, there is a dup of this bug somewhere.
Comment 3 Andrew Pinski 2004-11-28 22:16:21 UTC
Yes there is PR 17364.

*** This bug has been marked as a duplicate of 17364 ***