public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problemsbuilding 8.1.0 on AIX 5.3
@ 2018-07-17 12:41 Albert Chin
  0 siblings, 0 replies; only message in thread
From: Albert Chin @ 2018-07-17 12:41 UTC (permalink / raw)
  To: gcc-help

I tried building 8.1.0 on AIX 5.3 and ran into a problem:
  $ oslevel -s
  5300-11-08-1140
  $ gtar Jxf /opt/src/latest/devel/gcc-8.1.0/src/gcc-8.1.0.tar.xz
  $ cd gcc-8.1.0
  $ mkdir .obj
  $ cd .obj
  $ LDR_CNTRL=MAXDATA=0x70000000 ../configure \
  SHELL=/opt/fsw/bash42/bin/bash LDFLAGS="-Wl,-brtl \
-Wl,-blibpath:/opt/TWWfsw/libisl016/lib:/opt/TWWfsw/libgmp61/lib:\
/opt/TWWfsw/libmpc10/lib:/opt/TWWfsw/libmpfr31/lib:/usr/lib" \
  --enable-nls --with-included-gettext --enable-shared \
  --enable-threads --enable-languages=c,c++ \
  --with-gmp=/opt/TWWfsw/libgmp61 --with-isl=/opt/TWWfsw/libisl016 \
  --with-mpc=/opt/TWWfsw/libmpc10 --with-mpfr=/opt/TWWfsw/libmpfr31 \
  --with-local-prefix=/tmp/gcc8 --prefix=/tmp/gcc8
  $ LDR_CNTRL=MAXDATA=0x70000000 gmake
  ...
  In file included from /opt/build/china/gcc-8.1.0/.obj/powerpc-ibm-aix5.3.11.0/libstdc++-v3/include/cmath:45,
                   from /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:25:
  /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:3: error: 'long double fabs' redeclared as different kind of symbol
     fabsl(long double x)
     ^~~~~
  /opt/build/china/gcc-8.1.0/.obj/gcc/include-fixed/math.h:312:16: note: previous declaration 'double fabs(double)'
   extern  double fabs(double);
                  ^~~~
  /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:9: error: expected primary-expression before 'long'
     fabsl(long double x)
           ^~~~
  /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:9: error: expected ')' before 'long'
  /opt/build/china/gcc-8.1.0/libstdc++-v3/src/c++98/math_stubs_long_double.cc:35:3: note: to match this '('
     fabsl(long double x)
     ^~~~~
  gmake[6]: *** [math_stubs_long_double.lo] Error 1
  gmake[6]: Leaving directory `/opt/build/china/gcc-8.1.0/.obj/powerpc-ibm-aix5.3.11.0/libstdc++-v3/src/c++98'

Has anyone successfully built 8.1.0 on AIX 5.3?

-- 
albert chin (china@thewrittenword.com)

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

only message in thread, other threads:[~2018-07-17  3:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-17 12:41 Problemsbuilding 8.1.0 on AIX 5.3 Albert Chin

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