From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105684 invoked by alias); 14 Nov 2015 21:23:43 -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 105660 invoked by uid 89); 14 Nov 2015 21:23:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-lb0-f174.google.com Received: from mail-lb0-f174.google.com (HELO mail-lb0-f174.google.com) (209.85.217.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 14 Nov 2015 21:23:41 +0000 Received: by lbbsy6 with SMTP id sy6so41944472lbb.2; Sat, 14 Nov 2015 13:23:37 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.112.184.137 with SMTP id eu9mr12988518lbc.21.1447536217767; Sat, 14 Nov 2015 13:23:37 -0800 (PST) Received: by 10.25.169.205 with HTTP; Sat, 14 Nov 2015 13:23:37 -0800 (PST) In-Reply-To: <20151114135804.GC2937@redhat.com> References: <20151112114049.GY2937@redhat.com> <20151112133947.GA2937@redhat.com> <20151113145219.GQ2937@redhat.com> <20151114135804.GC2937@redhat.com> Date: Sat, 14 Nov 2015 21:23:00 -0000 Message-ID: Subject: Re: [PATCH] Enable libstdc++ numeric conversions on Cygwin From: Jennifer Yao To: Jonathan Wakely Cc: Christophe Lyon , "libstdc++@gcc.gnu.org" , "gcc-patches@gcc.gnu.org" , Andreas Tobler Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-11/txt/msg01848.txt.bz2 > Hi, this commit makes the GCC build to fail for targets using newlib > (I tested arm-none-eabi and aarch64-none-elf) > > I'm seeing errors such as: > In file included from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/string:52:0, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/bits/locale_classes.h:40, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/bits/ios_base.h:41, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/ios:42, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/istream:38, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/sstream:38, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/complex:45, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/ccomplex:38, > from > /tmp/9122162_8.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libstdc++-v3/include/precompiled/stdc++.h:52: > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/bits/basic_string.h: > In function 'long long int std::__cxx11::stoll(const wstring&, > std::size_t*, int)': > /tmp/9122162_8.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/include/bits/basic_string.h:5524:31: > error: 'wcstoll' is not a member of 'std' > { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(), > ^ > Sorry I can't provide more details until Monday. I just finished running the testsuite on x86_64-pc-cygwin for Jonathan's latest patch and compared the results against an older (about two months old) run, and so far I'm not seeing any regressions. Granted, this is strictly preliminary; I'm currently re-running the testsuite on the up-to-date, unpatched build tree to see if there are any differences. I'll update when I have more information.