This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
hpux11.00 linking - Data Linkage Table (+z) overflow
- From: "Mads" <mki at maconomy dot dk>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 2 Sep 2002 17:19:47 +0200
- Subject: hpux11.00 linking - Data Linkage Table (+z) overflow
Hello,
using
bash-2.05$ gcc -v
Reading specs from /data/mk/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/specs
Configured with:
../configure --prefix=/data/mk/gcc --enable-languages=c,c++ --with-gnu-as --
without-gnu-ld --disable-threads
Thread model: single
gcc version 3.2
bash-2.05$
linking a big program using
g++ -fPIC -Wl,+b/tmp/foo -Wl,+s ...
I get
/usr/ccs/bin/ld: Data Linkage Table (+z) overflow in file
/data/mk/msgcc/OracleLib/libocic.a(oci.o) - use +Z option to recompile
collect2: ld returned 1 exit status
Linking with
g++ -fPIC -Wl,+b/tmp/foo -Wl,+s -mminimal-toc ...
makes no change. According to ps no +W is used? Shouldn't that be used
automatically?
I know -fPIC and that it should help. But I've also found DPIC mentioned -
what is that about?
http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux11 says that
GNU binutils 2.13 or later is recommended with the 64-bit port. The HP
assembler is not supported.
It is highly recommended that the GNU linker be used as well.
That is only true for 64-bit? For 32-bit HP ld _must_ be used?
TIA,
Mads