From nobody Wed Jun 05 09:29:11 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 4VvMbq6bgkz5MJRh; Wed, 05 Jun 2024 09:29:11 +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 4VvMbq5m1hz4RZQ; Wed, 5 Jun 2024 09:29:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717579751; 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=w/VBgXBfnIoZecyIHDEoFWVonA5hWgc2say8E+FgEgk=; b=pNx/jej8f92locwM0XxaLqpr3AdGuJLLa6GsndNJundcN4K9YaFjF2wHw+MyC3xa/S2GOS 2lnEXqX+IteGCHqKdXrH2vec+iDiKtHkuCt1dojQx4FHc8XCjy39QbugOM6hiI5sUvdNZd o2Dgxu6rUju6sxitaaqf8RwrvQicR+w1a3QRqjLq9KKCTQHNBR18RgJ/i0b0PC0wbdK/I1 2h+dRLoFAycCJw4snEznUztYJ83nVDBS1Kl0I6t1gFAs56fTnapKEHvgMmBJxcEq1fa4T+ shqrgHKbgjdKec+8ZWoKRtzonaOEZ+6y+yCFNjc+qAaSwIM25Bx0O1zhuEKoYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717579751; a=rsa-sha256; cv=none; b=Rkrd5TCq0xOdDJUNHPtZlTpltxxCgmnaPSKMnMKxaU9MOMxGeoaBkFygi3geBPvKvqG853 FcR4QmsULMa8l0t9nsQG9ldJnoaS7kW+6IpEw03/feUbqe/eA7Wx1GshIzaCNWrK0Wzda2 cq41bFkDLowC8T/834gk5rLF5NjbJrY5hxTYrC92kVOgxP3DfxIHRaQEfOaGkDPMXeNO2e 01dZ0qIWvbKbhK+mRGVn98cq161ArKVOf64EIvijv9ivwtr0JLZP55s+KKbhIoyreBSLPE tL+KBahfNC7ao1YwzkrpQt5hvZD5tOO/AnSjat4hjMxHhP7bKoKdakbAe4dc9A== 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=1717579751; 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=w/VBgXBfnIoZecyIHDEoFWVonA5hWgc2say8E+FgEgk=; b=Zu4/Hb4fLQsi6HElxnNrdMzz6Tazy8013zO7yNWAYAmn2im5Uhz8LzocP3Dp//YifYIyx8 LN9NDwiDtqVVhG8fthOgviadkGBjCxC37u69VhIVhWE5AMBMsE/laph3ZSfxZCb1t/6R6h 1liC94Gcu3b3kiPZmuKpeDxSmA3C8zIVNHccr0noSM4m2xSPZIi2uvyKl7GjnxaWvzB9LX u9mXQfUNM5jxJUJFfN23ZxXOh2CcS8WIDX+z/Q5cQLpkX99IEy7fL9Q/3WmpKqjLvzxZtS PfFs1GEoWT7dR4jmXZsB0tnCTjoqtcl7eXASnI9NSu+8kR7Gb3BboxRuT43WNw== 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 4VvMbq5JkTzwmH; Wed, 5 Jun 2024 09:29:11 +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 4559TBhS027229; Wed, 5 Jun 2024 09:29:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4559TBSV027226; Wed, 5 Jun 2024 09:29:11 GMT (envelope-from git) Date: Wed, 5 Jun 2024 09:29:11 GMT Message-Id: <202406050929.4559TBSV027226@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 361da40536d7 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 361da40536d7f6fc6c06d54b261c299d170ccf2f Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=361da40536d7f6fc6c06d54b261c299d170ccf2f commit 361da40536d7f6fc6c06d54b261c299d170ccf2f Author: Andrew Turner AuthorDate: 2024-06-04 12:45:00 +0000 Commit: Andrew Turner CommitDate: 2024-06-05 09:23:40 +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 --- sys/conf/kern.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index d51aa1f1dfa9..106f09d80ac1 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -143,6 +143,8 @@ CFLAGS += -mgeneral-regs-only CFLAGS += -ffixed-x18 # Build with BTI+PAC CFLAGS += -mbranch-protection=standard +# TODO: support outline atomics +CFLAGS += -mno-outline-atomics INLINE_LIMIT?= 8000 .endif