🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #207

Re: gcc 2.2.2 Sun 4 X11R5pl#14 libXt builtin_saveregs problems

#207
From: Ian G Batten, Ian G Batten
Date: Fri, 31 Jul 1992 09:49
24 lines
1501 bytes
>>>>> On 30 Jul 92 17:05:23 GMT, I said:


Ian>  I've built X11R5#14 with gcc 2.2.2 on a Sun 4/470 with SunOS 4.1.1 and a
Ian>  Sun 4/690 with SunOS 4.1.2.  It appears that in the shared version of
Ian>  libXt there are unresolved references to builtin_saveregs, caused (I
Ian>  think) by the explicit call to it in va-sparc.h.  This means that a gcc
Ian>  compiled libXt isn't a drop-in replacement, as it requires the caller to
Ian>  be linked with libgcc.

I wouldn't recommend it to the unwary, and I would make sure I was on
good terms with my users before risking it, but...

I have I extracted _varargs.o from libgcc.a and incorporated it into the
libc.so shared library.  All is now well, seemingly.

Anyone who thinks they have a better solution, please mail me.

Anyone who wants to know more, mail me.

If you have seen the problem described, and don't understand my
solution, you almost certainly don't want to do it :-)

ian
Technical Details
Message-ID: <Bs8zA2.MBt@fulcrum.bt.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fulcrum.bt.co.UK!I.G.Batten
References: <9207301506.AA05952@life.ai.mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fulcrum.bt.co.UK!I.G.Batten
From: I.G.Batten@fulcrum.bt.co.UK (Ian G Batten, Ian G Batten)
Newsgroups: gnu.gcc.bug
Subject: Re: gcc 2.2.2 Sun 4 X11R5pl#14 libXt builtin_saveregs problems
Message-ID: <Bs8zA2.MBt@fulcrum.bt.co.uk>
Date: 31 Jul 92 09:49:13 GMT
References: <9207301506.AA05952@life.ai.mit.edu>
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: Fulcrum Communications
Lines: 24
Approved: bug-gcc@prep.ai.mit.edu