[15860] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #8632] make check breaks in AIX

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Jan 16 14:37:08 2018

Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8632@krbdev.mit.edu>
Message-ID: <rt-8632-48208.18.6820395455389@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8632'":;
Date: Tue, 16 Jan 2018 14:21:25 -0500 (EST)
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu

I believe this is happening due to a library finalization ordering 
issue.  We assume that libraries are finalized in reverse dependency 
order--in this case, since libcom_err uses libkrb5support, we assume 
that the libcom_err finalizer can call libkrb5support functions and 
have them work (because libkrb5support finalizers won't run until 
afterwards).

If AIX cannot provide this guarantee, the simplest workaround is 
probably to disable library finalizers on AIX, at the cost of leaking a 
little bit of memory if the krb5 libraries are repeatedly loaded and 
unloaded.  To do this, try removing the line 
"use_linker_fini_option=yes" from the *-*-aix5* branch of 
src/config/shlib.conf.
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post