Re: rust/ring Re: [package - main-i386-default][net/quiche] Failed for quiche-0.22.0 in build

From: Junho Choi <junho.choi_at_gmail.com>
Date: Thu, 25 Jul 2024 07:38:28 UTC
On Thu, Jul 25, 2024 at 3:52 PM Jaap Akkerhuis <jaapna@xs4all.nl> wrote:

>
>
> 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 = "x86", target_arch = "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: () =
>                 assert!(cfg!(target_feature = "sse") &&
> cfg!(target_feature = "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.

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