From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D46A7385800F; Mon, 1 Nov 2021 03:14:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D46A7385800F From: "vapier at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/28476] MinGW build for all targets is broken Date: Mon, 01 Nov 2021 03:14:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: 11.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vapier at gentoo dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2021 03:14:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28476 --- Comment #20 from Mike Frysinger --- (In reply to Orgad Shaneh from comment #18) > Regarding getline, shouldn't it be provided by gnulib? we currently only build gnulib for the --host system, not --build. so we a= re providing gnulib too --host, but these are --build tools which don't help. > MinGW is not POSIX. i'll note that MinGW literally means "Minimalist GNU for Windows". getline= was a GNU extension that made it into POSIX. the logical thing really is for M= inGW to support the latest POSIX and include GNU extensions. but i don't know when upstream MinGW is going to get around to that, and we= try to build GNU sim on more than POSIX systems. would be nice if we figured o= ut how to build & use gnulib for --build too > I attached a verbose assembly of the file. These are the errors for this > file: > func.s:2241: Error: value of 0000001000001e8d too large for field of 4 by= tes > at 000000000000134d i'm thinking this is a bug in either gcc or the assembler, but prob gcc. so this should get reported to the gcc folks. > https://sourceware.org/pipermail/gdb-patches/2021-October/182836.html that touches top-level files which needs someone to review that. i suspect= the answer isn't to force line encodings, so you'll prob want to file a dedicat= ed bug if the gas manual is failing to build under Windows. for the sim parts, i pushed a fix for igen instead: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Df0982318065= 617e92c28e23ee382981c2a898ca2 --=20 You are receiving this mail because: You are on the CC list for the bug.=