Re: AIX build fails with missing symbol .krb5_c_make_random_key

Daria Phoebe Brashear <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel
Message-ID <CAMHoRJhn59ABJpyKn6ELGng_H8Z=EzAAM8+epx6JoLD9TOGf6A@mail.gmail.com>
On Sun, Aug 14, 2022 at 22:24 Jeffrey E Altman ([email protected]) <
[email protected]> wrote:

> 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.
>
>
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
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.