🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #38392

Re: undefined symbol ___builtin_saveregs in X11R6/gcc 2.6.0

#38392
From: Andre Beck
Date: Fri, 28 Oct 1994 17:34
30 lines
2493 bytes
In article <STUDDARD.94Oct23212828@beach.cas.american.edu>, studdard@beach.cas.american.edu (Patrick Studdard) writes:
|> I have just compiled X11R6 (with 5 patches applied) for SunOS 4.1.3
|> using gcc 2.6.0, and many R5 binaries crash with a message like:
|> 
|>   ld.so: call to undefined procedure ___builtin_saveregs from 0xf7649b00
|> 
|> Recompiling the programs with the R6 libraries has caused all but one
|> of these to work properly.  My question is, is this normal, a bug in
|> either X11R6 or gcc, or something I did wrong in the compilation?
|> 
|> My other question is, what is this symbol, what does the function do,
|> and is there a workaround for code which calls it explicitly?
|> 

The function is likely to be introduced by gcc, which doesn't count much
if you would link using gcc, too - it links to the gcclib.a which contains
such stuff. If you start a program which was not compiled with gcc, however,
you will probably have this symbol missing. This may also happen because
of different gcc versions beeing used (as I would expect problems with
other __builtin_* functions otherwise).

If it doesn't make much of a problem, try to build any library which
will be installed publically using the systems native C compiler.

-- 
+-o-+--------------------------------------------------------+-o-+
| o |               \\\- Brain Inside -///                   | o |
| o |                   ^^^^^^^^^^^^^^                       | o |
| o | Andre' Beck (ABPSoft) Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------+-o-+
Technical Details
Message-ID: <38rcnd$d21@ztivax.zfe.siemens.de>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!news.sprintlink.net!EU.net!Germany.EU.net!Munich.Germany.EU.net!zfe.siemens.de!dali2!beck
References: <STUDDARD.94Oct23212828@beach.cas.american.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3b2d2e28881f23fc
X-Google-Attributes: gid11318c,public
X-Google-Thread: 103734,3b2d2e28881f23fc
X-Google-Attributes: gid103734,public
X-Google-ArrivalTime: 1994-10-28 11:56:36 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!news.sprintlink.net!EU.net!Germany.EU.net!Munich.Germany.EU.net!zfe.siemens.de!dali2!beck
From: beck@dali2.zfe.siemens.de (Andre Beck)
Newsgroups: comp.windows.x,gnu.gcc.help
Subject: Re: undefined symbol ___builtin_saveregs in X11R6/gcc 2.6.0
Date: 28 Oct 1994 17:34:37 GMT
Organization: Siemens AG, The "neu-Perlach" branch / Munich-Germany-Europe.
Lines: 30
Sender: beck@dali2 (Andre Beck)
Distribution: world
Message-ID: <38rcnd$d21@ztivax.zfe.siemens.de>
References: <STUDDARD.94Oct23212828@beach.cas.american.edu>
NNTP-Posting-Host: ztivax.zfe.siemens.de