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]

Problems installing egcs-1.1 on powerpc-ibm-aix4.1.5.0


Hi,

I would like to report the following problem:

configure; make fails due to a missing flag for the AIX linker:
gcc -c  -DIN_GCC    -g -O2     -I. -I.. -I. -I./.. -I./../config repo.c
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
collect2: ld returned 12 exit status
ld: 0711-781 ERROR: TOC overflow. TOC size: 68584       Maximum size: 65536
make[2]: *** [../cc1plus] Error 1
make[2]: Leaving directory `/tmp_mnt/data/video/matthias/egcs-1.1a/gcc/cp'
make[1]: *** [cc1plus] Error 2
make[1]: Leaving directory `/tmp_mnt/data/video/matthias/egcs-1.1a/gcc'
make: *** [all-gcc] Error 2

changing the Makefile in gcc/cp to provide LD_FLAGS as follows:
BOOT_LDFLAGS=-Wl,-bbigtoc
LDFLAGS=-Wl,-bbigtoc
(note that the line with BOOT_LDFLAGS was already present)
and than a make in this directory and a make in the
egcs-root-directory will end in a successfull installation.

Unfurtunately I am an absolute beginner concerning configure,
therefore I can't provide a patch.

I am also sorry that I did not report this earlier, but I added the
aix target only recently to my egcs builds and was not aware that the
egcs-1.1 release is that close.

Matthias

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


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