Compileing egcs-1.1b under AIX 4.1.5 fails

Matthias Mueller matthias@ica1.uni-stuttgart.de
Wed Sep 9 05:52:00 GMT 1998


Are you sure you made a "make bootstrap"? It should set the required 
bigtoc flag for the linker. It may also be necessary to apply the
following PTF:
        I have just discovered that an update to the AIX linker was
released in mid-March specifically to address the failure encountered by
GCC when using -bbigtoc linker option.  I tested it this morning and it
solves the failure on an AIX 4.1.5 system that I was able to use.
 
        The update is PTF U455193 for APAR IX75823 available from
service.boulder.ibm.com. 

I just installed egcs 1.1 on AIX 4.1.5 and it worked perfectly.
 
Matthias

Adrian Phillips writes:
 > 
 > 
 > Thanks to the response about a failure with GNU ld on another machine
 > I now understand something of the following failure, which is with AIX
 > ld not GNU ld on the machine :
 > 
 > make[2]: Entering directory `/usr/local/src/egcs/gcc/cp'
 > gcc  -DIN_GCC    -g -O2   -o ../cc1plus \
 >       call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o xref.o repo.o  `cat ../stamp-objlist` ../c-common.o ../c-pragma.o `if [ xobstack.o != x ]; then echo ../obstack.o; else true; fi` `case "gcc" in "cc") if [ xalloca.o != x ]; then echo ../alloca.o; else true; fi ;; esac` `if [ x != x ]; then echo ../; else true; fi` -lld
 > ld: 0711-781 ERROR: TOC overflow. TOC size: 68572       Maximum size: 65536
 > collect2: ld returned 12 exit status
 > 
 > Any help would be appreciated,
 > 
 > Adrian Phillips
-- 
+-----------------------------------------------------------------------+
| Matthias Mueller                    matthias@ica1.uni-stuttgart.de    |
|                         http://www.ica1.uni-stuttgart.de/~matthias    |
+-----------------------------------------------------------------------+
|        ICA 1, Pfaffenwaldring 27, D-70569 Stuttgart (Germany)         |
|           Tel. 49-(0)711/685-7606, Fax. 49-(0)711/685-3658            |
+-----------------------------------------------------------------------+



More information about the Gcc mailing list