From nobody Thu Mar 07 20:12:40 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 4TrL7r1qq0z5DkLB; Thu, 7 Mar 2024 20:12:40 +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 4TrL7r1QHYz4kyS; Thu, 7 Mar 2024 20:12:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709842360; 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=MwOrYCyXxWoBDWF8Dw+vjGyM0rrhDdVRgPOWTa054WM=; b=pG8vcT4dTeSzyDC2v/Y1X9zO1qAlMeMER8nE/HRIMX990ccnQGe3/SZTSxBoRcpS8eLR91 qCpo5oDU1zcHF/4En6hYZSkHEEnUbzQqhifpxpvg5PBOUiLDnogT7+dyr9rFlFRV7I4W0L 3bqL8wkFSKY8c5ZtpgHtKK6maerkGD9D0X+t6KUhq2AO+OvWjSlBAsy1pP+gpj7E8NkKQ5 EwDvzK0iqvZ10TRYsoY4rB+igT9mpvJ6Nq2tm3pMcFZbFM/RDIggW9owg9sVKNhOk62j7V MAOH/YZVheeEsZewGpS9hVPCidX488iXwqFImpHC7HaoV3fxO691SOClVln8mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709842360; a=rsa-sha256; cv=none; b=qKG7ej3iROPQZ6CAMTwT4meBxx2v2t7k0aV1pWU6a7PnDTBUwz1fXJtO9xz6e4RemZ0pTj xfogjq2rAzsldXltDjAbOHgvello4Km/WVqCl89N8VTKEQORkGE9irlhwfLDxlE0rq7IEK umEYRKw709gfaDPhdq+Hsm/7OlC7Dy7X6/3zuH2dnlXXXxjfHto6I6Wk8HWv9ENavJ9SvE KHHfQwqQTiLFI7+PhXHE368TpKUyhFgkYECSxq3DZWbk8r1XVhiQj+Vy40L0g5gl5nVcQ+ 6D/gdVwd7O+UiuXT6bd/cXTGlCGENy9U66tqcyODhHBxHje8hFa9PmU8ff51ng== 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=1709842360; 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=MwOrYCyXxWoBDWF8Dw+vjGyM0rrhDdVRgPOWTa054WM=; b=p8xOq9o7Q0R37G9h86JZI6R9piflClz0ODE6g+HPszt4kV9S4xkCTyD7kLo80PvBEmKk1A zC3IjB/DGXSfwf23d2KiaA43FdE5UHvxmdKXSL9htjL31QABkpWiMxPdNVvV7tz28qK3ve 4lfTwopd8tyaQCc0T1mP2nRDsVrmDAJ35N+y9POQ33Pu+WGeqhVLX6YufLMrL+esCpOMOJ Npt0H3kS/qIqeT2x059Fsp1lqLW+g9kCchPzZh9Pbw2A9N5YP46UOUMNGf6gEBlaif1o6E /T4bBNtYINL3LlpsIThkfAY/VCPRCCBqCdjoy1oK8tM0KOT5fekKJuvpQQ1LeA== 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 4TrL7r11vbznW8; Thu, 7 Mar 2024 20:12:40 +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 427KCeaf048238; Thu, 7 Mar 2024 20:12:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 427KCeW8048235; Thu, 7 Mar 2024 20:12:40 GMT (envelope-from git) Date: Thu, 7 Mar 2024 20:12:40 GMT Message-Id: <202403072012.427KCeW8048235@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: 6e6cd03c911c - main - libc/quad: narrow list of symbols exposed 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: 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e6cd03c911c0f226e284fc0c5c5ca5e30bea2e9 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=6e6cd03c911c0f226e284fc0c5c5ca5e30bea2e9 commit 6e6cd03c911c0f226e284fc0c5c5ca5e30bea2e9 Author: Brooks Davis AuthorDate: 2024-03-07 20:09:00 +0000 Commit: Brooks Davis CommitDate: 2024-03-07 20:12:22 +0000 libc/quad: narrow list of symbols exposed on i386 These symbols aren't present on i386 so don't try to expose them. Given the structure of quad/Makefile.inc, it might make more sense to have per-arch symbol maps here, but this is sufficent to build with WITHOUT_UNDEFINED_VERSION on i386. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44243 --- lib/libc/quad/Symbol.map | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/libc/quad/Symbol.map b/lib/libc/quad/Symbol.map index 86fc2ee9c334..81f794acd498 100644 --- a/lib/libc/quad/Symbol.map +++ b/lib/libc/quad/Symbol.map @@ -5,8 +5,10 @@ FBSD_1.0 { * broken and they expect to see them in libc. glibc exports * them, but they do not appear to be exported in Solaris. */ +#ifndef __i386__ __adddi3; __anddi3; +#endif __ashldi3; __ashrdi3; __cmpdi2; @@ -17,18 +19,26 @@ FBSD_1.0 { __fixunssfdi; __floatdidf; __floatdisf; +#ifndef __i386__ __floatunsdidf; __iordi3; __lshldi3; +#endif __lshrdi3; __moddi3; __muldi3; __negdi2; +#ifndef __i386__ __one_cmpldi2; +#endif __qdivrem; +#ifndef __i386__ __subdi3; +#endif __ucmpdi2; __udivdi3; __umoddi3; +#ifndef __i386__ __xordi3; +#endif };