This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Bootstrap problem on powerpc-ibm-aix5.1.0.0
- From: Steve Edwards <edwardss at whl dot co dot uk>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 29 Jun 2007 10:24:38 +0100
- Subject: Bootstrap problem on powerpc-ibm-aix5.1.0.0
I was trying to bootstrap the current development version of gcc from
svn on powerpc-ibm-aix5.1.0.0.
Building C and Fortran bootstrap appeared to work fine (although a lot
of gomp failures with fortran), but I ran into problems with the C++
bootstrap.
I configured (in a separate build tree) with:
/udyn/edwardss/gcc/configure --mandir=/usr/local/share/man
--infodir=/usr/local/share/info --with-gmp=/usr/local
--with-mpfr=/usr/local --prefix=/opt/gcc
--enable-languages=c,fortran,c++ --disable-multilib
(Sorry about any text wrapping BTW) and after a lengthy bootstrap I
ended up with the following error:
make[4]: Entering directory
`/udyn/edwardss/obj/powerpc-ibm-aix5.1.0.0/libstdc++-v3/include' if [ !
-d "./powerpc-ibm-aix5.1.0.0/bits/stdc++.h.gch" ]; then \ mkdir
-p ./powerpc-ibm-aix5.1.0.0/bits/stdc++.h.gch; \ fi;
\ /udyn/edwardss/obj/./gcc/xgcc -shared-libgcc
-B/udyn/edwardss/obj/./gcc -nostdinc++
-L/udyn/edwardss/obj/powerpc-ibm-aix5.1.0.0/libstdc++-v3/src
-L/udyn/edwardss/obj/powerpc-ibm-aix5.1.0.0/libstdc+
+-v3/src/.libs -B/opt/gcc/powerpc-ibm-aix5.1.0.0/bin/
-B/opt/gcc/powerpc-ibm-aix5.1.0.0/lib/
-isystem /opt/gcc/powerpc-ibm-aix5.1.0.0/include
-isystem /opt/gcc/powerpc-ibm-aix5.1.0.0/sys-include -Winvalid-pch
-Wno-deprecated -x c++-header
-I/udyn/edwardss/obj/powerpc-ibm-aix5.1.0.0/libstdc+
+-v3/include/powerpc-ibm-aix5.1.0.0
-I/udyn/edwardss/obj/powerpc-ibm-aix5.1.0.0/libstdc+
+-v3/include -I/udyn/edwardss/gcc/libstdc++-v3/libsupc++ -O0
-g /udyn/edwardss/gcc/libstdc++-v3/include/precompiled/stdc++.h -o
powerpc-ibm-aix5.1.0.0/bits/stdc++.h.gch/O0g.gch In file included
from /udyn/edwardss/obj/powerpc-ibm-aix5.1.0.0/libstdc+
+-v3/include/cctype:48, from /udyn/edwardss/gcc/libstdc+
+-v3/include/precompiled/stdc+
+.h:38: /udyn/edwardss/obj/powerpc-ibm-aix5.1.0.0/libstdc+
+-v3/include/powerpc-ibm-aix5.1.0.0/bits/c++config.h:1097:2: error:
#endif without #if
Examining ~/obj/powerpc-ibm-aix5.1.0.0/libstdc+
+-v3/include/powerpc-ibm-aix5.1.0.0/bits/c++config.h
I find that it terminates with #endif // _GLIBCXX_CXX_CONFIG_H
but that it started with:
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the `acosf' function. */
/* #undef _GLIBCXX_HAVE_ACOSF */
I was expecting something like #ifndef _GLIBCXX_CXX_CONFIG_H at the
beginning.
I looked through the PRs and there was a comment about incorrect gawk
behaviour on AIX 5 so I did try with the AIX awk (in
~/obj-beatrice/powerpc-ibm-aix5.1.0.0/libstdc++-v3/config.log it
reports:
configure:1944: checking for gawk
configure:1973: result: no
configure:1944: checking for mawk
configure:1973: result: no
configure:1944: checking for nawk
configure:1960: found /usr/bin/nawk
configure:1970: result: nawk
Does anyone have any suggestions for how I can try get any further with
this?
Steve
--
----------------------------------------------------------
----------------------------------------------------------