This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hpux11.00 linking - Data Linkage Table (+z) overflow


In message <E88493086664D511A1E4000103330E82021B735F@mail.maconomy.dk>, "Mads" 
writes:
 >Hello,
 >
 >using
 >	bash-2.05$ gcc -v
 >	Reading specs from /data/mk/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/sp
 >ecs
 >	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?
You'd have to recompile the objects inside libocia.a using -fPIC.
jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]