public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "orgads at gmail dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-28476-4717-C2dlESUmNe@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28476-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=28476

--- Comment #18 from Orgad Shaneh <orgads at gmail dot com> ---
Created attachment 13749
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13749&action=edit
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 `getline'

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 file:
func.s:2241: Error: value of 0000001000001e8d too large for field of 4 bytes at
000000000000134d
func.s:2308: Error: value of 0000001000001f69 too large for field of 4 bytes at
0000000000001429
func.s:2336: Error: value of 0000001000001fc0 too large for field of 4 bytes at
0000000000001480
func.s:2349: Error: value of 0000001000001ff0 too large for field of 4 bytes at
00000000000014b0
func.s:2351: Error: value of 0000001000001ff8 too large for field of 4 bytes at
00000000000014b8
func.s:2505: Error: value of 00000010000021d1 too large for field of 4 bytes at
0000000000001691
func.s:2724: Error: value of 0000001000002471 too large for field of 4 bytes at
0000000000001931
func.s:2748: Error: value of 00000010000024b9 too large for field of 4 bytes at
0000000000001979
func.s:2753: Error: value of 00000010000024c9 too large for field of 4 bytes at
0000000000001989
func.s:2756: Error: value of 00000010000024d4 too large for field of 4 bytes at
0000000000001994
func.s:2948: Error: value of 0000001000002736 too large for field of 4 bytes at
0000000000001bf6
func.s:3002: Error: value of 00000010000027db too large for field of 4 bytes at
0000000000001c9b
func.s:3036: Error: value of 000000100000284b too large for field of 4 bytes at
0000000000001d0b
func.s:3114: Error: value of 0000001000002947 too large for field of 4 bytes at
0000000000001e07
func.s:3237: Error: value of 0000001000002adc too large for field of 4 bytes at
0000000000001f9c
func.s:3278: Error: value of 0000001000002b65 too large for field of 4 bytes at
0000000000002025
func.s:3951: Error: value of 00000010000032e2 too large for field of 4 bytes at
0000000000002792
func.s:3958: Error: value of 0000001000003305 too large for field of 4 bytes at
00000000000027ad
func.s:4757: Error: value of 0000001000003907 too large for field of 4 bytes at
0000000000002ec7
func.s:4767: Error: value of 000000100000392d too large for field of 4 bytes at
0000000000002ee5

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2021-10-31 19:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 19:20 [Bug gdb/28476] New: " orgads at gmail dot com
2021-10-19 19:29 ` [Bug gdb/28476] " orgads at gmail dot com
2021-10-19 19:30 ` orgads at gmail dot com
2021-10-19 19:37 ` orgads at gmail dot com
2021-10-20  4:30 ` linly2999 at gmail dot com
2021-10-22 15:16 ` [Bug sim/28476] " tromey at sourceware dot org
2021-10-22 15:58 ` vapier at gentoo dot org
2021-10-23 18:45 ` orgads at gmail dot com
2021-10-23 18:49 ` orgads at gmail dot com
2021-10-23 21:23 ` vapier at gentoo dot org
2021-10-24 22:03 ` orgads at gmail dot com
2021-10-26  4:52 ` vapier at gentoo dot org
2021-10-26 14:23 ` orgads at gmail dot com
2021-10-26 14:24 ` orgads at gmail dot com
2021-10-26 19:18 ` vapier at gentoo dot org
2021-10-27  6:30 ` orgads at gmail dot com
2021-10-27  6:33 ` orgads at gmail dot com
2021-10-31 16:56 ` vapier at gentoo dot org
2021-10-31 19:00 ` orgads at gmail dot com [this message]
2021-10-31 19:49 ` orgads at gmail dot com
2021-11-01  3:14 ` vapier at gentoo dot org
2021-11-01  5:09 ` vapier at gentoo dot org
2022-05-13  6:18 ` orgads at gmail dot com
2022-05-13 10:52 ` pedro at palves dot net
2022-05-14  1:03 ` vapier at gentoo dot org
2022-05-14 18:14 ` orgads at gmail dot com
2023-09-24 11:34 ` orgads at gmail dot com
2024-03-21 16:49 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-28476-4717-C2dlESUmNe@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).