From nobody Mon Jul 15 12:38:36 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 4WN1vw60pGz5Qrrg; Mon, 15 Jul 2024 12:38:36 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WN1vw2QXgz4J78; Mon, 15 Jul 2024 12:38:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047116; 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=u8BCf2pLLAm/2Vp+6/7ZQNgP2+EmPJWXJfcwcVD9qnA=; b=dPlnOhByGqf/xTgBEmjJsxnd6SRlt7G4U3E+OOWAGvoGrv5+uTEsy5dKnVnS8QHDZQ+Jze bWixq01XIAk4NtKg966v2y62QV7qZfkw7oR546RNk5qpK2+2cfQ79bQWQBFPaJNYTpJF7t xmbJ81Qxy8K9185bHJ7tS+5vKbsjLjdSKBM/8VAGC7EclySI4BSfmauUDu6cohGpjyVehG QhnGNxRrRz3zLFnMi3I0m4H7vx5OynUTUfXxqctsc0hFWnyup1Fc6lStWd6jottjMXZ+Bk UqCQGnYkCnA8jSKPgZvROfkbShKKri9BuLSqdssxXIX/o0enX3ZtKxqxsl3kkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047116; a=rsa-sha256; cv=none; b=cT7q3Ja417A2YHHElrFOwNiq162BLjmPm5hpy3Ljj+pxfk8WJ1tX1iIiUOyhsUutlBrkXi AWtj6sAf78YDnoY1IcaNNaW+wt8i5XIwiFJOqvp1x04+omxDqHU0ndJ6LaGMmyYN9eEenL r5llTES3xzvUQOP/ERrTCPfjS0GTocjxCk3RIOH3oOwxsfNo91PkYxkhtGFlyyvcFpYUXN p4VbfAYVsNu8Q1WqjpGDDBXuhareUCicea+gVhLhSxBtQUTiBm+ljuaQcsGYqUwtm7Ztyo awDLVO5fmPypArFIMeNs6nRmDytHUFcRrE6nFl7drqIgXhvQEu+SkTeEdyeFOQ== 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=1721047116; 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=u8BCf2pLLAm/2Vp+6/7ZQNgP2+EmPJWXJfcwcVD9qnA=; b=FPFqMfugbisFUaINw7NMiYJpIrVKwYqx+JJgsayBUS71B+YBhvkQLjJdXH1JiyPA7Vosqe X8YDLwiYlVJ18TPfMLmjpHxGi/iCK70jyaJgTKYgo96fW3MAgAQNsgRrD3BZdF+mikvyRz 68ZmJUhTVB9uqIDaNnLQ1Og77rjANjZ7kKZteLxmuEjI+g2LwJbY8oulSBEs8YQZWUtRrw MczXk6/o6JvuxhIozf+pCo8tJWCRnRErtuvxy45GnJSqaAVUKg3SEqmbJsUuaW+pZA6frK dJ7AjMzPIIYmJ3A00nrWbpEAXXp8wG9ArGHUK0PAyENqrzT5bosP/EEcP2RAtA== 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 4WN1vw22xnzsZJ; Mon, 15 Jul 2024 12:38:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46FCcaF9062150; Mon, 15 Jul 2024 12:38:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCcak6062147; Mon, 15 Jul 2024 12:38:36 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:38:36 GMT Message-Id: <202407151238.46FCcak6062147@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: 5b1f4e679dea - stable/14 - arm64: Disable outling atomics 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 5b1f4e679dea004ad4a47b408b7b7d27575da90e Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=5b1f4e679dea004ad4a47b408b7b7d27575da90e commit 5b1f4e679dea004ad4a47b408b7b7d27575da90e Author: Andrew Turner AuthorDate: 2024-06-04 12:45:00 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:30:02 +0000 arm64: Disable outling atomics We don't have the symbols for this. The virtio randon number driver uses a C11 atomic operation. With inline atomics this is translated to an Armv8.0 atomic operation, with outling atomics this becomes a function call to a handler. As we don't have the needed function the kernel fails to link. Fix by disabling outline atomics for now. Reviewed by: brooks, imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45301 (cherry picked from commit 361da40536d7f6fc6c06d54b261c299d170ccf2f) --- sys/conf/kern.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 6cc22a44f51e..38d0664538ea 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -141,6 +141,8 @@ INLINE_LIMIT?= 8000 CFLAGS += -mgeneral-regs-only # Reserve x18 for pcpu data CFLAGS += -ffixed-x18 +# TODO: support outline atomics +CFLAGS += -mno-outline-atomics INLINE_LIMIT?= 8000 .endif