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)
   2. [mingw] #44470: Please provide a newer GCC version
      (MinGW Notification List)
   3. [mingw] #44470: Please provide a newer GCC version
      (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Wed, 25 May 2022 20:24:07 +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-25 20:24

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-25 20:24 Updated by: eliz

Comment:

Reply To keith

Sure.  I've attached a tarball, containing the (trivial) source, together with 
two variants of the executable, both compiled with:
{{{
$ mingw32-gcc -g -O0 foo.c -o foo-gcc-10.2.0-binutils-2.3x.exe
}}}
(with the respectively named binutils version installed in the 
mingw32-gcc-10.2.0 path).  The binutils-2.32 variant (which uses the same 
binutils version as my GDB build) can be successfully debugged; the 
binutils-2.38 variant cannot.

Also, maybe try using -gdwarf-2 when compiling the program, perhaps the problem 
is due to the debug info, not the executable code.

-gdwarf-2 or -g makes no difference: binutils-2.32 is okay; binutils-2.38 is 
not.
Thanks.  I unpacked the archive, and GDB 12.1 that I built myself can debug 
both executables without any trouble on native MS-Windows XPSP3.  I've 
successfully stepped through both programs from start to exit.
So I think there's no problem with the compiler, just with the debugger you 
have there.


---------------------------------------------------------------------
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


------------------------------

Message: 2
Date: Wed, 25 May 2022 20:31:14 +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-25 20:31

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-25 20:31 Updated by: eliz

Comment:

Reply To keith

I firmly believe that the maintainer needs to develop a solid understanding of 
the build process, and that isn't going to be achieved by simply repeating, 
parrot fashion, what I have done.
Yes, I agree.  But reading patches and descriptions of configuration options 
used by someone experienced frequently gives ideas and focuses attention on 
important aspects of the build.  It is not easy to find relevant optional 
features in the output of configure --help, and their short descriptions 
usually leave a lot of questions unanswered, and thus make the decisions 
regarding them difficult.
I use mingw-pkg to manage my builds, and yes, I would be willing to publish the 
package specification files, and patch sets, which I have used — in any case, 
they are already included in the MinGW.OSDN source tarballs for each of the 
packages which I have published.  I am also prepared to answer any questions, 
from a prospective new maintainer, to help him/her to get up to speed.

I have also begun to create web pages — each a work-in-progress, rather 
incomplete, and as yet unpublished — to document mingw-pkg usage, and to 
describe how I set about using it to build a GNU/Linux hosted GCC 
cross-compiler.  I could make them available, even in their incomplete state, 
as preview editions, if deemed desirable.  (FWIW, my mingw-pkg build 
specifications, for both GCC and binutils, support building of both the 
cross-compiler, and native-compiler — crossed-native, for my builds — 
components, simply by adjustment of the mingw-pkg command line options).
Thanks, I think this will be very useful, should Someone(TM) decide to step up.


---------------------------------------------------------------------
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


------------------------------

Message: 3
Date: Wed, 25 May 2022 22:02:44 +0100
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 13:29
Last Update: 2022-05-25 22:02

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-25 22:02 Updated by: keith

Comment:

Reply To eliz
So I think there's no problem with the compiler, just with the debugger you 
have there.
The debugger I have here is the same GDB-9.2 as can be found here; it was 
compiled from original GDB sources, with no patches applied.  The only oddity 
is that the release encapsulates two distinct builds, one configured 
--with-python, and one --without-python, (with distinctly renamed gdb.exe 
variants), and the gdb.exe supplied is a simple wrapper, which delegates to one 
or other of the renamed variants, depending on whether, or not, a LoadLibrary() 
call can successfully load an appropriate python DLL.
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.  Both of the foo.exe variants, which I provided, were 
compiled by identically the same mingw32-gcc-10.2.0 cross-compiler, the only 
difference being in the version of binutils which was installed into that 
compiler's working path, at the time of compilation.  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.

---------------------------------------------------------------------
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 7
*******************************************

Reply via email to