From nobody Fri Feb 02 19:13:24 2024 X-Original-To: dev-commits-src-main@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 4TRQR86b8rz584gR; Fri, 2 Feb 2024 19:13:24 +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 4TRQR85zP3z4pND; Fri, 2 Feb 2024 19:13:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706901204; 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=mPKAgeQDsvNSj32fNaH7WJS3Xrq2rTHq0ZNn+mQCUOo=; b=YjpLZjFHljYuF4TEx39uPOE9LH3JfdgRWOZyO+ZuVBkpvbeMhz4g0xzQQde/vokJOk3eSo Q7z5Eql+6EYloyI1Hf97x6xTq8asQkw5bHmADm0hvIH8AsUhOC0ECp1ZeJkfYTGbsB3Ke/ 0QlehlrV2uuZl8DFS2qbGwXHWOhUy+KoZIWU5gitzvo2z6/F39kiLBZ+pKbYg7QrkZ0e/1 A7JejJch/W6GrZB/w3/Khs9CYeEb4nn540ykI4S/0DJVi7g6GNP19U5A/W2wQQq6xivA1e op/DK5XSXpAQc47NYLSkdhb2614SxSZFvNT0OcaFKTYGgq/nCO3ElVnGgpZ+rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706901204; 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=mPKAgeQDsvNSj32fNaH7WJS3Xrq2rTHq0ZNn+mQCUOo=; b=PiSk1LOWiS52ceT4+qilsPZ2YhcbqdvkA+JAr8WeFN4Kt/cvyQGabRLBfGld7eeV0wgHHV a96RXfi3WgtoL++c7/HPfHduDJRs7Yeq2Wyzlaau/qrHuRXzZ2kE393EARWCGix9ryD0sM wkaD6e5I++BSrlJudkAwiwKDeNs7a5OtMJ0m2MCqe+wv3Rud0XyC9vxlxWgSZwvpwlwBAe k2l2JW0avsbUOiRx24FLtpJJJer75yx6rePTnFEVnMzyLaQLWG8Jy2R0IFWVaQXByn9AIq 34KgeJtkIIV5PoENgzjSL9eudi0tCTZ6bVS+AUjyY2WYjDTNoQKQwuFjoLXH8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706901204; a=rsa-sha256; cv=none; b=LAekXVYcGVj/qzY6+3wHz+lDSRij4zqO2Xq3uaXZ2jXcGXIrLFSVxES2gBCyyHgXCvywHj 7M6eocIoWvcCBe2naPegekkpBpdicyKcLTTlHePmEDStXudRhrRmywUH/yZ3Y/+X/jEI6f cPeQ6c9j/A/0HHE5b4kXL5e/z4RcyBCsRNKkvH1cgEoV7S1LiuzykhYlmQq2cTX8T2pejl NMC2TmBSS9z9gn8nZcQRYiUzHF2NyMj7j3Dqds0wk04/BlT+1kBU0ezkP5l4JZj1L7IaNl rj3wTFDSVCwyLF2nhEkl6sQ1msMglJyQ4YC8RyiD+dYB9qpZbhUOKWeODuUaOw== 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 4TRQR8514WzhLX; Fri, 2 Feb 2024 19:13:24 +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 412JDOlc071254; Fri, 2 Feb 2024 19:13:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 412JDO6m071251; Fri, 2 Feb 2024 19:13:24 GMT (envelope-from git) Date: Fri, 2 Feb 2024 19:13:24 GMT Message-Id: <202402021913.412JDO6m071251@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: d56a6f0516a7 - main - stdlib.h: Partially revert c27a89971805 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d56a6f0516a748774673272f227c1862827b46fc Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d56a6f0516a748774673272f227c1862827b46fc commit d56a6f0516a748774673272f227c1862827b46fc Author: Warner Losh AuthorDate: 2024-02-02 19:06:25 +0000 Commit: Warner Losh CommitDate: 2024-02-02 19:11:50 +0000 stdlib.h: Partially revert c27a89971805 quick_exit() can call other functions, and we don't guarantee it calls std::terminate should those other functions throw exceptions. And to make it do so has ABI complications for libc. Until that's sorted out, revert this noexcept (but leave a comment behind so people will find this commit message) Requested by: kib Sponsored by: Netflix --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index f0687f01e6c7..7a934dfa306d 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -165,7 +165,7 @@ void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1) __alloc_size(2); int at_quick_exit(void (*)(void)) __noexcept; _Noreturn void - quick_exit(int) __noexcept; + quick_exit(int) /* __noexcept -- not ready ABI issues? */; #endif /* __ISO_C_VISIBLE >= 2011 */ /* * Extensions made by POSIX relative to C.