From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124029 invoked by alias); 10 Sep 2016 06:59:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 123977 invoked by uid 89); 10 Sep 2016 06:59:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Envelope-From:sk:christo X-HELO: mail-qk0-f173.google.com Received: from mail-qk0-f173.google.com (HELO mail-qk0-f173.google.com) (209.85.220.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 10 Sep 2016 06:59:41 +0000 Received: by mail-qk0-f173.google.com with SMTP id v123so104103502qkh.2 for ; Fri, 09 Sep 2016 23:59:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pUCm7cKfPw6GZGe+eZKCgxX9HC8DOAuZ1iBRxGeWmSU=; b=Lmn9ytalLEfgUwY/GdoU16plrZYFNfOCZ8+b49m6AjkXkjciUP2Wn0Fec2Q1xr7Ngd 2ERMrsJITSbOfrjJXfXYvmVX5F942ALED41+URaT8wdhEMzYFul7r7mFq5H5VTnsAKs8 PQDWy6rCGRqIsrAQou4729NwMmFAL/y2b4dJMSPw23p+wA1tz7mT0uD+bgyBF1L9u6XN 9Agwg2qZhtrWM2ePOz3BfJp7+aj4c7rj6ISqikRgdj3tBo6rudOR5APCbXUB4H2+W/pd KHp1XkMc4iGuuhOVy5RKXM1ooqoxKWMSHvPH85fkAktc1J5IFXRx2+RgKXqW3ey0jHz/ xmcA== X-Gm-Message-State: AE9vXwP1RdiaThF3zkRPs7UbteIdECYkKp7U9tuUU+QO8U6oxpWpB2QtZ8XxNOP/+kxPpzElWO+nMWv6ijAwlwyK X-Received: by 10.55.149.67 with SMTP id x64mr489172qkd.135.1473490780227; Fri, 09 Sep 2016 23:59:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.21.102 with HTTP; Fri, 9 Sep 2016 23:59:39 -0700 (PDT) In-Reply-To: References: <20160908110641.GB23306@redhat.com> From: Christophe Lyon Date: Sat, 10 Sep 2016 07:03:00 -0000 Message-ID: Subject: Re: RFA (libstdc++): PATCH to implement C++17 over-aligned new To: Jason Merrill Cc: Jonathan Wakely , "libstdc++@gcc.gnu.org" , gcc-patches List Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00570.txt.bz2 On 9 September 2016 at 23:20, Jason Merrill wrote: > On Thu, Sep 8, 2016 at 7:06 AM, Jonathan Wakely wrote: >> On 08/09/16 09:10 +0200, Marc Glisse wrote: >>> >>> Do we want a generic fallback implementation (similar to >>> gcc/config/i386/gmm_malloc.h)? A windows version with _aligned_malloc / >>> _aligned_free would also be possible. >> >> Making it work for MinGW would be nice. > > OK, this is what I'm checking in; could someone test it on MinGW? > > Jason Hi Jason, I'm seeing problems on arm*linux: the tests aligned-new[1235].C fail to link: aligned-new5.C:(.text+0x14): undefined reference to `operator new(unsigned int, std::align_val_t)' On aarch64*-elf and arm-eabi (using newlib), I'm seeing: /gccsrc/libstdc++-v3/libsupc++/new_opa.cc:66: undefined reference to `aligned_alloc' Am I missing something in my setup? Thanks, Christophe