Article View: gnu.gcc.help
Article #42541gcc 2.5.8 on Sun Sparc -- GLOBAL_OFFSET_TABLE_ undefined
From: Nicholas R LeRoy
Date: Wed, 22 Nov 1995 00:00
Date: Wed, 22 Nov 1995 00:00
34 lines
2080 bytes
2080 bytes
Hello, all...
I'm trying to build socks to allow socks clients to run on our Sun
(SS 20/71, SunOS 4.1.4), and we use gcc for just about all our
development. Currently, we are running gcc 2.5.8. When linking
socks with the Sun C library (libresolv.a, in particular), I get
__GLOBAL_OFFSET_TABLE_ undefined. This symbol is defined by
Sun's ld.
Using /usr/bin/ld to link *any*
objects (even a simple hello world) produces an executable that just
seg faults and core dumps, and Sun's cc compiler has a difficult time,
and I believe that some porting will be required for that route.
Has anybody seen this problem before / is it a known and / or fixed
item? Would a newer version of gcc/ld help? Any assistance would
be greatly appreciated.
Oh. If its in a FAQ, please point me at the relevant info. I'm not
above doing some work.
Thanks in advance.
-Nick
--
+--------------------------------------+-------------------------------------+
| /`-_ Nicholas R LeRoy | Linux -- What *nix was meant to be. |
|{ }/ nleroy@norland.idcnet.com | gcc -- What C was meant to be. |
| \ * / Norland Corp +-------------------------------------+
| |___| W6340 Hackbarth Rd | Escape the Gates of Hell with |
| Fort Atkinson, WI 53530 | The choice of a GNU generation... |
+--------------------------------------+-------------------------------------+
| Hey -- These are my own ideas, not my employer's. Don't blame them... |
+--------------------------------------+-------------------------------------+
Technical Details
Message-ID:
<49079c$oeo@norgate.norland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,171b8c8e91bac21c,start X-Google-Attributes: gid11318c,public From: nleroy@norland.idcnet.com (Nicholas R LeRoy) Subject: gcc 2.5.8 on Sun Sparc -- GLOBAL_OFFSET_TABLE_ undefined Date: 1995/11/22 Message-ID: <49079c$oeo@norgate.norland.com> X-Deja-AN: 119950310 organization: Norland Corp, Fort Atkinson, WI keywords: gcc sparc newsgroups: gnu.gcc.help summary: GLOBAL_OFFSET_TABLE undefined