gcc-2.95.2 doesn't compile on AIX 4.1.5 due to missing -bbigtoc in Makefile

Patrick Hildenbrand patrick@mail4you.de
Fri Oct 29 13:27:00 GMT 1999


Hi there,

gcc-2.95.2 (and 2.95.1) do not compile on AIX because of a problem in
gcc-2.95.2/gcc/ch/Makefile. The same applies to gcc/cp/Makefile and
gcc/f/Makefile.

The compiler will stop with a TOC overflowe during a link phase. This
could be fixed by adding the BOOT_LDFLAGS to the commandline of the
linkstep (see also diff Makefile.diff for Details). It might be possible
to directly patch Makefile.in (see ch.Makefile.in.diff), as it contains
the same lines directly, but I couldn't try it on any other OS and I
didn't had the time to check the whole config process. Sorry.

I've also attached cp.Makefile.in.diff und f.Makefile.in.diff for gcc/cp
and gcc/f.

If you need any further details, please drop me a note.

Thanks for your help.

Kind regards,

Patrick Hildenbrand.

BTW: here is a possible changelog entry:

Fri Oct 29 20:45:00 1999 Patrick Hildenbrand <patrick@mail4you.de>
    * Makefile.in: $(BOOT_LDFLAGS) added to rule for cc1chill




More information about the Gcc-bugs mailing list