Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #44470: Please provide a newer GCC version
(MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Thu, 26 May 2022 08:21:59 +0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #44470: Please provide a newer GCC
version
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
#44470: Please provide a newer GCC version
Open Date: 2022-04-26 15:29
Last Update: 2022-05-26 08:21
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/44470
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=44470
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2022-05-26 08:21 Updated by: eliz
Comment:
Reply To keith
I'm not convinced that there is actually anything wrong with my installed GDB;
rather, I suspect that you were on the right track, when you pointed to a
possible binutils issue.
That's possible, of course. Is your GDB dynamically linked against any of the
Binutils libraries, like libbfd or libopcodes? My GDB is linked statically
against these libraries whose source comes within the GDB source tree. I also
find it hard to believe that there could be such significant incompatibility
between Binutils 2.33 and 2.38. I still have GDB 9.1 (also compiled locally on
my system), and it, too, can step through your binaries with no problems. So I
guess it's still somewhat a mystery.
I do note that, within the GDB-9.2 source tree, is an implementation of bfd
which proclaims its version to be 2.33.50, (so presumably abstracted from
binutils-2.33.50); thus, logically GDB-9.2 supports the ABI of bfd-2.33.50,
(and maybe earlier). Realistically, I don't expect guaranteed forward
compatibility with any more recent version of binutils, and sure enough, when I
install binutils-2.32 — earlier than the GDB-9.2 bfd version — into the
compiler's working path, I can successfully step through the resultant
executables, in GDB-9.2; OTOH, when I install either binutils-2.36.1, or
binutils-2.38 — both more recent than the GDB-9.2 bfd version — I cannot step
through the resultant executables.
You can step through both of the executables, which I provided, with GDB-12.1.
Presumably this more recent GDB supports a more recent bfd ABI — at least
compatible with binutils-2.38, whilst remaining backward compatible at least as
far as binutils-2.32. If this is indeed the case, I don't think that your
ability to debug both of my executables is evidence of anything, other than an
ABI (forward) compatibility issue.
Yes, the version of bfd in the 12.1 tree identifies itself as 2.38.50.
Anyway, I think the main issue is resolved: the GCC 10 compiler you've built
produces valid programs, and the issue with debugging seems to be unrelated to
the compiler per se.
---------------------------------------------------------------------
Ticket Status:
Reporter: eliz
Owner: (None)
Type: Feature Request
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: GCC
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
The latest version of GCC, 9.2.0, available for MinGW development, was released
almost 2 years ago and last updated more than a year ago.
Would it be possible to provide a MinGW port of a newer GCC version, like 10 or
maybe even 11?
Thanks in advance.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/44470
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=44470
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 52, Issue 8
*******************************************