Skip Menu |
 

From: raeburn@mit.edu
Subject: CVS Commit
Download (untitled) / with headers
text/plain 1.2KiB
Our somewhat outdated HP-UX support (which was targeted at HP-UX 10, not 11)
does not have support for shared library initialization and finalization
functions, nor for shared library export lists. The former was causing
compilation failures unless shared library support was disabled.

* include/k5-platform.h: Expand on init/fini comments some more.
(MAKE_FINI_FUNCTION): Add an HP-UX specific variant that defines an auxiliary
function fitting the signature of HP-UX 10 library combined
initializer/finalizer functions.

* config/lib.in (hpux10.exports): New target, constructed similar to
osf1.exports but with HP-UX 10.x linker options, no initializers, and "errno"
explicitly added to the export list.
* shlib.conf (*-*-hpux*): Combine PICFLAGS setting with SHLIB_EXPFLAGS and
LDCOMBINE setting. Add linker option "-c hpux10.exports" to LDCOMBINE. Set
SHLIB_EXPORT_FILE_DEP to hpux10.exports. Set use_linker_fini_option.


To generate a diff of this commit:



cvs diff -r5.237 -r5.238 krb5/src/config/ChangeLog
cvs diff -r5.15 -r5.16 krb5/src/config/lib.in
cvs diff -r5.36 -r5.37 krb5/src/config/shlib.conf
cvs diff -r1.493 -r1.494 krb5/src/include/ChangeLog
cvs diff -r1.11 -r1.12 krb5/src/include/k5-platform.h
BTW, from what I've read, I think this patch will also work for HP-UX
11, but I don't have a test system to try it out on.
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk


To generate a diff of this commit:



cvs diff -r5.229.4.5 -r5.229.4.6 krb5/src/config/ChangeLog
cvs diff -r5.14.4.1 -r5.14.4.2 krb5/src/config/lib.in
cvs diff -r5.34.4.2 -r5.34.4.3 krb5/src/config/shlib.conf
cvs diff -r1.471.2.10 -r1.471.2.11 krb5/src/include/ChangeLog
cvs diff -r1.10.4.1 -r1.10.4.2 krb5/src/include/k5-platform.h