From nobody Sat Apr 20 10:34:46 2024 X-Original-To: dev-commits-src-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 4VM7Dl0Q6pz5HW1L; Sat, 20 Apr 2024 10:34:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VM7Dk4fVNz4TGd; Sat, 20 Apr 2024 10:34:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713609286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hhejDw/5ylgQk/gmUmaulv0/oXFlYDIo9apL9YZXYyM=; b=tCM6I6m/MyosYwEl9RhUUcizLKa16vn3ZDY7YIrw533nKapudvM/VsorX+UhLbuU/6FRLF NoniZ1QtaqhiUJnkAuzI4rkLHonPumHUwFQNTt4OY6zJtEL7v7KajmH7q8lEuyS9T1CMcT u5eVOKS161V0wCbPMz/tBYwV/GKc+HO2Zm//MwTnZSRFlJTNYJ8jiQkSJEwqXrGSiHRN0J GOWHI+aFNUScNFKBQQtbFJBzbgM0Vbk9WkFrd+JLdJla5Q8neASSXbJsHyO3EVft6xHu/X EgiUz/N37hdyCbm+Excu7egQYUYJr8RVYh8SAf9N8tu3EeO83uZZUhBgbkYaPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713609286; a=rsa-sha256; cv=none; b=xbhfdat3Cu04FDG4kEBX4xal3nYr+VfevoSDnonJaSzk9NdmHK2/cK06qMLqdYS4R9Ymyl uzId0N1CBuTxPryzgjgp0llf7LMNU4u3uQed9w7UEzW1TsyI8HJ70/FaY0ytzCJxzdPTTE j0uX+eTo3ZF5qBxkKpPJMgWL+1cUd7nDCEvbFCT7rvP4A3jxQuzW4XvjoeJkD/+XIQpEEv t3jVmiR3PU+VdWXmQrda3iKALGtKs+2T+tbXKvsOVFUZS+twEesLaf+hikBjJmOpORjpwu 7ImaYP0LBqgrt/X4uQSGAczlFE/TLxoW/ivz+Qfi9X4MJ62DuZYFvKdQWzNDqw== 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=1713609286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hhejDw/5ylgQk/gmUmaulv0/oXFlYDIo9apL9YZXYyM=; b=YLGR21TcTVW8W6m70bvTNp8yUIxVHHpQ7NRX6SEwHYPnuCvFl2ngQfW7+0aDUBslUxqk1Z lCh0RXXtkjmx8/C352xk7p4zNOpy9RvJIiA3hbYrO3J6fsYcSaGpHtr3mMdCymvm0yX4sY BseUKQ5j9P/1kyxDHz2KWcTS5VWeRxkzNcQVwckAbrWOjCMqGEAa4xKlgjVJNd1xuUPqkZ HilTCnsCJUVKtIS2dFQRqDAJwMKpKI8vyvNEvb2urW5Og7kc9s+HvhqPNXhK2LjLohvHDU ICzHPHA8NFRYJHWFS93NgH9/cmgzhPnw8UvBEsEW7PvLo86Hzl8Skiwr4UHIlw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VM7Dk3znPzYnD; Sat, 20 Apr 2024 10:34:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43KAYkbS014234; Sat, 20 Apr 2024 10:34:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43KAYkh6014231; Sat, 20 Apr 2024 10:34:46 GMT (envelope-from git) Date: Sat, 20 Apr 2024 10:34:46 GMT Message-Id: <202404201034.43KAYkh6014231@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 7b86b92ec1bd - stable/13 - Fix arm64 build after llvm 18.1.3 upgrade List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7b86b92ec1bdfad552ece3eaa28bd8d28dff9a82 Auto-Submitted: auto-generated The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=7b86b92ec1bdfad552ece3eaa28bd8d28dff9a82 commit 7b86b92ec1bdfad552ece3eaa28bd8d28dff9a82 Author: Dimitry Andric AuthorDate: 2024-04-07 00:07:38 +0000 Commit: Dimitry Andric CommitDate: 2024-04-20 10:29:09 +0000 Fix arm64 build after llvm 18.1.3 upgrade Apparently clang 18 has become more strict about using floating point registers in inline assembly when -mgeneral-regs-only is used. This causes sys/arm64/arm64/vfp.c to fail to compile, with "error: instruction requires: fp-armv8", and "error: expected readable system register". To fix it, similar to other files compiled for arm64, disable -mgeneral-regs-only for this particular file. PR: 276104 MFC after: 1 month (cherry picked from commit f4d93b67611f6f8b19db7bac6b0973b2ef0cfcb6) --- sys/conf/files.arm64 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index bb593a8f9a01..f72f5718ac19 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -76,7 +76,8 @@ arm64/arm64/uio_machdep.c standard arm64/arm64/uma_machdep.c standard arm64/arm64/undefined.c standard arm64/arm64/unwind.c optional ddb | kdtrace_hooks | stack -arm64/arm64/vfp.c standard +arm64/arm64/vfp.c standard \ + compile-with "${NORMAL_C:N-mgeneral-regs-only}" arm64/arm64/vm_machdep.c standard arm64/coresight/coresight.c standard