From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 668EE385842A; Sun, 31 Oct 2021 19:00:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 668EE385842A From: "orgads at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug sim/28476] MinGW build for all targets is broken Date: Sun, 31 Oct 2021 19:00:58 +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: orgads at gmail dot com 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: attachments.created 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: Sun, 31 Oct 2021 19:00:59 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28476 --- Comment #18 from Orgad Shaneh --- Created attachment 13749 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13749&action=3Ded= it verbose assembly of erc32/func.c Regarding getline, shouldn't it be provided by gnulib? MinGW is not POSIX. The errors that I still have are these: F:/git-sdk-64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../= x86_64-w64-mingw32/bin/ld.exe: opc2c.o: in function `main': F:/Projects/binutils-gdb/sim/m32c/opc2c.c:541: undefined reference to `getl= ine' and the assembly errors. They are not link-time, but compile-time errors. I attached a verbose assembly of the file. These are the errors for this fi= le: func.s:2241: Error: value of 0000001000001e8d too large for field of 4 byte= s at 000000000000134d func.s:2308: Error: value of 0000001000001f69 too large for field of 4 byte= s at 0000000000001429 func.s:2336: Error: value of 0000001000001fc0 too large for field of 4 byte= s at 0000000000001480 func.s:2349: Error: value of 0000001000001ff0 too large for field of 4 byte= s at 00000000000014b0 func.s:2351: Error: value of 0000001000001ff8 too large for field of 4 byte= s at 00000000000014b8 func.s:2505: Error: value of 00000010000021d1 too large for field of 4 byte= s at 0000000000001691 func.s:2724: Error: value of 0000001000002471 too large for field of 4 byte= s at 0000000000001931 func.s:2748: Error: value of 00000010000024b9 too large for field of 4 byte= s at 0000000000001979 func.s:2753: Error: value of 00000010000024c9 too large for field of 4 byte= s at 0000000000001989 func.s:2756: Error: value of 00000010000024d4 too large for field of 4 byte= s at 0000000000001994 func.s:2948: Error: value of 0000001000002736 too large for field of 4 byte= s at 0000000000001bf6 func.s:3002: Error: value of 00000010000027db too large for field of 4 byte= s at 0000000000001c9b func.s:3036: Error: value of 000000100000284b too large for field of 4 byte= s at 0000000000001d0b func.s:3114: Error: value of 0000001000002947 too large for field of 4 byte= s at 0000000000001e07 func.s:3237: Error: value of 0000001000002adc too large for field of 4 byte= s at 0000000000001f9c func.s:3278: Error: value of 0000001000002b65 too large for field of 4 byte= s at 0000000000002025 func.s:3951: Error: value of 00000010000032e2 too large for field of 4 byte= s at 0000000000002792 func.s:3958: Error: value of 0000001000003305 too large for field of 4 byte= s at 00000000000027ad func.s:4757: Error: value of 0000001000003907 too large for field of 4 byte= s at 0000000000002ec7 func.s:4767: Error: value of 000000100000392d too large for field of 4 byte= s at 0000000000002ee5 --=20 You are receiving this mail because: You are on the CC list for the bug.=