Re: AIX build fails with missing symbol .krb5_c_make_random_key

Jeffrey E Altman <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel
Organization AuriStor, Inc.
Message-ID <[email protected]>
On 8/14/2022 7:01 PM, Ben Huntsman ([email protected]) 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.


In Feb 2017 there was an openafs-info discussion on could OpenAFS be
supported on AIX 7.1.  OpenAFS 1.6.20.1 built on AIX 7.1 at that time
but panicked the machine. 


There is no evidence that OpenAFS 1.8.x or current master has ever been
built for AIX producing a working kernel module.


Jeffrey Altman
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.