[OpenAFS-devel] AIX build works!
Daria Phoebe Brashear
shadow@gmail.com
Fri, 9 Sep 2022 11:10:02 -0400
--0000000000005af8e005e83ff1cb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Fri, Sep 9, 2022 at 11:06 Ben Huntsman <ben@huntsmans.net> wrote:
> Hi there-
> I think there's more to it than that. First of all, IBM doesn't
> provide a krb5-config script with their kerberos.
>
I guess whatever 6.X has is different than in 7; the Kerberos in
/opt/freeware works modulo what I described.
And if you run nm on libk5crypto.a, it's not wrong that the symbol it's
> looking for .krb5int_hash_md5 isn't there, just krb5int_hash_md5 without
> the dot. I will keep looking at it, especially if the AIX build changes
> get merged.
>
I don=E2=80=99t have that power alas. Good luck.
>
> Thank you!
>
> -Ben
>
> ------------------------------
> *From:* Daria Phoebe Brashear <shadow@gmail.com>
> *Sent:* Thursday, September 8, 2022 9:41 AM
> *To:* Ben Huntsman <ben@huntsmans.net>
> *Cc:* openafs-devel@openafs.org <openafs-devel@openafs.org>
> *Subject:* Re: [OpenAFS-devel] AIX build works!
>
> On Wed, Aug 24, 2022 at 2:07 PM Ben Huntsman (ben@huntsmans.net)
> <ben@huntsmans.net> wrote:
> >
> > Hi everyone-
> > With the last change I put up on gerrit this morning, the AIX build
> completes on AIX 6.1 6100-09-12! And, while I'm still trying to get the
> Kerbreos setup ironed out, loading the kernel extension and starting afsd
> doesn't cause a panic anymore! So it appears to be mostly working!
> >
> > The one odd thing I did have to do is to manually add "-lk5crypto" t=
o
> the Kerberos libs in src/config/Makefile.config, as I couldn't get the
> configure script to detect it properly. I'm not sure if that's an issue
> with IBM's Kerberos implementation, or with the OpenAFS configure script.=
..
>
> At a guess, you need to either make krb5-config return 32 bit libpaths
> first, or force your compiler and linker to be in 64 bit mode (e.g.
> xlc_r -Wc,lp64 -Wl,lp64, ld -b64, gcc -maix64). Otherwise, the
> configure tests throw errors which get sensed as the symbol not being
> detected instead of what they actually are.
>
> --
> Daria Phoebe Brashear
> AuriStor, Inc
> dariaphoebe.com
>
--=20
--
Daria Phoebe Brashear
AuriStor, Inc.
dariaphoebe.com
--0000000000005af8e005e83ff1cb
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 Fri, Sep 9, 2022 at 11:06 Ben Huntsman <<a href=3D"ma=
ilto:ben@huntsmans.net">ben@huntsmans.net</a>> wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-widt=
h:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,20=
4,204)">
<div dir=3D"ltr">
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
Hi there-</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
=C2=A0 =C2=A0I think there's more to it than that.=C2=A0 First of all, =
IBM doesn't provide a krb5-config script with their kerberos.=C2=A0 </d=
iv></div></blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">I guess=
whatever 6.X has is different than in 7; the Kerberos in /opt/freeware wor=
ks modulo what I described.</div><div dir=3D"auto"><br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px=
;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204=
)"><div dir=3D"ltr"><div style=3D"font-family:Calibri,Arial,Helvetica,sans-=
serif;font-size:12pt;color:rgb(0,0,0)" dir=3D"auto">And if you run nm on li=
bk5crypto.a, it's not wrong that the symbol it's looking for .krb5i=
nt_hash_md5 isn't there, just=C2=A0krb5int_hash_md5 without
the dot.=C2=A0 I will keep looking at it, especially if the AIX build chan=
ges get merged.</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
</div></div></blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">I do=
n=E2=80=99t have that power alas. Good luck.</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir=
=3D"ltr"><div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-=
size:12pt;color:rgb(0,0,0)"><br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
Thank you!</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
-Ben</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
<br>
</div>
<div id=3D"m_5775153941844645080appendonsend"></div>
<hr style=3D"display:inline-block;width:98%">
<div id=3D"m_5775153941844645080divRplyFwdMsg" dir=3D"ltr"><font face=3D"Ca=
libri, sans-serif" style=3D"font-size:11pt;font-family:Calibri,sans-serif;c=
olor:rgb(0,0,0)"><b style=3D"font-family:Calibri,sans-serif">From:</b> Dari=
a Phoebe Brashear <<a href=3D"mailto:shadow@gmail.com" target=3D"_blank"=
style=3D"font-family:Calibri,sans-serif">shadow@gmail.com</a>><br>
<b style=3D"font-family:Calibri,sans-serif">Sent:</b> Thursday, September 8=
, 2022 9:41 AM<br>
<b style=3D"font-family:Calibri,sans-serif">To:</b> Ben Huntsman <<a hre=
f=3D"mailto:ben@huntsmans.net" target=3D"_blank" style=3D"font-family:Calib=
ri,sans-serif">ben@huntsmans.net</a>><br>
<b style=3D"font-family:Calibri,sans-serif">Cc:</b> <a href=3D"mailto:opena=
fs-devel@openafs.org" target=3D"_blank" style=3D"font-family:Calibri,sans-s=
erif">openafs-devel@openafs.org</a> <<a href=3D"mailto:openafs-devel@ope=
nafs.org" target=3D"_blank" style=3D"font-family:Calibri,sans-serif">openaf=
s-devel@openafs.org</a>><br>
<b style=3D"font-family:Calibri,sans-serif">Subject:</b> Re: [OpenAFS-devel=
] AIX build works!</font>
<div>=C2=A0</div>
</div></div><div dir=3D"ltr">
<div><font size=3D"2" style=3D"color:rgb(0,0,0)"><span style=3D"font-size:1=
1pt">
<div>On Wed, Aug 24, 2022 at 2:07 PM Ben Huntsman (<a href=3D"mailto:ben@hu=
ntsmans.net" target=3D"_blank">ben@huntsmans.net</a>)<br>
<<a href=3D"mailto:ben@huntsmans.net" target=3D"_blank">ben@huntsmans.ne=
t</a>> wrote:<br>
><br>
> Hi everyone-<br>
>=C2=A0=C2=A0=C2=A0 With the last change I put up on gerrit this morning=
, the AIX build completes on AIX 6.1 6100-09-12!=C2=A0 And, while I'm s=
till trying to get the Kerbreos setup ironed out, loading the kernel extens=
ion and starting afsd doesn't cause a panic anymore!=C2=A0 So it
appears to be mostly working!<br>
><br>
>=C2=A0=C2=A0=C2=A0 The one odd thing I did have to do is to manually ad=
d "-lk5crypto" to the Kerberos libs in src/config/Makefile.config=
, as I couldn't get the configure script to detect it properly.=C2=A0 I=
'm not sure if that's an issue with IBM's Kerberos implementati=
on, or
with the OpenAFS configure script...<br>
<br>
At a guess, you need to either make krb5-config return 32 bit libpaths<br>
first, or force your compiler and linker to be in 64 bit mode (e.g.<br>
xlc_r -Wc,lp64 -Wl,lp64, ld -b64, gcc -maix64). Otherwise, the<br>
configure tests throw errors which get sensed as the symbol not being<br>
detected instead of what they actually are.<br>
<br>
-- <br>
Daria Phoebe Brashear<br>
AuriStor, Inc<br>
<a href=3D"http://dariaphoebe.com" target=3D"_blank">dariaphoebe.com</a><br=
>
</div>
</span></font></div>
</div>
</blockquote></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" =
data-smartmail=3D"gmail_signature">--<br>Daria Phoebe Brashear<br>AuriStor,=
Inc.<br><a href=3D"http://dariaphoebe.com">dariaphoebe.com</a></div>
--0000000000005af8e005e83ff1cb--