From nobody Fri Apr 19 21:56:20 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 4VLpPc2xG1z5HqNC; Fri, 19 Apr 2024 21:56:20 +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 4VLpPc1v9sz4D6K; Fri, 19 Apr 2024 21:56:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713563780; 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=PjkUqK0P+FxdYMD8SfTwzhJg7MkpTzsGqvbIthqiGIA=; b=Rk3TGs5IkreiQnlLstMH9fpzAMOxvAcX3Yp6upmNmS4z9VaDm83IQm3kdwN4IhUt3qUNvZ 7merLhC9EMPGyFzkIAoxqNFt1FHUyYxuL5NR333bTwHH1p5k/6fbYvTR/yfj3L4C3maqYR Q4atmCzxkQW/ti8PQdCgItckXoZkRa2MTb/LtUduXtcv/Tez0W4Fb1PoaiBoEmvIrUTZ4i 2tdNLc5j4rjMwI/pOhrRSEURcNxoc02Ut5aK2jurZul6Q85Y6mxbN4B68lCzMhUBvvR+9I gkQiPnGGya/N3POd3pygqtQdr569Yfx1hMHNG9Xxo3+wUGimvOuNq/lRD827gA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713563780; a=rsa-sha256; cv=none; b=LrNgIH0tMJVzo6R8qOvCXPB9jcclopr2gaK0apTuk/TyeNpeMMT5dfaVXmgX0jj1YNXKlQ alFM2TT1fFPyB1M7x3L44RuCWl9TIA3a0pLgeZ0MhCdkRZeDrf/brlCfRQ7uLGqMhQ/YMz Ra0wi1uC1WByxk/ABCCaKfep9tckzVpqH/0n5/E1MEhsq9Zx2skVTJLVw++05xLbZ6Q8Ub zejAWNgkBIAsvO74uopWiv60qjKhkFJZHHlAMSGrcC/mZCiXlCkU+iX0W+b+0LyYQZryTM TfmkwKwwOGIf/TeX5V36ZJjQXblD7VYc9JxEn5z4rflOfmAkAb8JoVXWAPKnAg== 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=1713563780; 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=PjkUqK0P+FxdYMD8SfTwzhJg7MkpTzsGqvbIthqiGIA=; b=vtit4DlxXOlUUNq6jzkwZtOThbfwyIFM8NI1p7uHxKsK51TMnlejpSOG0ePhxFmdQO0rBy Voj4fR7MfPr4b6E3YtqN1h/iYkMSFHYEdnvFfzhFQNNZax3smQlFhFrt6Fv1xyPBair2rs 6Ha556LCYlJMIgzl53ZZeLP6THa/w1jO/AdXdyl+BGMHrZZaLo0vyDZSj85jDQfHiQ+iCT K5Mt81u0mTv/XFt3pBsUOX74Cn5OKQ3nN4tXlo4hTm56BHw2/xMRnkqWxvaWd/t4N/jvjZ DHasBu6FUjoMV9Bti8lrE8MLtX2ZWlCVOnZKX9F9bLSzBbc5KEqPeO+1XmvAkw== 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 4VLpPc1Vdlz19Gb; Fri, 19 Apr 2024 21:56:20 +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 43JLuKmN024693; Fri, 19 Apr 2024 21:56:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43JLuKTv024690; Fri, 19 Apr 2024 21:56:20 GMT (envelope-from git) Date: Fri, 19 Apr 2024 21:56:20 GMT Message-Id: <202404192156.43JLuKTv024690@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 44e89340fe34 - main - libgcc_s: expose __divmoddi4 on i386 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 44e89340fe349abc020732958c6debd12b5adf2c Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=44e89340fe349abc020732958c6debd12b5adf2c commit 44e89340fe349abc020732958c6debd12b5adf2c Author: Brooks Davis AuthorDate: 2024-04-19 21:52:42 +0000 Commit: Brooks Davis CommitDate: 2024-04-19 21:56:13 +0000 libgcc_s: expose __divmoddi4 on i386 GCC has used this for some time (since 7.0) and apparently we were getting away with using the hidden symbol, but when linking with --no-undefined-version we get an error unless it's properly exported. (For anyone who wonders at the assymetry, __udivmoddi4 is indeed much older and was introduced with GCC 3.0.) MFC after: 3 days Reviewed by: dim Differential Revision: https://reviews.freebsd.org/D44878 --- lib/libgcc_s/Symbol.map | 6 ++++++ lib/libgcc_s/Versions.def | 3 +++ 2 files changed, 9 insertions(+) diff --git a/lib/libgcc_s/Symbol.map b/lib/libgcc_s/Symbol.map index a30403f9811a..2c507656f037 100644 --- a/lib/libgcc_s/Symbol.map +++ b/lib/libgcc_s/Symbol.map @@ -221,3 +221,9 @@ GCC_4.6.0 { __unordtf2; }; #endif + +GCC_7.0.0 { +#ifdef __i386__ + __divmoddi4; +#endif +}; diff --git a/lib/libgcc_s/Versions.def b/lib/libgcc_s/Versions.def index d28e9042f744..526387e055df 100644 --- a/lib/libgcc_s/Versions.def +++ b/lib/libgcc_s/Versions.def @@ -31,3 +31,6 @@ GCC_4.3.0 { GCC_4.6.0 { } GCC_4.3.0; + +GCC_7.0.0 { +} GCC_4.6.0;