🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #23051

Re: IBM PowerPC/AIX 3.2.5 linking problems

#23051
From: John E. Clark
Date: Tue, 11 Oct 1994 17:25
23 lines
1890 bytes
In article <CxB81o.IEt@beaver.cs.washington.edu> jdean@cs.washington.edu writes:
+I tried posting this to comp.sys.powerpc, but it got lost in a sea of
+Macintosh questions.
+
+I'm using g++ 2.5.8 to try to port a largish C++ program to an IBM-41T
+workstation running AIX 3.2.5, and I'm having trouble with the
+linker.  Our .o files get compiled successfully, but when we try and
+link, we get the following error:
+
+Linking compiler
+0706-781 ERROR: TOC overflow. TOC size: 647000  Max size: 65536
+collect2: ld returned 12 exit status

Since I don't have an AIX system I'm not going to mention any 'solution'
directly. But I will mention, that on a Lynx OS compile of an Xserver,
I had the experience that when I enabled debugging info, with the
'-g' option, that the linker ran out of data space. Fortunately
I was able to overcome this by changing the process data memory limit
to somthing large enought to get the link done.

With out debug info, the file was some 4 M, (actual code was bout 1.5
M). With debug info, the file is some 24 M, (and again actual code
is about 1.5...).
Technical Details
Message-ID: <37ehpf$f3h@noc.cerf.net>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!news.cerf.net!noc.cerf.net!nic.cerf.net!synergy
References: <CxB81o.IEt@beaver.cs.washington.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,50963b9885242fb2
X-Google-Attributes: gid11318c,public
X-Google-Thread: 102b75,50963b9885242fb2
X-Google-Attributes: gid102b75,public
X-Google-ArrivalTime: 1994-10-12 19:10:32 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!news.cerf.net!noc.cerf.net!nic.cerf.net!synergy
From: synergy@nic.cerf.net (John E. Clark)
Newsgroups: comp.arch,gnu.gcc.help
Subject: Re: IBM PowerPC/AIX 3.2.5 linking problems
Date: 11 Oct 1994 17:25:03 GMT
Organization: CERFnet Dial n' CERF Customer
Lines: 24
Message-ID: <37ehpf$f3h@noc.cerf.net>
References: <CxB81o.IEt@beaver.cs.washington.edu>
NNTP-Posting-Host: nic.cerf.net