From nobody Sun Apr 07 00:08:41 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 4VBsyK58yCz5FfnZ; Sun, 7 Apr 2024 00:08:41 +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 4VBsyK4g8qz4tHd; Sun, 7 Apr 2024 00:08:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712448521; 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=pUMUFnfrYi3n+O3jlONwqgVoNEWaXLOgwZMk6PcjU5Y=; b=ADcQ9c8wSiqzxZi4qAhlxom+LOGWImVFWoKdr2FuulAR/nr0xttLVqlJEXxgj3EFs0+sbV oQpGXlAvc7ZCYDoeiI2/UY5g5MUmEiTqXWOyWTvS+Nk20T8Ep89IgDQKWKuDLSutxDf1i6 vAxuzVinZLVAA+n38qD10jul1ee6IQVlOZqa99DH2sPUtSSQklSou0cfyyck20MQ9JHkTQ 9GyiPKaKTHKzIto7wNxJeET2ZtUCytWv1k0EM0U1ctp6uGiGjZXj2ksZsrNVUxl3R3M514 bEIKDgv6dkaOXU0Xbgjt77pv+Y4vxwHG3wylT9Gwfg7O4O6aDgNGdrsniHuHig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712448521; a=rsa-sha256; cv=none; b=ypcMhTK2B1Bt6ysK4kEuo/d6O0oBx+Eyo//Tb0t90dv1bmTaR1qlgsePKZ4nzgBYe0OHrY g3CzyjWdFwUUuADy6WNT38se0jzZQWgot5MIlHTGhi5i6dSYRU8uTvTkcWqetghUtnlo/U e0K5xoXGER6ke8nH6uQN0tOud9zn/V0oXpSiX6lSyCaAn5ybnDdffes+FzmJfUkcSrNQqb bGMOP/eec3UxB7FbK1tKmW0FH1DOQiKCNOlo8Uvc8ZILpjY7JY/CM9osMynQG2rXO2VRI4 YTQt3KFYa1HScFbA+ejuwEFjxWp/8bz4lSpmZfV8IuCz6MiIPO2e2q8l0ArkpQ== 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=1712448521; 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=pUMUFnfrYi3n+O3jlONwqgVoNEWaXLOgwZMk6PcjU5Y=; b=KbDWaLYtIJcxM5WiIuWZiRewIc8iCTUmPh9S3WJOWu60dKDNFl9nVMEe9lEACYUDZGEbHB KSNzTD11dMeytez7b4tQcSDEtuWCxIe9yU9ReVYnikdgTgm6m8U4Gf3lLgHiSkUk21NDUw OiM5Gfl277uoHxmld8GbWeaiCNeyKOHl5lUEHti29KQpcIKlpHaCeN+oKL613OnSk1XEB5 EZLsuZQZit6AcM8ol3mruLtFC4bRccByrh40bRwcgMQXuBfZqd4n/Y89Kc6en2FwWFsqIw l3gCagF6sTlZUnfev0ecHGyOAcXezbiIDuk6ylHvZjlCCt11rv7LKbTmyCdCYw== 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 4VBsyK4GWJz14jH; Sun, 7 Apr 2024 00:08:41 +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 43708fKo019850; Sun, 7 Apr 2024 00:08:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43708fw0019847; Sun, 7 Apr 2024 00:08:41 GMT (envelope-from git) Date: Sun, 7 Apr 2024 00:08:41 GMT Message-Id: <202404070008.43708fw0019847@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: f4d93b67611f - main - 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/main X-Git-Reftype: branch X-Git-Commit: f4d93b67611f6f8b19db7bac6b0973b2ef0cfcb6 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=f4d93b67611f6f8b19db7bac6b0973b2ef0cfcb6 commit f4d93b67611f6f8b19db7bac6b0973b2ef0cfcb6 Author: Dimitry Andric AuthorDate: 2024-04-07 00:07:38 +0000 Commit: Dimitry Andric CommitDate: 2024-04-07 00:07:38 +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 --- 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 293a0ae1c0f9..0dd097eb3e0d 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*:N-fno-sanitize*}" -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