Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2024 16:38:28 +0900
From:      Junho Choi <junho.choi@gmail.com>
To:        Jaap Akkerhuis <jaapna@xs4all.nl>
Cc:        LuMiWa via freebsd-ports <freebsd-ports@freebsd.org>, pkg-fallout@freebsd.org
Subject:   Re: rust/ring Re: [package - main-i386-default][net/quiche] Failed for quiche-0.22.0 in build
Message-ID:  <CAJ5e%2BHBQ05b3Asady57RgQyCUMCNLhy1=bEd-fWfFds3ZUXYMg@mail.gmail.com>
In-Reply-To: <1FB4A080-AFD9-46AD-8A70-943E9294B6A7@xs4all.nl>
References:  <66a13a6a.2152.70ba523a@beefy17.nyi.freebsd.org> <CAJ5e%2BHDQ2mEaNHKZDMDf=y266JsmAikr1ywLp7w_7MgawxWtgQ@mail.gmail.com> <1FB4A080-AFD9-46AD-8A70-943E9294B6A7@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000543736061e0d7de1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 25, 2024 at 3:52=E2=80=AFPM Jaap Akkerhuis <jaapna@xs4all.nl> w=
rote:

>
>
> On 25 Jul 2024, at 05:21, Junho Choi <junho.choi@gmail.com> wrote:
>
> I got a build failure log of a recently updated port (net/quiche-0.22.0).
>
> Looks like this is a dependency (ring) issue and already reported
> https://github.com/briansmith/ring/issues/1999
>
>
> Seems a known problem. ring-0.17.8/src/cpu/intel.rs says:
>
>        ...
>         ...
>         #[cfg(any(target_arch =3D "x86", target_arch =3D "x86_64"))]
>         mod abi_assumptions {
>             // TOOD: Support targets that do not have SSE and SSE2
> enabled, such as
>             // x86_64-unknown-linux-none. See
>             //
> https://github.com/briansmith/ring/issues/1793#issuecomment-1793243725,
>             // https://github.com/briansmith/ring/issues/1832,
>             // https://github.com/briansmith/ring/issues/1833.
>             const _ASSUMES_SSE2: () =3D
>                 assert!(cfg!(target_feature =3D "sse") &&
> cfg!(target_feature =3D "sse2"));
>         ...
>         ...
>
>   jaap
>
>
Right. Author's comment here
https://github.com/briansmith/ring/issues/1999#issuecomment-2151011318
Looks like some amount of work is required to support i386 CPUs with
non-SSE.

--=20
Junho Choi <junho dot choi at gmail.com> | https://saturnsoft.net

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

<div dir=3D"ltr"><div dir=3D"ltr"></div><br><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Thu, Jul 25, 2024 at 3:52=E2=80=AFPM J=
aap Akkerhuis &lt;<a href=3D"mailto:jaapna@xs4all.nl">jaapna@xs4all.nl</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>=
<br id=3D"m_-8658351259488449537lineBreakAtBeginningOfMessage"><div><br><bl=
ockquote type=3D"cite"><div>On 25 Jul 2024, at 05:21, Junho Choi &lt;<a hre=
f=3D"mailto:junho.choi@gmail.com" target=3D"_blank">junho.choi@gmail.com</a=
>&gt; wrote:</div><br><div><div dir=3D"ltr"><div dir=3D"ltr"><div>I got a b=
uild failure log of a recently updated port (net/quiche-0.22.0).</div><div>=
<br></div><div>Looks like this is a dependency (ring) issue and already rep=
orted <a href=3D"https://github.com/briansmith/ring/issues/1999" target=3D"=
_blank">https://github.com/briansmith/ring/issues/1999</a></div><div><br></=
div></div></div></div></blockquote><br></div><div>Seems a known problem.=C2=
=A0ring-0.17.8/src/cpu/<a href=3D"http://intel.rs" target=3D"_blank">intel.=
rs</a> says:</div><div><br></div><div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0...</=
div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ...</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 #[cfg(any(target_arch =3D &quot;x86&quot;, target_arch =3D &quot;x86_64=
&quot;))]</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 mod abi_assumptions {</div>=
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 // TOOD: Support targets tha=
t do not have SSE and SSE2 enabled, such as</div><div>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 // x86_64-unknown-linux-none. See</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 // <a href=3D"https://github.com/briansmith=
/ring/issues/1793#issuecomment-1793243725" target=3D"_blank">https://github=
.com/briansmith/ring/issues/1793#issuecomment-1793243725</a>,</div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 // <a href=3D"https://github.com/bri=
ansmith/ring/issues/1832" target=3D"_blank">https://github.com/briansmith/r=
ing/issues/1832</a>,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 //=
 <a href=3D"https://github.com/briansmith/ring/issues/1833" target=3D"_blan=
k">https://github.com/briansmith/ring/issues/1833</a>.</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 const _ASSUMES_SSE2: () =3D</div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 assert!(cfg!(target_fe=
ature =3D &quot;sse&quot;) &amp;&amp; cfg!(target_feature =3D &quot;sse2&qu=
ot;));</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ...</div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 ...</div><div><br></div><div>=C2=A0 jaap</div></div><br></div=
></blockquote></div><div><br></div><div>Right. Author&#39;s comment here <a=
 href=3D"https://github.com/briansmith/ring/issues/1999#issuecomment-215101=
1318">https://github.com/briansmith/ring/issues/1999#issuecomment-215101131=
8</a></div><div>Looks like some amount of work is required to support i386 =
CPUs with non-SSE.<br></div><br><span class=3D"gmail_signature_prefix">-- <=
/span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div>=
<div dir=3D"ltr">Junho Choi &lt;junho dot choi at <a href=3D"http://gmail.c=
om" target=3D"_blank">gmail.com</a>&gt; | <a href=3D"https://saturnsoft.net=
" target=3D"_blank">https://saturnsoft.net</a><br></div></div></div></div><=
/div>

--000000000000543736061e0d7de1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5e%2BHBQ05b3Asady57RgQyCUMCNLhy1=bEd-fWfFds3ZUXYMg>