From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5918 invoked by alias); 2 Nov 2015 20:46:21 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 5908 invoked by uid 89); 2 Nov 2015 20:46:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 02 Nov 2015 20:46:19 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 1E718C0B5900; Mon, 2 Nov 2015 20:46:18 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tA2KkF0l026103; Mon, 2 Nov 2015 15:46:15 -0500 Message-ID: <5637CB96.4010106@redhat.com> Date: Mon, 02 Nov 2015 20:46:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: fracting@gmail.com CC: gdb-patches@sourceware.org, Iain Buclaw Subject: Re: [PATCH 00/11] C++/MinGW patches References: <1446492970-21432-1-git-send-email-palves@redhat.com> <5637C1FA.2060708@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-11/txt/msg00049.txt.bz2 [+Iain] On 11/02/2015 08:22 PM, Qian Hong wrote: > Hi Pedro, > > On Tue, Nov 3, 2015 at 4:05 AM, Pedro Alves wrote: >> BTW, I pushed a testable tree to users/palves/mingw-cxx-conversion, in >> case someone could lend a hand with running gdb / testing on Windows. > > Thanks for your work, I'll run gdb and test on both Windows and Wine > this weekend. Thanks! Note you'll need to configure gdb with --enable-build-with-cxx in order to make it build with a C++ compiler. > > BTW, there was a bug report of test failure found by running gdb / > binutils testsuite on Windows: > https://sourceware.org/bugzilla/show_bug.cgi?id=19052 > > No one has comment on that bug yet, did we report to the wrong component? I suspect that nobody is really actively paying attention to Windows bugs in bugzilla... :-/ That said, this sounds like a demangler testsuite issue. GDB is not involved. Iain, this is: ./test-demangle < ../../../gdb-7.10/libiberty/testsuite/d-demangle-expected FAIL at line 750, options --format=dlang: in: _D8demangle23__T4testVfe0FFFFFFP128Zv out: demangle.test!(3.40282e+038) exp: demangle.test!(3.40282e+38) FAIL at line 758, options --format=dlang: in: _D8demangle19__T4testVfe08PN125Zv out: demangle.test!(1.17549e-038) exp: demangle.test!(1.17549e-38) E:\MINGW-packages\mingw-w64-gdb\src\build-i686-w64-mingw32\libiberty\testsuite\test-demangle.exe: 266 tests, 2 failures It just looks like msvcrt.dll's printf prints using an unexpected format? Maybe building the test program with __USE_MINGW_ANSI_STDIO defined fixes it. Could you try that? Thanks, Pedro Alves