🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52731

R5 shared libs fail to build with gcc2.1 under SunOS4.1

#52731
From: Ian Dickinson
Date: Thu, 28 May 1992 11:04
27 lines
1897 bytes
I'm trying to build X11R5fix12 on a Sun3 under SunOS4.1 using gcc2.1
The patch to allow gcc compilation of the shared libs that came with
gcc has been applied since it didn't conflict with any later official fixes.

Everything runs fine until building the shared libraries fails with lots of
messages of the form:

Context.o: ld: assert pure-text failed: reference to [offset] at 2d8 in Context.o

...

Quarks.o: word displacement overflow at text+0x376

...

XwcTextPrp.o: no of reloc used 4491 != no alloc 5300
*** Error code 4

It works fine on Sun4 SunOS4.1.2.  Any clues as to if this is a installation bodge or
a bug, either in gcc or X11R5, gratefully received.

Cheers,
-- 
\/ato - Ian Dickinson - NIC handle: ID17                  Tax cuts don't help
vato@csv.warwick.ac.uk  ...!mcsun!uknet!warwick!vato         those without an
/I=I/S=Dickinson/OU=CSV/O=Warwick/PRMD=UK.AC/ADMD= /C=GB/              income
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson
Technical Details
Message-ID: <79nkbb16@csv.warwick.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!aplcomm!aplcen.apl.jhu.edu!uakari.primate.wisc.edu!sdd.hp.com!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uknet!warwick!cudep

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,cef85365d4fcc4ac,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 103734,cef85365d4fcc4ac,start
X-Google-Attributes: gid103734,public
X-Google-ArrivalTime: 1992-05-28 08:44:06 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!aplcomm!aplcen.apl.jhu.edu!uakari.primate.wisc.edu!sdd.hp.com!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uknet!warwick!cudep
From: cudep@warwick.ac.uk (Ian Dickinson)
Newsgroups: gnu.gcc.help,comp.windows.x
Subject: R5 shared libs fail to build with gcc2.1 under SunOS4.1
Message-ID: <79nkbb16@csv.warwick.ac.uk>
Date: 28 May 92 11:04:55 GMT
Sender: news@csv.warwick.ac.uk (Network news)
Reply-To: vato@csv.warwick.ac.uk (Ian Dickinson)
Organization: Team Limpid's Meathead With Aptitude - Kunst und Wahnsinn
Lines: 27
Nntp-Posting-Host: clover