git: 614644e616ca - main - Framework: Switch LINUX_DEFAULT to rl9 for all arches except i386

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 09 Apr 2025 10:31:42 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=614644e616caf7f4893a1e358bb75fda9aebca13

commit 614644e616caf7f4893a1e358bb75fda9aebca13
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-04-02 05:32:55 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-04-09 10:30:50 +0000

    Framework: Switch LINUX_DEFAULT to rl9 for all arches except i386
    
    Differential Revision: https://reviews.freebsd.org/D49632
    Approved by:    portmgr (bapt)
---
 Mk/bsd.default-versions.mk |  4 ++++
 UPDATING                   | 13 +++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index bac02f9ab86a..fcd3db1a94e0 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -88,7 +88,11 @@ LIBRSVG2_DEFAULT?=	rust
 LIBRSVG2_DEFAULT?=	legacy
 .  endif
 # Possible values: c7 rl9
+.  if ${ARCH:Mi386}
 LINUX_DEFAULT?=		c7
+.  else
+LINUX_DEFAULT?=		rl9
+.  endif
 # Possible values: 11, 12, 13, 14, 15, 16, 17, 18, 19, -devel (to be used when non-base compiler is required)
 LLVM_DEFAULT?=		19
 # Possible values: 5.1, 5.2, 5.3, 5.4
diff --git a/UPDATING b/UPDATING
index 9e398da95db7..d2b724debb7c 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,19 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20250408:
+  AFFECTS: users of linux_base-c7 and any Linux application in Ports
+  AUTHOR: arrowd@FreeBSD.org
+
+  LINUX_DEFAULT was switched to "rl9" which correspons to the Rocky Linux 9 base.
+  All architectures except i386 are affected. To stay on the old base add
+  DEFAULT_VERSIONS=linux=c7 to your /etc/make.conf
+
+  Note that some older amd64 hardware (pre-Nehalem) might not support the
+  instruction set that is targeted by Rocky Linux builders. If you're getting
+  SIGILL crashes when running Linux apps consider switching LINUX_DEFAULT back
+  to "c7".
+
 20250404:
   AFFECTS: users of jetbrains-clion
   AUTHOR: fernape@FreeBSD.org