[Bug bootstrap/31957] New: Build of compiler fails with 'error: #endif without #if'
joerg dot richter at pdv-fs dot de
gcc-bugzilla@gcc.gnu.org
Wed May 16 15:08:00 GMT 2007
$ configure --enable-languages=c,c++ --with-ld=/bin/ld --with-as=/bin/as
$ make
leads to:
In file included from
.../obj/powerpc-ibm-aix5.2.0.0/libstdc++-v3/include/cctype:50,
from
.../gcc-4.2.0/libstdc++-v3/include/precompiled/stdc++.h:38:
.../obj/powerpc-ibm-aix5.2.0.0/libstdc++-v3/include/powerpc-ibm-aix5.2.0.0/bits/c++config.h:1087:2:
error: #endif without #if
While doing:
make[4]: Entering directory
`/pdv/.ws/jrichter/gcc420/obj/powerpc-ibm-aix5.2.0.0/libstdc++-v3/include'
sed: 0602-429 No editing script was provided.
Usage: sed [-n] Script [File ...]
sed [-n] [-e Script] ... [-f Script_file] ... [File ...]
if [ ! -d "./powerpc-ibm-aix5.2.0.0/bits/stdc++.h.gch" ]; then \
mkdir -p ./powerpc-ibm-aix5.2.0.0/bits/stdc++.h.gch; \
fi; \
/ws/jrichter/gcc420/obj/./gcc/xgcc -shared-libgcc
-B/ws/jrichter/gcc420/obj/./gcc -nostdinc++
-L/ws/jrichter/gcc420/obj/powerpc-ibm-aix5.2.0.0/libstdc++-v3/src
-L/ws/jrichter/gcc420/obj/powerpc-ibm-aix5.2.0.0/libstdc++-v3/src/.libs
-B/usr/local/powerpc-ibm-aix5.2.0.0/bin/
-B/usr/local/powerpc-ibm-aix5.2.0.0/lib/ -isystem
/usr/local/powerpc-ibm-aix5.2.0.0/include -isystem
/usr/local/powerpc-ibm-aix5.2.0.0/sys-include -Winvalid-pch -Wno-deprecated -x
c++-header -g -O2
-I/ws/jrichter/gcc420/obj/powerpc-ibm-aix5.2.0.0/libstdc++-v3/include/powerpc-ibm-aix5.2.0.0
-I/ws/jrichter/gcc420/obj/powerpc-ibm-aix5.2.0.0/libstdc++-v3/include
-I/ws/jrichter/gcc420/gcc-4.2.0/libstdc++-v3/libsupc++ -O0 -g
/ws/jrichter/gcc420/gcc-4.2.0/libstdc++-v3/include/precompiled/stdc++.h -o
powerpc-ibm-aix5.2.0.0/bits/stdc++.h.gch/O0g.gch
the file
.../powerpc-ibm-aix5.2.0.0/libstdc++-v3/include/powerpc-ibm-aix5.2.0.0/bits/c++config.h
has as the last line:
#endif // _CXXCONFIG_
but no corresponding #ifndef/#define lines of his header guard
--
Summary: Build of compiler fails with 'error: #endif without #if'
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joerg dot richter at pdv-fs dot de
GCC build triplet: powerpc-ibm-aix5.2.0.0
GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31957
More information about the Gcc-bugs
mailing list