This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug other/16953] New: failure to build gcc-3.4.1 on IBM-AIX


I am trying to build gcc v. 3.4.1 on IBM (AIX) platform. 
If I use gcc version 2.9-aix51-020209 to build with, I get the following
error:

gmake[1]: Entering directory `/dsgpfs2/dmitry/gcc-build/gcc'
gcc   -g -O2 -DIN_GCC     -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o
c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o
c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a rs6000-c.o
main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -liconv 
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status


If I use the native compiler (xlc_r) I get the following error:


xlc_r -c -DHAVE_CONFIG_H -q64 -O5 -qnoipa -qarch=pwr4 -qtune=pwr4 -qcache=auto
-qmaxmem=-1 -I. -I../../gcc-3.4.1/libiberty/../include  
../../gcc-3.4.1/libiberty/objalloc.c -o objalloc.o
"./config.h", line 368.9: 1506-213 (S) Macro name inline cannot be redefined.
"./config.h", line 368.9: 1506-358 (I) "inline" is defined on line 177 of
../../gcc-3.4.1/libiberty/../include/ansidecl.h.
gmake[1]: *** [objalloc.o] Error 1
gmake[1]: Leaving directory `/dsgpfs2/dmitry/gcc-build/libiberty'
gmake: *** [all-libiberty] Error 2

Thanks for looking into this.

-- 
           Summary: failure to build gcc-3.4.1 on IBM-AIX
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dmitry at sdsc dot edu
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-ibm-aix5.2.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16953


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