powerpc-ibm-aix4.3.2.0 c++ build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
----------------------------------------------------------
----------------------------------------------------------

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux