HP-UX 10.20 compile

Mark_Andrews at iengines.com Mark_Andrews at iengines.com
Wed Dec 1 03:07:19 UTC 1999


	We have had feedback that we need to use -fPIC instead of -fpic.
	Below may a symptom of that.  I don't have access to a HPUX 10.20 
	machine to check.

	From the gcc man page:
	Linker Options
		-llibrary -nostartfiles -nostdlib -static -shared
		-symbolic -Xlinker option -Wl,option -u symbol

	Mark
> 
> 
> I have patched HP-UX 10.20 with the referenced libc, sed, and ld patches.
> I have installed the hpux.cs.utah.edu HP-UX depot versions of gcc, flex,
> bison, and binutils.  I have downloaded the 8.2.2-P5 package from isc.org.
> I figured out (finally) that I needed "CC=gcc -fpic" and "YACC=bison --yacc
> --defines" in the Makefile.set in the src/port/hpux10 path.  I defined the
> PATH to allow access to gcc, flex, bison, and binutils.  Everything looked
> so good until the
> 
> "gcc -fpic -O -o named ..."
> 
> pops up, followed shortly by
> 
> "/usr/ccs/bin/ld: Data Linkage Table (+z) overflow in file db_dump.o - use
> +Z option to recompile"
> 
> I haven't seen this problem in the last month of the news group.  Would
> someone please tell me something to do which will allow me to compile and
> load the BIND 8.2.2-P5 package successfully on an HP-UX 10.20 system?  I am
> sure there is some way to tell ld to use the +Z option, but the only way I
> know (export LDOPTS=+Z) causes other errors.  Thanks in advance.
> 
>                     Delmer D. Harris
> 
> 
> 
--
Mark Andrews, Internet Engines Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at iengines.com


More information about the bind-users mailing list