From nobody Fri Apr 26 19:27:28 2024 X-Original-To: dev-commits-src-branches@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 4VR2mc6Vrpz5J4fc; Fri, 26 Apr 2024 19:27:28 +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 4VR2mc62rjz4584; Fri, 26 Apr 2024 19:27:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714159648; 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=2HZSQ6vNF2zE2YJr1ofc25jOWvchj0abwFeOXmcUFW0=; b=E304mLXwazFiE28TFNnGgm1tdn2XRg6wcgUUC7s0ziPxA/1vhZPJUV+mdxeBDGlE/RUCVy A+bvSqPVW8xDYuguIvUaRz1mxfMshkUa4LFFt1kjcsg4uMAL0eA3H88J2j+VTyYjePp2DI viN6uZ1d5YDEZJOa6j4q9wThjFY8Di9RSZV9L5gyKU8Efv0S2Seb7OG2eXVh1tfpIDb3u0 nxCH6NfFqIQkFkPZJf+HE0hgtI/rm7Hd+ed1GntplKuoVvMkCX/ux9WYAguGp47KYBD6gO e9InrKV1L17vwofzOml1v8AUO3cRhVWdzFoSjtGCnvTKIGcKsvuOZmWf0yBtjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714159648; a=rsa-sha256; cv=none; b=OVMxeHnifiWptlVfFzZN7Llf+jQBW17n8TAuUGZNkG9fC8DlZUhd6PrU3POXxRuyDImnYZ CMqYYMXYfo0NOt5KyAV9pqD01XWKi+KOR5pedSoLpv6rU2tCR314xMbEiW84zMLYLtxBvd 2tM/hCh6/rOIinNxlDn5h/mSVDJsR18HVTO5eNfCtp9KEE5h5hE0zWUMv3NHht+5YOLLt6 aETqGiK8BPCRDWDyUMt1s+PxuzShic6bCilZffHXWD1ogOH7RG1oOPv7O8YYYDV8Fhs589 qOW5gHkyx3c8piC9EaQS9Kz2ALOVlyexurm+Mg6ygAk/WymbFRueu6HNib6BBg== 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=1714159648; 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=2HZSQ6vNF2zE2YJr1ofc25jOWvchj0abwFeOXmcUFW0=; b=d6awQIFvpBgRgtS5fAQssqGQe+7thCq56e6OZ05t/zWCtfXzHbJvLJ/KJUUy7T/bquH3fp 0QuoQEyR5L06pPslmHxA9tAypRIOTcvLIj/R9RjDMcmZGzI4DwG686tDRkmNCTry7q47XZ oVgtFFgm6H87vqRqPTUP48rwcwfRsmpW38+VPwpVzPBAOZHsbHPssu1ACw5hw4PlBeBFlL yD18noGE3fny7E9yQR+JMidRP9+mMZfPS5PwRu2uIc1xuq83AO37F+ya3UEE3kY4iHtxfV eBUS+I0PyJ1OLfGfSpkcCXIcWIQd6Mr9puBkhBSqjQ+ubVoGMpteuvyL9aasNg== 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 4VR2mc5WQ5ztpw; Fri, 26 Apr 2024 19:27:28 +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 43QJRS6D051995; Fri, 26 Apr 2024 19:27:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43QJRSoK051992; Fri, 26 Apr 2024 19:27:28 GMT (envelope-from git) Date: Fri, 26 Apr 2024 19:27:28 GMT Message-Id: <202404261927.43QJRSoK051992@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Brooks Davis Subject: git: d5ad60b75f47 - stable/14 - libgcc_s: expose __divmoddi4 on i386 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: d5ad60b75f47feda1a8676f186030beab539df26 Auto-Submitted: auto-generated The branch stable/14 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=d5ad60b75f47feda1a8676f186030beab539df26 commit d5ad60b75f47feda1a8676f186030beab539df26 Author: Brooks Davis AuthorDate: 2024-04-19 21:52:42 +0000 Commit: Brooks Davis CommitDate: 2024-04-26 18:30:42 +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 (cherry picked from commit 44e89340fe349abc020732958c6debd12b5adf2c) --- 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 2aa31ec34542..ea5baaef6645 100644 --- a/lib/libgcc_s/Symbol.map +++ b/lib/libgcc_s/Symbol.map @@ -180,3 +180,9 @@ GCC_4.6.0 { __trunctfxf2; __unordtf2; }; + +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;