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]

Re: big TOC



I am using EGCS bootstrap-lean and although the -bbigtoc option is being
used automatically, the compilation still fails: 

stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -W -Wall -Wl,-bbigtoc `case
"powerpc-ibm-aix4.1.5.0" in m68k-next-nextstep*) echo -segaddr __DATA
6000000;; *-*-aix[4-9]*) \`stage1/xgcc -Bstage1/ --print-prog-name=ld\` -v
2>&1 | grep BFD >/dev/null || echo -Wl,-bbigtoc;; esac` -o ../f771 \
      bad.o bit.o bld.o com.o data.o equiv.o expr.o global.o implic.o
info.o intrin.o lab.o lex.o malloc.o name.o parse.o proj.o src.o st.o
sta.o stb.o stc.o std.o ste.o storag.o stp.o str.o sts.o stt.o stu.o stv.o
stw.o symbol.o target.o top.o type.o version.o where.o `cat
../stamp-objlist` `if [ xobstack.o != x ]; then echo ../obstack.o; else
true; fi` `case "stage1/xgcc -Bstage1/" 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-783 WARNING: TOC overflow. TOC size: 84832 Maximum size: 65536
 Extra instructions are being generated for each reference to a TOC
 symbol if the symbol is in the TOC overflow area.
ld: 0711-780 SEVERE ERROR: Symbol .ffestb_R10015_ (entry 2156) in object
stb.o:
 Relocation overflow in reference to: ffestb_R10015_ (entry 5127)
 Address: 0x0000d97a;    RLD type: R_TOC;   RLD length: 16
collect2: ld returned 12 exit status
make[3]: *** [../f771] Error 1

Cheers -- ulisses.

On Fri, 7 Aug 1998, David Edelsohn wrote:
> >>>>> "Ulisses T Mello" writes:
> 
> Ulisses> I cannot compile the latest snapshots in an AIX 4.1.5 machine anymore
> Ulisses> without using the bigtoc option, making the performance to go to the
> Ulisses> tubes. Is this the expected behavior?
> 
> 	If you are using EGCS bootstrap, it should be supplying the
> -bbigtoc option automatically for all link steps.  As with g77, C++ now
> has grown too large with too many symbol references to exist within a
> single TOC.
> 
> David
> 



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