From nobody Mon Jul 15 12:38:31 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 4WN1vr48mpz5QrkH; Mon, 15 Jul 2024 12:38:32 +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 4WN1vr12Qsz4J1S; Mon, 15 Jul 2024 12:38:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047112; 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=qEQ0Xqc6XXy+RLgw3NMXAL4pwXjoYZqIYuVlesdmcuY=; b=WhYNPmKoiqOLuUllhn8ny4PRtbO34MsL/kUndKb0gQcxl4lDCvcvdezcXBzq6PnkM1/VGZ yScNl+GPJA7VP5nKoLlfTwA94b9IENx8JoeHp1iuwhh+deO0PPQNBWhBrxk5MGEqDPX26w Arpr/OXeTdViYALezxpOAl/EW5AYu7IjR17DvHhgaqvSsNd2O0LU12paDbYvnet/CoCAIP CIxpUcLMKqsO4/hiDETyKWITKHTHZQhjWl09i8gEtvdEcotuBHMgPt6m1DiyjZRVAiei+e h2Q/Cq+bnge8GjIrB02jIgDse4KuxekVhwsnB7z/VccoSUAxGDd2QKUnLJPOLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047112; a=rsa-sha256; cv=none; b=n1ZPtk6wN+7Ex5C/msCWI1JIscfbNDce+KDGCr+ms6ZEAcvjum3+ovx1nOLaZ5aM4uZVzM nuWekfVcKstpOsKJiMjhdexkxan+VqEDlp8GwwhNk5CBcREj+TRH4uQtQzrv3SHER3ub+X a4IZ61aCphsZs9Qc0/UVlSi0rj+Ych0INdSgGlA0zRb8g6sy1bGguN206y2J1rIO6tWsuH 9d3gxGMylISchUL+YA6vlEHpyJKYna2rU5iq3k7enwW9niqufYPlE+6mAkr2+jH8SUpW18 J0XOer8sLWlGKBaVQklsXEKT57b2k2AYIJb5120BMykwAiulP6TF50Ky/jVmmg== 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=1721047112; 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=qEQ0Xqc6XXy+RLgw3NMXAL4pwXjoYZqIYuVlesdmcuY=; b=kZ/jDDDo8zMmBAEEqV7nfPN4aEED5DfrIIY8MQIIAaYKb5BeOU37r4vwSqATd1SBm3B2kG 0GZexzl21QS0o/yjuqsIzKe3xcbfN0NMXe8xP365KkaIqwTxM1a0HjlySnYSH81WO6QevA dVpLTSrbPlIQ5z6PfrydYDugQSBHbP7F45kO5SRt/b/1CmEmdzbQDSWE8xFPPHl4/hVPf/ XTzNQVMgRIwxipXpsRkprcKcVQuArqKrghNaikunkrvy0Dkg7gFqhiurLWmccR+90uxsr6 N/x5kQMSI/FW7d0ortKgp1KriXOgoHpAVfLn4Thb++dEF/rnJpaW5CTzAOnVyg== 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 4WN1vr0fcGzspG; Mon, 15 Jul 2024 12:38:32 +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 46FCcV4k061824; Mon, 15 Jul 2024 12:38:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCcVuZ061821; Mon, 15 Jul 2024 12:38:31 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:38:31 GMT Message-Id: <202407151238.46FCcVuZ061821@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: 41c730459831 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 41c730459831e31e0233097bab8ae68580a68f3e Auto-Submitted: auto-generated The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=41c730459831e31e0233097bab8ae68580a68f3e commit 41c730459831e31e0233097bab8ae68580a68f3e Author: Andrew Turner AuthorDate: 2024-06-04 12:45:00 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:34:54 +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 b4ae8b17e90e..7a2cc4bfa7ff 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -152,6 +152,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