On Sat, 3 Mar 2001, Frank Heckenbach wrote:
Christopher Ferrall wrote:
I have been attempting to compile gpc on AIX. I encounter this error:
ld: 0711-781 ERROR: TOC overflow. TOC size: 67804 Maximum size: 65536 collect2: ld returned 12 exit status
On Tue, 16 Jan 2001 Paul Tedaldi wrote:
installation of gpc-20010111 on AIX 4.3.3 had the following problems: - while linking gpc1 the TOC overflows: ld: d: 0711-781 ERROR: TOC overflow. TOC size: 67732 Maximum size: 65536 The problem can be circumvented by adding the "-Wl,'-bbigtoc'" flag to LDFLAG (assuming gcc is used to call ld, for xlc it's just "-bbigtoc") [..]
Note: `make bootstrap' doesn't seem to be mentioned in the GPC install instructions, ...
A while back it WAS in the FAQ: actually make bootstrap-lean because of this from GCC's BUILD file:
"If you are short on disk space you might consider `make bootstrap-lean' instead. This is identical to `make bootstrap' except that object files from the stage1 and stage2 of the 3-stage bootstrap of the compiler are deleted as soon as they are no longer needed."
Russ