From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11573 invoked by alias); 20 Jul 2018 20:40:29 -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 11561 invoked by uid 89); 20 Jul 2018 20:40:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=restoring, tarballs, feeling, our X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Jul 2018 20:40:26 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-03.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fgcCO-00040G-Pn from joseph_myers@mentor.com ; Fri, 20 Jul 2018 13:40:24 -0700 Received: from digraph.polyomino.org.uk (137.202.0.87) by SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 20 Jul 2018 21:40:21 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.86_2) (envelope-from ) id 1fgcCK-00089z-MX; Fri, 20 Jul 2018 20:40:20 +0000 Date: Fri, 20 Jul 2018 20:40:00 -0000 From: Joseph Myers To: Pedro Alves CC: "Wiederhake, Tim" , Sergio Durigan Junior , "gdb-patches@sourceware.org" Subject: Re: Breakage on builder Fedora-x86_64-w64-mingw32, revision 49b000dc5686e016f05b717f18d2c8f865eb3617 [gdb-8.12-branch] In-Reply-To: Message-ID: References: <7a005da3-801d-b730-7f7d-22955796c58a@redhat.com> <874lh4pf8k.fsf@redhat.com> <9676A094AF46E14E8265E7A3F4CCE9AF7493FD29@irsmsx111.ger.corp.intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2018-07/txt/msg00626.txt.bz2 On Fri, 13 Jul 2018, Pedro Alves wrote: > > Yep, if I > > touch src/intl/plural.c > > then > > rm -f build/intl/plural.* && make -C intl > > build successfully. > > > > I kind of have the feeling I've seen this discussed before. > > Found . > > Looks like there's an intl fix, but nobody ever imported it into > our copy (starting with updating gcc's copy). > > Anyone want to take a stab at it? Or you could follow what we did for glibc, and stop having plural.c being checked in to either the GCC or binutils-gdb repository, and arrange for it to be generated in the build directory. (With due care to ensure it gets into release tarballs, which for GCC means ensuring --enable-generated-files-in-srcdir causes it to go in the source directory, and that if you build from a release tarball that does have it in the source directory, the source directory copy gets used when you don't have Bison installed.) For binutils and GDB, Bison is already a build requirement when building from version control. GCC doesn't currently have any Bison parsers, so this would be restoring an old build requirement there. -- Joseph S. Myers joseph@codesourcery.com