From nobody Sat Jul 20 21:35:02 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WRKZh3wZGz5QC5t for ; Sat, 20 Jul 2024 21:35:08 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from smtp-bc0f.mail.infomaniak.ch (smtp-bc0f.mail.infomaniak.ch [IPv6:2001:1600:7:10::bc0f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "relay.mail.infomaniak.ch", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRKZh0Nxxz54GK for ; Sat, 20 Jul 2024 21:35:08 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Authentication-Results: mx1.freebsd.org; none Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4WRKZZ3dC8z1BD8; Sat, 20 Jul 2024 23:35:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pyret.net; s=20231006; t=1721511302; bh=+24Rr1pXBz+JaGVaTiRzlJ6o2SOfVkmV9fiMNyQ42RQ=; h=Date:Subject:From:Reply-To:To:Cc:References:In-Reply-To:From; b=jMJiBq9D3CS9SRKkHUy2U2Y8QMMgZ0t2zgOaJsgJytsAOySFXmMjaoXz66nB9bKd3 zkIOQQ39WuOjQzs3h5G9claiX6OrR/9c3MfJRaDcu/8JFQI1voafcT3q8ibe5gFgej OXTLpS7VLLgqbLp/kj0k3i5VQfMLdUf6z6/yb18zr7CBWFprSAk4IddQmFQqbBoktk Q88WHwNhwuE9QbGG52JoyZrEIZUUO5v/VElZN58Y3kMOO41g5tfjsFqICxbw7lyItt wFqoU9pwA04EQxNDgHBoUdNuaL9Y+uhFNaiTltmiGVlBPzOy8ZxDoyKt4xGYVo2os8 5WQB50iYBnpow== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4WRKZZ0V1Jzfyf; Sat, 20 Jul 2024 23:35:02 +0200 (CEST) Message-ID: <4212939331127bcc9bc224d1b5c68d0f@mail.infomaniak.com> Date: Sat, 20 Jul 2024 23:35:02 +0200 Subject: Re: git: 7b0c8167940b - main - net/ntpd-rs: mark as broken on i386 From: Daniel Engberg Reply-To: Daniel Engberg To: "Sergey A. Osokin" Cc: Vladimir Druzenko , Jan Beich , =?utf-8?Q?Mika=C3=ABl?= Urankar , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_=_swift_1721511302_e512530c39fb211ffa1fd38890ec98b9_=_" X-WS-User-Origin: eyJpdiI6IkpxajZLd1pYekpXY0dQYnJsQklFeHc9PSIsInZhbHVlIjoiTUpsY3pUbHFDTytDNmNsUXZ1ai9zdz09IiwibWFjIjoiZjNhNWRkZDY1MGZkNDkyY2Y0MzcxMjRjNjA5ZDI0MTY2ZDc1MzdjNDAzODY0M2QxYTViNWE3Mjg4ODY1YmJjZiIsInRhZyI6IiJ9 X-WS-User-Mbox: eyJpdiI6Im5sSnovcS93QXJGTVBVUTJkVjcxclE9PSIsInZhbHVlIjoiZThOQ0NiaTk3REM3d1BHNkYxZHIvUT09IiwibWFjIjoiNjhiNDk4YjZmNTQzM2U0Yjk4NDk1MmM1Y2YyYTI5MGMzODM3ZjA4MTUzNjNiY2ExZmNmY2FkMGI1YTdmNjcyNyIsInRhZyI6IiJ9 X-WS-Location: eJxzKUpMKykGAAfpAmU- X-Mailer: Infomaniak Workspace (1.3.719) References: <202407201533.46KFXTm2012293@gitrepo.freebsd.org> <85723896-9eac-4377-b0d9-79911664eedf@FreeBSD.org> <7cdg-aq3y-wny@FreeBSD.org> <3316b5b4-8010-46ee-b5d5-c5d4e5a9294a@freebsd.org> In-Reply-To: X-Infomaniak-Routing: alpha X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29222, ipnet:2001:1600::/32, country:CH] X-Rspamd-Queue-Id: 4WRKZh0Nxxz54GK --_=_swift_1721511302_e512530c39fb211ffa1fd38890ec98b9_=_ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2024-07-20T21:40:02.000+02:00, Sergey A. Osokin wrot= e: >=C2=A0On=C2=A0Sat,=C2=A0Jul=C2=A020,=C2=A02024=C2=A0at=C2=A010:36:= 48PM=C2=A0+0300,=C2=A0Vladimir=C2=A0Druzenko=C2=A0wrote: >>=C2=A0=C2= =A020.07.2024=C2=A021:13,=C2=A0Jan=C2=A0Beich=C2=A0=D0=BF=D0=B8=D1=88=D0= =B5=D1=82: >>=C2=A0=C2=A0 >>>=C2=A0=C2=A0=C2=A0Mika=C3=ABl=C2=A0Urankar= =C2=A0=C2=A0writes: >>>=C2=A0=C2=A0=C2=A0 >>>>= =C2=A0=C2=A0=C2=A0=C2=A0On=C2=A07/20/24=C2=A017:43,=C2=A0Jan=C2=A0Beich= =C2=A0wrote: >>>>=C2=A0=C2=A0=C2=A0=C2=A0 >>>>>=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0Mikael=C2=A0Urankar=C2=A0=C2=A0writes: >>>>>= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >>>>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0+NOT_FOR_ARCHS=3D=C2=A0i386 >>>>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 >>>>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0+NOT_FOR_ARCHS_REASON= =3D=C2=A0the=C2=A0ring=C2=A0crate=C2=A0requires=C2=A0SSE2 >>>>>>=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0instruction=C2=A0on=C2=A0intel=C2=A0cpu >>>= >>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >>>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0Why=C2=A0not=C2=A0pass=C2=A0-C=C2=A0target-feature=3D+sse2=C2=A0like= =C2=A0games/jumpy >>>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0instead? >>>>= =C2=A0=C2=A0=C2=A0=C2=A0 >>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Per=C2=A0[1]= =C2=A0we=C2=A0are=C2=A0supposed=C2=A0to=C2=A0target=C2=A0Pentium=C2=A0Pro= =C2=A0/=C2=A0Pentium=C2=A0II >>>>=C2=A0=C2=A0=C2=A0=C2=A0(i686), >>>>= =C2=A0=C2=A0=C2=A0=C2=A0 >>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0sse2=C2=A0is= =C2=A0not=C2=A0available=C2=A0on=C2=A0these=C2=A0cpus.=C2=A0This=C2=A0is= =C2=A0enforced=C2=A0in=C2=A0our >>>>=C2=A0=C2=A0=C2=A0=C2=A0rust >>>>= =C2=A0=C2=A0=C2=A0=C2=A0 >>>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ports=C2=A0wit= h=C2=A0[2]. >=C2=A0 >=C2=A0Add=C2=A0my=C2=A0two=C2=A0cents.=C2=A0I've= =C2=A0added=C2=A0the=C2=A0following=C2=A0line=C2=A0to=C2=A0the >=C2=A0sec= urity/boringssl >=C2=A0 >=C2=A0CFLAGS_i386=3D=C2=A0-msse2 >=C2=A0 >= =C2=A0I=C2=A0do=C2=A0believe=C2=A0that's=C2=A0enough. >=C2=A0 >=C2= =A0Thank=C2=A0you. >=C2=A0 >=C2=A0--=C2=A0 >=C2=A0 >=C2=A0Sergey= =C2=A0A.=C2=A0Osokin Hi, Instead "abusing" C/CXX/*FLAGS utilize o= ur framework instead? https://cgit.freebsd.org/ports/tree/audio/libsid= playfp/Makefile#n51 This will also make builds fail if your target lac= ks said instructions. Best regards, Daniel --_=_swift_1721511302_e512530c39fb211ffa1fd38890ec98b9_=_ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 2024-07-20T21:40:02.000+02:00, Sergey A. Os= okin <osa@freebsd.org> wrote:


<= blockquote class=3D"ws-ng-quote">
O= n Sat, Jul 20, 2024 at 10:36:48PM +0300, Vladimir Druzenko wrote:
=
20.07.2024 21:13, Jan Beich =D0= =BF=D0=B8=D1=88=D0=B5=D1=82:
Mika=C3=ABl Urankar <mikael@FreeBSD.org> writes:

On 7/20/24 17:43, Jan Beich = wrote:

= Mikael Urankar <mikael@FreeBSD.org> writes:

<= blockquote class=3D"ws-ng-quote">
+NOT_FOR_ARCHS=3D i386
+NOT_FOR_ARCHS_REASON=3D the ring crate requires SSE2 instructio= n on intel cpu
Why not pass -C target-featu= re=3D+sse2 like games/jumpy instead?
Per [1]= we are supposed to target Pentium Pro / Pentium II (i686),
= sse2 is not available on these cpus. This is enforced in our rust
ports with [2].
<= div>
Add my two cents. I've added the following line to the= security/boringssl

CFLAGS_i386=3D -msse2

I do believe that's enough.

<= /div>
Thank you.

--
Sergey = A. Osokin
Hi,
<= div style=3D"font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; f= ont-size: 14px">
Instead "abusing" C/CXX/*FLAGS u= tilize our framework instead?



--_=_swift_1721511302_e512530c39fb211ffa1fd38890ec98b9_=_--