From nobody Sat Jul 20 18:13:37 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 4WRF6D194Wz5S5DP; Sat, 20 Jul 2024 18:13:40 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRF6D0ZVGz4ff5; Sat, 20 Jul 2024 18:13:40 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721499220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H1zeW/Q5PQSf+Pb3sWlq0+e9DSsmHlynujOKdXPh5NU=; b=NE+mYqITX0ns3zbviwoyRTjr1CXuabtXn4UWDEYMeHGo6YkI4lX8YXIqSml9doE0ipVYe+ QW2lZPVE3ILe9FlbGKbY6JWKga7YaqIWvyMYrNHIa6/JY19jrCn34OqfuVm0vQ8ZcO34HQ PJjB7ElXBif3YW5gJwNB6liP5yQuyiviQ7wVxMw8G89zRFa8StfUlJAvkLR83E/nItdLpU jDU3bj1gToWWaEA6HNbdJGxVviDWnbO5ZV3nLhjb/m0+P6M8fJUNOJIMG0Nza3azWCTBRf q14tmcP09VRTaZsUfluD90oP/1zAa9x7Cl+KBcx+15tHUsDQvonAmNF6Eo80WA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721499220; a=rsa-sha256; cv=none; b=Amr/HE4u4e2Q0lwQcERWDmL2SnIWbgDfOVFOusLuwjr3kHWhMKXAnkE+UpiMpa+vewQYNZ u8DbYZuo2AkoBCyCokQzTpMoMMDwBdWslXk934/smuFAq0j0gCf5VheAe2awaFbnTSIqEc sgJ/HyBsW5X4a7LtGknBTcjPU77HJHfpdjV5MMkZGm/s4obwlEOrJwyqdAir7EHfS6241r avFdPp32Q5Kfe68ch0xFHSuoPnjC0+HX07ZmWk01KikY//mJBOG99ag3rq9Tx/ufqx4Wb9 6mu/gtxRe4r6hqjZl/wymkd4x0ChuIbPQ6j4OQh4XfCg8aHuFoR4r3qxR6QUkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721499220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H1zeW/Q5PQSf+Pb3sWlq0+e9DSsmHlynujOKdXPh5NU=; b=mO9JsRXcab5DfuResKYfoLzG2e+CvVKFeEjFIrAw1nuVSoX/g3jjuuWIAWX9lmv8gFWnsU gWZi0vlBEBUM/Mhz+NAiWljm2NcRfRfqU6yT83Dg/Ueykn9wUJ0DpJ2L2u3MNrD/HaLNVq v8MjjycoN5FIHzb9MuaPZpxT18sLhOhK/EX5zkS+dy5m+9aOi3vBAL2opFOv/n5OjadqfN lBAW15/iXS4bijhaIsET34hlH4BRLrtVXb3vdSBGkzJlbMDY6yUD/C55IyqBDzEL1Ueo+7 J7llbPIOGran1UiABoLfgdLdJj6yGDaZWVbTfj7wTIjmxJQVaHfxP07u6utmmg== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 0267810C13; Sat, 20 Jul 2024 18:13:39 +0000 (UTC) From: Jan Beich To: =?utf-8?Q?Mika=C3=ABl?= Urankar Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 7b0c8167940b - main - net/ntpd-rs: mark as broken on i386 In-Reply-To: <85723896-9eac-4377-b0d9-79911664eedf@FreeBSD.org> (=?utf-8?Q?=22Mika=C3=ABl?= Urankar"'s message of "Sat, 20 Jul 2024 18:48:44 +0200") References: <202407201533.46KFXTm2012293@gitrepo.freebsd.org> <85723896-9eac-4377-b0d9-79911664eedf@FreeBSD.org> Date: Sat, 20 Jul 2024 20:13:37 +0200 Message-ID: <7cdg-aq3y-wny@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: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mika=C3=ABl Urankar writes: > On 7/20/24 17:43, Jan Beich wrote: > >> Mikael Urankar writes: >> >>> +NOT_FOR_ARCHS=3D i386 >>> +NOT_FOR_ARCHS_REASON=3D the ring crate requires SSE2 instruction on in= tel cpu >> Why not pass -C target-feature=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]. > > [1] https://www.freebsd.org/platforms/i386/ > [2] > https://github.com/freebsd/freebsd-ports/blob/main/lang/rust/files/patch-= compiler_rustc__target_src_spec_targets_i686__unknown__freebsd.rs In general, I agree. For leaf ports we can make exceptions. Instead of a missing package i386 users get a package which works on a subset of CPUs. FreeBSD dropped i386 decades ago, used to target i486 but due to Clang atomics had to bump the requirement to i686. Rust forced i686 even earlier. Between pentiumpro (i686) and pentium4 there're 2 CPU generations. And between pentium4 and penryn there're 2 CPU generations. i386 isn't unique. Many amd64 packages require CMPXCHG16B and some require SSSE3, SSE4 and even AVX2. Modern projects may give up on old x86-64 CPUs either due to lack of interest or to prioritize real-time performance (e.g., console emulators).