This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/2359: Problem building gcc 2.95.3 on AIX 4.3.3.0
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/2359: Problem building gcc 2.95.3 on AIX 4.3.3.0
- From: tkalix at bredex dot de
- Date: 23 Mar 2001 14:34:48 -0000
- Reply-To: tkalix at bredex dot de
>Number: 2359
>Category: other
>Synopsis: Problem building gcc 2.95.3 on AIX 4.3.3.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Fri Mar 23 06:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Torsten Kalix
>Release: 2.95.3
>Organization:
>Environment:
IBM RS/6000 using AIX version 4.3.3.0
>Description:
Hello!
I have tried to build the gcc on the above mentioned machine.
To configure, I used:
./configure --enable-languages=c,c++,f77
and then started compiling with
make
This worked some time, and then the linker ( = AIX native )
failed, because the toc > 64K.
As a compiler for the gcc I used gcc version 2.95.1 and
AIX make...
I also tried to use the AIX cc to comile, but this got stuck somewhere in the C-code.
Trying to use gmake 3.79.1 made the same problem with the toc-size.
>How-To-Repeat:
>Fix:
As it seems that the linker-option -bbigtoc somehow gots lost, I edited the file ./gcc/cp/Makefile and added $(BOOT_LDFLAGS) as shown below:
compiler: ../cc1plus$(exeext)
../cc1plus$(exeext): $(P) $(OBJDEPS) $(CXX_OBJS) $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(BOOT_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(CXX_OBJS) $(LIBS)
The same was done with ./gcc/f/Makefile:
compiler: ../f771$(exeext)
../f771$(exeext): $(P) $(F77_OBJS) $(OBJDEPS) $(LIBDEPS)
rm -f f771$(exeext)
$(CC) $(ALL_CFLAGS) $(BOOT_LDFLAGS) $(LDFLAGS) -o $@ $(F77_OBJS) $(OBJS) $(LIBS)
>Release-Note:
>Audit-Trail:
>Unformatted: