Article View: gnu.gcc.help
Article #52500dynamic linking on decstations
From: Ed Kademan
Date: Fri, 10 Jul 1992 13:26
Date: Fri, 10 Jul 1992 13:26
23 lines
1630 bytes
1630 bytes
Can anybody put their finger on the problem here, or at least point me in
the right direction? I'm working on a DECstation 5000 and using a
statistical package called XLISP-STAT that allows you to write your own C
code and then dynamically link your routine in with the executive. This
used to work fine with gcc 2.0 but now with 2.2.2 (and with the same
XLISP-STAT executable) I get the following error message:
> (dyn-load "../tmp/a.o")
first ld pass
ld -d -N -x -A /usr/stat/lib/xlispstat/xlisp -G 0 -T 101ff000 ../tmp/a.o
-lm -lc -o /tmp/xlispdyn2474
ld:
../tmp/a.o: jump relocation out-of-range, bad object file produced, can't jump from 0x101ff018 to 0x445b24 (rvector)
error: link failed
>
The code I'm loading references rvector, a function internal to XLISP-STAT.
Thanks in advance, and I'll post a summary if I find out anything
nontrivial.
internet: kademan@stat.wisc.edu
uucp: ...!{allegra,harvard,rutgers,ames,
ucbvax}!uwvax!stat.wisc.edu!kademan
Technical Details
Message-ID:
<KADEMAN.92Jul10072628@hermes.stat.wisc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!daffy!uwvax!spool.cs.wisc.edu!kademanShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3f96a7af279b3ea6,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-07-09 23:17:04 PST Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!daffy!uwvax!spool.cs.wisc.edu!kademan From: kademan@stat.wisc.edu (Ed Kademan) Newsgroups: gnu.gcc.help Subject: dynamic linking on decstations Message-ID: <KADEMAN.92Jul10072628@hermes.stat.wisc.edu> Date: 10 Jul 92 13:26:28 GMT Article-I.D.: hermes.KADEMAN.92Jul10072628 Sender: news@spool.cs.wisc.edu (The News) Distribution: gnu Organization: Statistics Dept. University of Wisconsin-Madison Lines: 23