Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: pape@plato.chemietechnik.uni-dortmund.de (David Pape)
Subject: cc/ld bug? (relocation error)
Date: 14 Jun 1994 13:41:57 GMT	[thread overview]
Message-ID: <2tkc35$ss0@unidoct.Chemietechnik.Uni-Dortmund.DE> (raw)

Hi,

I've got a nasty problem with the linker on our DECstation 5000/200 running
Ultrix 4.3a. When I compile my program (currently with 150+ object files and
the X-windows libraries, Oracle Pro*C libraries among others) the linker
chokes with the following message:

GP (null)
ld:
gp relocation out-of-range errors have occured and bad object file produced
 (corrective action must be taken)
          71781 in the positive direction,
              0 in the negative direction.
Best -G num value to compile all -count'ed objects creating bo with is 7
Best -G num value calculation reliable only if all
-count'ed objects were compiled with -G num greater or
equal to maximum size of a literal pool item (8).

I have tried the following:

1.) compiling all object files with -G 16
2.) linking with -G 16
3.) linking with -s (strip symbol table info from executable)
4.) linking with -bestGnum (to try to find out what Gnum is valid)
5.) linking with -r


I always get the same result (gp relocation out-of-range error), albeit with
different range errors (the 71781 above)

Any clues? I REALLY need to get this program compiled somehow!
--
David Pape                               | "The people who own the country    |
pape@plato.Chemietechnik.Uni-Dortmund.DE |  ought to govern it"               |
Dortmund, Germany                        |  - John Jay                        |
tel: 49 231 7552682                      |  (signer of the U.S. Constitution) |


             reply	other threads:[~1994-06-14 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-14 13:41 David Pape [this message]
1994-06-14 22:42 ` cc/ld bug? (relocation error) John F Carr
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox