[OpenAFS-devel] AIX build fails with missing symbol .krb5_c_make_random_key

Daria Phoebe Brashear shadow@gmail.com
Sun, 14 Aug 2022 22:33:56 -0400


--00000000000048908505e63e77b0
Content-Type: text/plain; charset="UTF-8"

On Sun, Aug 14, 2022 at 22:24 Jeffrey E Altman (jaltman@auristor.com) <
jaltman@auristor.com> wrote:

> On 8/14/2022 7:01 PM, Ben Huntsman (ben@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

--00000000000048908505e63e77b0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><br></div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Sun, Aug 14, 2022 at 22:24 Jeffrey E Altman (<a href=3D"=
mailto:jaltman@auristor.com">jaltman@auristor.com</a>) &lt;<a href=3D"mailt=
o:jaltman@auristor.com">jaltman@auristor.com</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-w=
idth:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204=
,204,204)">
 =20
   =20
 =20
  <div>
    <div>On 8/14/2022 7:01 PM, Ben Huntsman
      (<a href=3D"mailto:ben@huntsmans.net" target=3D"_blank">ben@huntsmans=
.net</a>) wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
     =20
      <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-siz=
e:12pt;color:rgb(0,0,0)">
        Sure, I agree for testing that&#39;s fine.</div>
      <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-siz=
e:12pt;color:rgb(0,0,0)">
        <br>
      </div>
      <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-siz=
e:12pt;color:rgb(0,0,0)">
        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.<br>
      </div>
      <br>
    </blockquote>
    <p>Ben,</p>
    <p><br>
    </p>
    <p>The change that you referred to as being similar to the build
      failure on AIX is dated Sept 2013.</p>
    <p><br>
    </p>
    <p>AIX 6.1 was last updated in November 2013.=C2=A0=C2=A0 AIX 7.2 was f=
irst
      released in December 2015.</p>
    <p><br>
    </p>
    <p>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.=C2=A0 In the years since additional use of that
      function has been added to the source tree.=C2=A0 However, it is
      unclear to me at least whether such changes were built on AIX.=C2=A0 =
<br>
    </p>
    <p><br>
    </p>
    <p>The comments on <a href=3D"https://gerrit.openafs.org/#/c/14707/3" t=
arget=3D"_blank">https://gerrit.openafs.org/#/c/14707/3</a> 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.=C2=A0=C2=A0 That change series is a li=
ttle
      over a year old.<br>
    </p>
    <p><br>
    </p>
    <p>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.=C2=A0=C2=A0 OpenAFS 1.6.5 was released in July 2013.</p>
    <p></p></div></blockquote><div dir=3D"auto"><br></div><div dir=3D"auto"=
>And there was work needed for even that, given the incompatible struct mbu=
f changes that broke things across TL5</div><div dir=3D"auto"><br></div><di=
v dir=3D"auto">I would not expect 7.1 to work without at least some kernel =
changes.=C2=A0</div></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_sign=
ature" data-smartmail=3D"gmail_signature">--<br>Daria Phoebe Brashear<br>Au=
riStor, Inc.<br><a href=3D"http://dariaphoebe.com">dariaphoebe.com</a></div=
>

--00000000000048908505e63e77b0--