[OpenAFS-devel] Clang (Open XL C 17.1+) on AIX
Jeffrey Altman
jaltman@auristor.com
Sat, 30 Nov 2024 21:43:03 -0500
--Apple-Mail=_6D7A0644-75BD-4BC5-B7D4-91A7B37D9257
Content-Type: multipart/alternative;
boundary="Apple-Mail=_79C6052A-83B6-4359-9F39-4DC8DF3ED2AC"
--Apple-Mail=_79C6052A-83B6-4359-9F39-4DC8DF3ED2AC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
> On Nov 30, 2024, at 5:52=E2=80=AFPM, Ben Huntsman <ben@huntsmans.net> =
wrote:
>=20
> In file included from =
/home/build/openafs/src/external/heimdal/hcrypto/sha256.c:34:
> In file included from =
/home/build/openafs/src/crypto/hcrypto/kernel/config.h:30:
> In file included from /home/build/openafs/src/afs/sysincludes.h:276:
> ../sys/socketvar.h:158:57: error: array has incomplete element type =
'struct free_sock_hash_bucket'
> extern struct free_sock_hash_bucket free_sock_hash_table[];
> ^
> ../sys/socketvar.h:158:15: note: forward declaration of 'struct =
free_sock_hash_bucket'
> extern struct free_sock_hash_bucket free_sock_hash_table[];
> ^
>=20
> Unfortunately sys/socketvar.h is an AIX-supplied header file, so we =
can't change it. I could open a bug report with IBM but even if they =
fix it in the future we still need to deal with this situation for this =
version.
>=20
Where is struct free_sock_hash_bucket declared?
--Apple-Mail=_79C6052A-83B6-4359-9F39-4DC8DF3ED2AC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;"><br><div><blockquote type=3D"cite"><div>On Nov 30, =
2024, at 5:52=E2=80=AFPM, Ben Huntsman <ben@huntsmans.net> =
wrote:</div><div><div class=3D"elementToProof" style=3D"font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; font-family: Aptos, Aptos_EmbeddedFont, =
Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: =
12pt;"><br></div><div class=3D"elementToProof" style=3D"font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; text-align: left; background-color: rgb(255, 255, 255); margin: =
0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt;">In file included from =
/home/build/openafs/src/external/heimdal/hcrypto/sha256.c:34:</div><div =
class=3D"elementToProof" style=3D"font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; text-align: left; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: Aptos, =
Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; =
font-size: 12pt;">In file included from =
/home/build/openafs/src/crypto/hcrypto/kernel/config.h:30:</div><div =
class=3D"elementToProof" style=3D"font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; text-align: left; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: Aptos, =
Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; =
font-size: 12pt;">In file included from =
/home/build/openafs/src/afs/sysincludes.h:276:</div><div =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
400; letter-spacing: normal; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; text-align: left; background-color: rgb(255, 255, =
255); margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, =
Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: =
12pt;">../sys/socketvar.h:158:57: error: array has incomplete element =
type 'struct free_sock_hash_bucket'</div><div style=3D"font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; text-align: left; background-color: rgb(255, 255, 255); margin: =
0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt;">extern struct =
free_sock_hash_bucket free_sock_hash_table[];</div><div =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
400; letter-spacing: normal; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; text-align: left; background-color: rgb(255, 255, =
255); margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, =
Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: =
12pt;"> =
=
=
^</div><div style=3D"font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; text-align: left; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: Aptos, =
Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; =
font-size: 12pt;">../sys/socketvar.h:158:15: note: forward declaration =
of 'struct free_sock_hash_bucket'</div><div style=3D"font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; text-align: left; background-color: rgb(255, 255, 255); margin: =
0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt;">extern struct =
free_sock_hash_bucket free_sock_hash_table[];</div><div =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
400; letter-spacing: normal; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; text-align: left; background-color: rgb(255, 255, =
255); margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, =
Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: =
12pt;"> ^</div><div =
class=3D"elementToProof" style=3D"font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt;"><br></div><div =
class=3D"elementToProof" style=3D"font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt;"> =
Unfortunately sys/socketvar.h is an AIX-supplied header file, so =
we can't change it. I could open a bug report with IBM but even if =
they fix it in the future we still need to deal with this situation for =
this version.</div><div class=3D"elementToProof" style=3D"font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; font-family: Aptos, Aptos_EmbeddedFont, =
Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: =
12pt;"><br></div></div></blockquote><br></div><div>Where is struct =
free_sock_hash_bucket declared?</div><div><br></div></body></html>=
--Apple-Mail=_79C6052A-83B6-4359-9F39-4DC8DF3ED2AC--
--Apple-Mail=_6D7A0644-75BD-4BC5-B7D4-91A7B37D9257
Content-Disposition: attachment;
filename=smime.p7s
Content-Type: application/pkcs7-signature;
name=smime.p7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