Hi there!
   Ah, that makes some sense.  So presumably there hasn't ever been a 
successful build on AIX 6.1 using kerberos.  Is it practical to try to build 
without it?

Thank you!

-Ben

________________________________
From: Daria Phoebe Brashear <sha...@gmail.com>
Sent: Sunday, August 14, 2022 7:33 PM
To: Jeffrey E Altman (jalt...@auristor.com) <jalt...@auristor.com>
Cc: Ben Huntsman <b...@huntsmans.net>; Benjamin Kaduk <ka...@mit.edu>; Ken 
Hornstein <k...@cmf.nrl.navy.mil>; openafs-devel@openafs.org 
<openafs-devel@openafs.org>
Subject: Re: [OpenAFS-devel] AIX build fails with missing symbol 
.krb5_c_make_random_key



On Sun, Aug 14, 2022 at 22:24 Jeffrey E Altman 
(jalt...@auristor.com<mailto:jalt...@auristor.com>) 
<jalt...@auristor.com<mailto:jalt...@auristor.com>> wrote:
On 8/14/2022 7:01 PM, Ben Huntsman 
(b...@huntsmans.net<mailto:b...@huntsmans.net>) wrote:
Sure, I agree for testing that's fine.

But, there is evidence to suggest that this has compiled successfully on AIX 
6.1 and 7.2 in the past, and this issue would have occurred there.


Ben,


The change that you referred to as being similar to the build failure on AIX is 
dated Sept 2013.


AIX 6.1 was last updated in November 2013.   AIX 7.2 was first released in 
December 2015.


The initial use of krb5_c_make_random_key() was added to OpenAFS in 2007 but it 
was for test infrastructure which might not have been built for AIX.  In the 
years since additional use of that function has been added to the source tree.  
However, it is unclear to me at least whether such changes were built on AIX.


The comments on https://gerrit.openafs.org/#/c/14707/3 which was the tip of the 
series that added symbols for AIX 7.2 state that the build on AIX succeeded 
only if the kernel module was not built and if all linkage was static.   That 
change series is a little over a year old.


The last combination that I can find evidence of the AIX kernel module working 
was OpenAFS 1.6.5 and AIX 6.1 TL5 which would have been 32-bit.   OpenAFS 1.6.5 
was released in July 2013.

And there was work needed for even that, given the incompatible struct mbuf 
changes that broke things across TL5

I would not expect 7.1 to work without at least some kernel changes.
--
--
Daria Phoebe Brashear
AuriStor, Inc.
dariaphoebe.com<http://dariaphoebe.com>

Reply via email to