From patchwork Thu Oct 5 17:03:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Patchwork-Id: 148976 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp485345vqb; Thu, 5 Oct 2023 11:22:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmPEhzx0T/PAFYbqT0J6y1xrX86I1QS8oQH4PYgCsf1AjBKDQofozPG+RhK0sashLCewZA X-Received: by 2002:a17:907:75fb:b0:9ae:7870:1533 with SMTP id jz27-20020a17090775fb00b009ae78701533mr5203079ejc.64.1696530147114; Thu, 05 Oct 2023 11:22:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696530147; cv=none; d=google.com; s=arc-20160816; b=XAcFM9H7A9+WadoACzGAFNKvyOdPShLr5b6RyDmCVMpPeBMMCpRbaEvfTGWlubI4Pu ysT9plzBp0ykUPo4T4D/YteCwqwW+TBaPobCs5cWhdP6wrzzzZFabBZ+5qrpJ6+VSeVy q/6AJHq5sMikSunl5ujWjEGBdDYTrsAroS1lczrNumIfpg7x0Wpxti9UbH5YnD9VRcAA 55Vt2e0/h5+OCOyXShxWfH//YJsBLYZp/4IKdVPvnptJw46QbmP2GrwSzwROGbEKOnAA /Ff11snKePzQCHmJHrQBWzmUsxWU4oV89qpHFv8NU83SVtQDWssQEWZu/b9N6eWTjJYk AKjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dmarc-filter:delivered-to; bh=LAx8tv5SpN/2m1ZjqBQcI2uvytAXi80jfRo9AxlQLHI=; fh=hkNCFrDbuz5Wm4FQHPXCqeNb7VvLMjF0pNEQQEeeYIs=; b=XvZvecs39ig3ysi14lg2lFZBBPr6mf2H2MltEC2CugQ96lhA+df7Em6B+Xvnfz+xls Duz9G50ur3ThQ4ZY6Qdh4QVjjRrGLF8gK2q5MeGJTkp5Pty4FOs8aT4duKJe5R2Q79yL adnwue7Dy5+9+DRxMIP2YstWN1lWmVVX2qXB+UBXLekCrEULAaSMaDiMpV+Rkq2khsxJ BSmXTlok+sfYIg94Bc+oJ/WLxbPHSaW4A4yp/pbNp+gnlov1FNMgDFYxyQvSRRzXZlIN N4TpAO2Dst0VeEpi0WW3VqTkD9mLY3wcZ5DdT0mVlfxuUiAKTkB5VVWVAPQ8sOeJ4jP0 UxoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iZEiLkPM; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id gh9-20020a170906e08900b00992f02a507bsi852542ejb.864.2023.10.05.11.22.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 11:22:27 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iZEiLkPM; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF4A6385B81D for ; Thu, 5 Oct 2023 17:04:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 13EF63858C5F; Thu, 5 Oct 2023 17:03:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 13EF63858C5F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-32336a30d18so1105160f8f.2; Thu, 05 Oct 2023 10:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696525421; x=1697130221; darn=gcc.gnu.org; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=LAx8tv5SpN/2m1ZjqBQcI2uvytAXi80jfRo9AxlQLHI=; b=iZEiLkPMI4PTUfCMeWicaqzqvaY6Pqs9t+mrbPfA8LkzLLFrHwMAPNsbc1ncY9aWEy X1UVQ6ivrlPUO26JAOjzGYuDHSNRIlEonmMxNtjQZc7MVLVCwJDcc8OSGXyUZjWekrCt h9CGFGavPKln72X1h+1Wc8lyZfvZOFSW6pVceCnwb8tIORKR0XMPzQqybO/f8hs36MTL i4WbylHgxU+BohFcpxzOhE1GGEi6tGiZKd68cLmr3WejFwhGP+fIcMwGYh3B7/nKjILl f/WhXrA8XmYXrDowGZGuG5tK76IuiUHqQreYsz7/uPSfCvyhq+OjgSTrtdvX60MaUhey lEtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696525421; x=1697130221; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LAx8tv5SpN/2m1ZjqBQcI2uvytAXi80jfRo9AxlQLHI=; b=DUnGxF3R0n5PFrrLGeoJVDG5a8xr/z64shLCYRagivqvL0jGCtLiTZ4M1M7qaIncXA Scu5CuZ9UKaS9fP3l5mLMjViUccw2QilMKaKQUrUiMehtu4wIyzDs0sTobMqZ+kP8adX PktMkYXjD1asAGnaQz1VzfaUJw6gaNHFPTe1j2AeHb4omwdg3Nke8CJpDtK9BLdBpHX3 oL2PR9EBbMIi9qwoMqgNVfTU+J44d1mJaixUsSlTSasDK/UN8lLP4dYjTvtIz28Lgtg7 b9gaR7WsqTVNP+m/+VjKaRNWUK8Nwb/EkQuO2BCWasnKz/gbWEb/XbOiaZHu6wLIuXBL y1pg== X-Gm-Message-State: AOJu0Yx2QSe0MfcKeg3DnXyxWnt1YdRzzwxD/khmSGEraG6YvS2/ebRF lztNuV8YQYSIQA/6bIfrV3foxIH/3ozs6A== X-Received: by 2002:adf:fd06:0:b0:326:c623:3bb6 with SMTP id e6-20020adffd06000000b00326c6233bb6mr5012735wrr.57.1696525421011; Thu, 05 Oct 2023 10:03:41 -0700 (PDT) Received: from [10.25.1.172] ([89.207.171.100]) by smtp.gmail.com with ESMTPSA id n24-20020a1c7218000000b004065e235417sm4162638wmc.21.2023.10.05.10.03.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Oct 2023 10:03:40 -0700 (PDT) Message-ID: <1bf2bf67-de92-0031-bd51-a3443b20cee7@gmail.com> Date: Thu, 5 Oct 2023 19:03:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: libstdc++ Cc: gcc-patches From: =?utf-8?q?Fran=C3=A7ois_Dumont?= Subject: [PATCH][_GLIBCXX_INLINE_VERSION] Add missing symbols X-Spam-Status: No, score=-8.8 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778940795592602072 X-GMAIL-MSGID: 1778940795592602072 Here is a patch to fix following test case in gcc: gcc/testsuite/g++.dg/cpp23/ext-floating13.C     libstdc++: [_GLIBCXX_INLINE_VERSION] Add missing float symbols     libstdc++-v3/ChangeLog:             * config/abi/pre/gnu-versioned-namespace.ver: Add missing symbols             for _Float{16,32,64,128,32x,64x,128x}. Ok to commit ? François diff --git a/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver b/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver index 267ab8fc719..9fab8bead15 100644 --- a/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver +++ b/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver @@ -318,6 +318,15 @@ CXXABI_2.0 { _ZTIPD[fde]; _ZTIPKD[fde]; + # typeinfo for _Float{16,32,64,128,32x,64x,128x} and + # __bf16 + _ZTIDF[0-9]*[_bx]; + _ZTIPDF[0-9]*[_bx]; + _ZTIPKDF[0-9]*[_bx]; + _ZTIu6__bf16; + _ZTIPu6__bf16; + _ZTIPKu6__bf16; + # typeinfo for decltype(nullptr) _ZTIDn; _ZTIPDn;