This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem building G++ from CVS under AIX 4.2.1


Hello

today I had a problem building the g++ part of gcc from the CVS
repository. It broke whith the following error:

----------8<----------------------------------------------------
/work/gcc_CVS/gcc/objdir/gcc/g++ -B/work/gcc_CVS/gcc/objdir/gcc/
-nostdinc++
-L/work/gcc_CVS/gcc/objdir/powerpc-ibm-aix4.2.1.0/libstdc++-v3/src
-L/work/gcc_CVS/gcc/objdir/powerpc-ibm-aix4.2.1.0/libstdc++-v3/src/.libs
-B/work/gcc_test/powerpc-ibm-aix4.2.1.0/bin/
-B/work/gcc_test/powerpc-ibm-aix4.2.1.0/lib/ -isystem
/work/gcc_test/powerpc-ibm-aix4.2.1.0/include -nostdinc++
-I../../../../libstdc++-v3/include
-I../../../../libstdc++-v3/include/std
-I../../../../libstdc++-v3/include/c_std -I../include
-I../../../../libstdc++-v3/libsupc++ -I../libio
-I../../../../libstdc++-v3/libio -I../../../../libstdc++-v3/libmath -g
-O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings
-Winline -fdiagnostics-show-location=once -g -c
../../../../libstdc++-v3/src/complex_io.cc   -DPIC -o .libs/complex_io.o
In file included from
../../../../libstdc++-v3/include/bits/basic_string.h:38,
                 from
../../../../libstdc++-v3/include/bits/std_string.h:43,
                 from
../../../../libstdc++-v3/include/bits/localefwd.h:39,
                 from
../../../../libstdc++-v3/include/bits/std_ios.h:42,
                 from
../../../../libstdc++-v3/include/bits/std_istream.h:37,
                 from ../../../../libstdc++-v3/src/complex_io.cc:31:
../include/bits/atomicity.h:44: `atomic_l' was not declared in this
scope
../include/bits/atomicity.h:44: parse error before `,' token
../include/bits/atomicity.h: In function `int __compare_and_swap(...)':
../include/bits/atomicity.h:46: `__p' undeclared (first use this
function)
../include/bits/atomicity.h:46: (Each undeclared identifier is reported
only 
   once for each function it appears in.)
../include/bits/atomicity.h:46: `__oldval' undeclared (first use this
function)
../include/bits/atomicity.h:46: `__newval' undeclared (first use this
function)
../include/bits/atomicity.h:46: `compare_and_swaplp' undeclared (first
use this 
   function)
../include/bits/atomicity.h: At global scope:
../include/bits/atomicity.h:51: parse error before `,' token
../include/bits/atomicity.h:63: parse error before `,' token
gmake[4]: *** [complex_io.lo] Error 1
gmake[4]: Leaving directory
`/work/gcc_CVS/gcc/objdir/powerpc-ibm-aix4.2.1.0/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/work/gcc_CVS/gcc/objdir/powerpc-ibm-aix4.2.1.0/libstdc++-v3'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory
`/work/gcc_CVS/gcc/objdir/powerpc-ibm-aix4.2.1.0/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/work/gcc_CVS/gcc/objdir'
gmake: *** [bootstrap-lean] Error 2
----------8<----------------------------------------------------

I have configured gcc whith the following options:

----------8<----------------------------------------------------
../configure --enable-languages="c,c++" --enable-shared
--prefix=/work/gcc_test
----------8<----------------------------------------------------

If it is neccessary to provide more information, I could send the whole
buil log (1.5 M uncompressed) to everybody interested.

-- 
mfg.
Andreas Conz

http://www.neuro.informatik.uni-kassel.de/~andreasc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]