[krbdev.mit.edu #2981] CVS Commit 
    Ken Raeburn via RT 
    rt-comment at krbdev.mit.edu
       
    Fri Mar 25 16:37:00 EST 2005
    
    
  
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 
    
    
More information about the krb5-bugs
mailing list