From nobody Sat Apr 20 10:32:40 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 4VM7BJ5vF6z5HVtr; Sat, 20 Apr 2024 10:32:40 +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 4VM7BJ3ZwLz4Prd; Sat, 20 Apr 2024 10:32:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713609160; 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=T20lPtZR3SY4sbalWpyzX8eEz7s5H/g6Fv1GgIk+8Kk=; b=iRhiv0ve54OHV0NgzQhbDAhIGcF20YbCUbyCfGylV8PvJGDJiPPvYyf0JFqqMwefa0VOAw nyvQZoZTE2St9znlmwh1BlMqUqhwqBbzgHG6UaDV+lz0IO+5xMwsEO6rixLvZ40PjxQHyp NgH8Oti7FMuuBgao2s2ueuojINsEbnAzRe5Wbi2xnnrhmJu+0Ppx9W0LEAK0NgJmuADMLw +zWRCVau3Qf1XBQLRZ4rCwd75lD73sAYpeg9JQbf4kW8Z1MOtW3kSEmcLsWCXlfoOMTB/u 3o6M9Fek5gEPq63Ad6fb4ryNDxt2VTWJ3rcqswIv1xw025TED0OQjinXR7HISQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713609160; a=rsa-sha256; cv=none; b=MhK9dwUvX0KAIWMYhoy5YGZbIN5rkZZFq5laYd4JFdR5LIG8otnm6/sQGnBKtYqQBmBVEb E++9ZubfQmgagf7CW79NT+BDfTPRdPELSS/awYeX8DdxP1ek5fpP32QD1lHZGcUywnfMqi ePqD/jj7Sna6OrQ3eFpV8x4aqwrkv1DbFB8wajBWzPewzbvMLladMx7sdOv5ZDGM3W89kH MiJSaGjDyy3IoXanR6pKqWWi55FBXpH85MRa91Jb5Ar8mz6qvtIyo30KvlR+TQgqSQQ3Qj 0090Mle/UPKeg4wOIr5hfG9E3qQU+YRokLlENk4CH3Ru/OKi5Zbd8k+EH6Ltjg== 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=1713609160; 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=T20lPtZR3SY4sbalWpyzX8eEz7s5H/g6Fv1GgIk+8Kk=; b=loEU5taIda7G9C8C0wRWpWZ5IAkbaCh68az43cdVt87lSjqGTki3P3fzZ1Dj88b3pplFfo LYooDMIVCf7hNAWZpvH90bPXNgFnaWgU0P2QKqLslaG0SYFX6tU0KtOvAkX9XHl0SEBrmr c+FKTtHYC27mvE49zFosbeDhhVOax/Oc+kpyEb434MTPF526C+P6PL/hMoX5Ihh7QMlkev 6Gr2WerFBpCk/paeveO/zuSF0g+87hCFK4y6aR1KmEOT2IvBTKq7TvVnaNN5aMfysrs57W GaQvNqprwgVuw90v6GFkbxvkfunAlwZhpgrFFaYQLV4Yje1DBp+ALjyfhsVQnA== 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 4VM7BJ2HQWzYhM; Sat, 20 Apr 2024 10:32:40 +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 43KAWevZ011576; Sat, 20 Apr 2024 10:32:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43KAWejo011573; Sat, 20 Apr 2024 10:32:40 GMT (envelope-from git) Date: Sat, 20 Apr 2024 10:32:40 GMT Message-Id: <202404201032.43KAWejo011573@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: c7c33b213a8a - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: c7c33b213a8a7f3203015809def9ae25fa77d8d1 Auto-Submitted: auto-generated The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=c7c33b213a8a7f3203015809def9ae25fa77d8d1 commit c7c33b213a8a7f3203015809def9ae25fa77d8d1 Author: Dimitry Andric AuthorDate: 2024-04-07 00:07:38 +0000 Commit: Dimitry Andric CommitDate: 2024-04-20 10:03:24 +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 218571d0e23a..b142999ec659 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -82,7 +82,8 @@ arm64/arm64/uma_machdep.c standard arm64/arm64/undefined.c standard arm64/arm64/unwind.c optional ddb | kdtrace_hooks | stack \ compile-with "${NORMAL_C:N-fsanitize*}" -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