public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* powerpc-ibm-aix4.3.2.0 c++ build failure
@ 2008-07-21 20:03 Steve Edwards
  0 siblings, 0 replies; only message in thread
From: Steve Edwards @ 2008-07-21 20:03 UTC (permalink / raw)
  To: gcc-help

Hi,

I have been bootstrapping a build of gcc 4.3.1 on
powerpc-ibm-aix4.3.2.0 and hit the following error (sorry about the
text wrapping):

/usr/local/bin/bash ../libtool --tag CXX
--mode=compile /civil1/obj-gcc/./gcc/xgcc -shared-libgcc
-B/civil1/obj-gcc/./gcc -nostdinc++
-L/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src
-L/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src/.libs
-B/usr/local/powerpc-ibm-aix4.3.2.0/bin/
-B/usr/local/powerpc-ibm-aix4.3.2.0/lib/
-isystem /usr/local/powerpc-ibm-aix4.3.2.0/include
-isystem /usr/local/powerpc-ibm-aix4.3.2.0/sys-include
-I/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc+
+-v3/include/powerpc-ibm-aix4.3.2.0
-I/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include
-I/civil2/gcc-4.3.1/libstdc++-v3/libsupc++  -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections
-O2 -g     -c -o c++locale.lo c++locale.cc libtool:
compile:  /civil1/obj-gcc/./gcc/xgcc -shared-libgcc
-B/civil1/obj-gcc/./gcc -nostdinc++
-L/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src
-L/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src/.libs
-B/usr/local/powerpc-ibm-aix4.3.2.0/bin/
-B/usr/local/powerpc-ibm-aix4.3.2.0/lib/
-isystem /usr/local/powerpc-ibm-aix4.3.2.0/include
-isystem /usr/local/powerpc-ibm-aix4.3.2.0/sys-include
-I/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc+
+-v3/include/powerpc-ibm-aix4.3.2.0
-I/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include
-I/civil2/gcc-4.3.1/libstdc++-v3/libsupc++ -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-O2 -g -c c++locale.cc  -DPIC -o .libs/c++locale.o c++locale.cc: In
function 'void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, int* const&) [with _Tv = float]': c++locale.cc:70:
error: invalid conversion from 'const char*' to 'char*' c+
+locale.cc:70: error:   initializing argument 1 of 'float strtof(char*,
char**)' make[4]: *** [c++locale.lo] Error 1 make[4]: Leaving directory
`/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src' make[3]: ***
[all-recursive] Error 1 make[3]: Leaving directory
`/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3' make[2]: ***
[all] Error 2 make[2]: Leaving directory
`/civil1/obj-gcc/powerpc-ibm-aix4.3.2.0/libstdc++-v3' make[1]: ***
[all-target-libstdc++-v3] Error 2 make[1]: Leaving directory
`/civil1/obj-gcc' make: *** [bootstrap-lean] Error 2

It was configured with:

/civil2/gcc-4.3.1/configure --enable-languages=c,fortran,c++
--mandir=/usr/local/share/man --infodir=/usr/local/share/info
--with-gmp=/usr/local --with-mpfr=/usr/local --enable-threads=aix
--disable-nls --disable-multilib

I wondered if anyone had come across this before and if there were any
suggestions to get around it?

Bootstrapping just C and Fortran works fine fortunately.

Steve
-- 
----------------------------------------------------------
----------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-21 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-21 20:03 powerpc-ibm-aix4.3.2.0 c++ build failure Steve Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).