From patchwork Thu Nov 3 20:54:30 2016 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: 80739 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp836238qge; Thu, 3 Nov 2016 13:55:07 -0700 (PDT) X-Received: by 10.98.35.140 with SMTP id q12mr19950629pfj.180.1478206507579; Thu, 03 Nov 2016 13:55:07 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id gk9si9678476pac.55.2016.11.03.13.55.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Nov 2016 13:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-440387-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-440387-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-440387-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; q=dns; s= default; b=K+dOAnL3tmKkQlSnpuPhYTtftfWOZB3oUXxykW8V/sGUuUIqJMFLv CLwH7/IyFfwxRg+lqmASd9oBRZoG6/d+Q3nCYbolZNu1Lp4KWu4bKBTrnw5EO4U5 YniTOOZiKcvbvxyVD9HjWTJ9SuE+l41Ww9FUP32zmpn9RmXhfO2qac= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; s= default; bh=CvtfLgtzdBJ+E5hn7ZRngZdtdGQ=; b=NX/EPJhbI2BuOFZWXLFt QfWmF3zCETbod5g1uhHXWRcB9PfTm6EasZ3Gx9F7065nDMuZk3tWvMtJwTGzwJYg 97SR0fm9i45rDVyUza7wL4p6OaLqUpF1CtUu/lAqzM1f/elDmOrbHBKokFWjdHjX RIFkl9B1v9/uylSLO8yoe+s= Received: (qmail 121139 invoked by alias); 3 Nov 2016 20:54:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 121109 invoked by uid 89); 3 Nov 2016 20:54:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=no version=3.3.2 spammy=HTo:U*libstdc, pool_allocator, organization X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-wm0-f46.google.com Received: from mail-wm0-f46.google.com (HELO mail-wm0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Nov 2016 20:54:34 +0000 Received: by mail-wm0-f46.google.com with SMTP id a197so11927154wmd.0; Thu, 03 Nov 2016 13:54:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version; bh=+88MkE5Hc5lVuWxJjtADaEl9gj3OiBGinCJTIHneqC4=; b=JhnOP6F6/eqQZiNwlRnhEFaJWtIL1tRyFnnh8W9r2CywNXei3eO4Wam5gdaAbMch+A lXgwIY5uPRlzol6k3mACOuY7u3rGfp83oPkAd1S0v5oiXhaAXRc9NutGwK5kGk01MIXs zZFeJKrPT6IkJUmZjNd4smX5xVBqS07jgUaE+0mwaI7VPi2uw9thV05UVaY6lNYWxdxk Q5mrLJU70osEhImbPpPRqZJ5kkxXbtEz9FmvrNy19nTWYPXSxAFL2X6IirNJWwDh6e4E +WLcQWmno3oqGtSGI+1UYIaNk9OLDG3/dn0SUv17yxldHxlz4GM0varVoCm4Cf4jwN6H lqIA== X-Gm-Message-State: ABUngvcwnDTb71/R9oLY9/SvzZ+QyVJySGwnrSdDd//a1vsX18kEGHQ6u+cBOi6VzDsKow== X-Received: by 10.194.66.101 with SMTP id e5mr8628504wjt.172.1478206471821; Thu, 03 Nov 2016 13:54:31 -0700 (PDT) Received: from [192.168.0.23] (arf62-1-82-237-250-248.fbx.proxad.net. [82.237.250.248]) by smtp.googlemail.com with ESMTPSA id ma5sm10591916wjb.47.2016.11.03.13.54.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Nov 2016 13:54:31 -0700 (PDT) From: =?UTF-8?Q?Fran=c3=a7ois_Dumont?= Subject: Add missing symbols for versioned namespace To: "libstdc++@gcc.gnu.org" , gcc-patches Message-ID: <13173c71-40eb-7276-c748-6438496a9bff@gmail.com> Date: Thu, 3 Nov 2016 21:54:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Hi I might not be the right one to propose this patch as I am not sure that I fully understand gnu-versioned-namespace.ver organization. But with it following test failures when using versioned namespace vanish: FAIL: 20_util/allocator/overaligned.cc (test for excess errors) FAIL: ext/bitmap_allocator/overaligned.cc (test for excess errors) FAIL: ext/mt_allocator/overaligned.cc (test for excess errors) FAIL: ext/new_allocator/overaligned.cc (test for excess errors) FAIL: ext/pool_allocator/overaligned.cc (test for excess errors) Ok to commit ? * config/abi/pre/gnu-versioned-namespace.ver: Export C++17 new of over-aligned types symbols. 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 34d58ae..bffb35c 100644 --- a/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver +++ b/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver @@ -348,6 +348,18 @@ CXXABI_2.0 { # __gnu_cxx::__freeres() _ZN9__gnu_cxx9__freeresEv; + + # C++17 aligned new/delete + _Znw[jmy]St11align_val_t; + _Znw[jmy]St11align_val_tRKSt9nothrow_t; + _Zna[jmy]St11align_val_t; + _Zna[jmy]St11align_val_tRKSt9nothrow_t; + _ZdlPvSt11align_val_t; + _ZdlPvSt11align_val_tRKSt9nothrow_t; + _ZdlPv[jmy]St11align_val_t; + _ZdaPvSt11align_val_t; + _ZdaPvSt11align_val_tRKSt9nothrow_t; + _ZdaPv[jmy]St11align_val_t; }; # Symbols in the support library (libsupc++) supporting trans-mem.