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] #39146: mingw linker creates invalid PE files
      (MinGW Notification List)
   2. [mingw] #39245: setjmp.h wrong parameters to _setjmp3
      (MinGW Notification List)
   3. [mingw] #39246: Please update MSYS awk; current awl-3.1.7
      implementation is too old to remain viable (MinGW Notification List)
   4. [mingw] #39246: Please update MSYS awk; current awk-3.1.7
      implementation is too old to remain viable (MinGW Notification List)


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

Message: 1
Date: Thu, 16 May 2019 21:22:51 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39146: mingw linker creates invalid
        PE files
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39146: mingw linker creates invalid PE files

  Open Date: 2019-04-20 01:00
Last Update: 2019-05-16 21:22

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/39146
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39146

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

Last Changes/Comment on this Ticket:
2019-05-16 21:22 Updated by: keith
 * Status Update from Open to Closed

 * Resolution Update from None to Won't Fix


Comment:

I take issue with your assessment, and am closing this as "won't fix" — not
that we could fix it anyway, because it is not our bug! My reasoning goes as
follows:—

 1. Microsoft's dumpbin tool is hardly an effective yardstick for determination
    of the validity of PE-COFF executables.
 2. By your own admission, the git.exe about which you complain, can be loaded
    and executed successfully by Windows, and Microsoft's windbg can parse it;
    that, for me, is a more effective validation yardstick.
 3. This git.exe is a third party product, which we neither distribute, nor
    maintain; furthermore, there is no evidence that our tools play any part in
    its creation — on the contrary, there is strong evidence that they do not!

On this basis, I conclude that it is not git.exe which is at fault, but rather
dumpbin which is defective; only Microsoft can fix that.



---------------------------------------------------------------------
Ticket Status:

      Reporter: brucedawson
         Owner: (None)
          Type: Issues
        Status: Closed
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: Won't Fix
---------------------------------------------------------------------

Ticket details:

When using git.exe on Windows as part of the Chromium project I tried to obtain
details about the debug information (PDB files) associated with git.exe by
using Visual Studio's dumpbin. This failed due to invalid fields in the git.exe
PE file. Details can be found in this Visual Studio bug:

https://developercommunity.visualstudio.com/content/problem/386596/
dumpbin-fails-on-gitexe-for-windows.html

Although Microsoft may update dumpbin to work around this bug in the git.exe
binary as created by mingw it would be preferable if mingw would stop creating
invalid PE files.

I obtained git.exe from https://github.com/git-for-windows/git/tree/
v2.19.1.windows.1



-- 
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/39146
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39146


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

Message: 2
Date: Thu, 16 May 2019 22:31:37 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39245: setjmp.h wrong parameters to
        _setjmp3
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39245: setjmp.h wrong parameters to _setjmp3

  Open Date: 2019-05-15 19:13
Last Update: 2019-05-16 22:31

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/39245
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39245

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

Last Changes/Comment on this Ticket:
2019-05-16 22:31 Updated by: keith
 * Status Update from Open to Closed

 * Resolution Update from None to Invalid


Comment:

Sorry, but I cannot see any correlation between this report, and the content of
our <setjmp.h> implementation, as can be seen here. Consequently, I am closing
this, as it appears to be invalid in the MinGW.org context; (we do not support
tha products of other projects, which illegally abuse our registered
trademark).



---------------------------------------------------------------------
Ticket Status:

      Reporter: rich_coe
         Owner: (None)
          Type: Issues
        Status: Closed
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: Invalid
---------------------------------------------------------------------

Ticket details:

According to https://docs.microsoft.com/en-us/cpp/c-runtime-library/setjmp3

The correct api is int _setjmp3(jmp_buf env, int count, ....) where count is
the number of parameters that follow.

On 32-bit, as of e33afcd864a4e90a7b170585d802a3f85fbe7dfe, the setjmp.h that
got generated, maps setjmp(buf) to _setjmp3(buf, NULL)

I don't know what issue this causes, but as setjmp (_setjmp3()) is returning
-1, it might be an issue.

Also on the same page, _setjmp3 should not be used in a c++ context. The header
setjmp does not prevent _setjmp3 for c++.

There's a define USE_NO_MINGW_SETJMP_TWO_ARGS, which controls the number of
args to setjmp, but I don't know why yet.



-- 
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/39245
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39245


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

Message: 3
Date: Thu, 16 May 2019 23:44:11 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39246: Please update MSYS awk;
        current awl-3.1.7 implementation is too old to remain viable
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39246: Please update MSYS awk; current awl-3.1.7 implementation is too old to 
remain viable

  Open Date: 2019-05-16 23:44
Last Update: 2019-05-16 23:44

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/39246
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39246

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

Last Changes/Comment on this Ticket:
2019-05-16 23:44 Updated by: keith
 * New Ticket "Please update MSYS awk; current awl-3.1.7 implementation is too 
old
to remain viable" created



---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: cstrauss
          Type: Feature Request
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: MSYS
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

While developing this Mercurial Queues emulation for Git, which will be
required to support git integration for this proposed MinGW package builder
tool, I've run into a problem with the MSYS implementation of awk. On my LMDE
system, I have awk-4.0.1, and I've written an emulator for "git qselect
--series", (which I've yet to publish to the git-mq chamber). This used gawk's
"asorti()" function, with a custom sort-comparator function, to present the
output in lexically sorted order; it works fine in awk-4.0.1, but fails on
MSYS, which offers only awk-3.1.7; (the "asorti()" function appears to be
supported, but the custom comparator function reference parameter is rejected).

I've since reworked my "git qselect --series" emulation, using my own "qsort()"
function implementation, instead of gawk's "asorti()" function. This makes the
entire emulation significantly more portable, but it may still make sense to
upgrade the MSYS implementation of awk, such that it will support more modern
gawk features.



-- 
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/39246
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39246


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

Message: 4
Date: Thu, 16 May 2019 23:44:56 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39246: Please update MSYS awk;
        current awk-3.1.7 implementation is too old to remain viable
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39246: Please update MSYS awk; current awk-3.1.7 implementation is too old to 
remain viable

  Open Date: 2019-05-16 23:44
Last Update: 2019-05-16 23:44

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/39246
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39246

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

Last Changes/Comment on this Ticket:
2019-05-16 23:44 Updated by: keith
 * Summary Updated



---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: cstrauss
          Type: Feature Request
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: MSYS
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

While developing this Mercurial Queues emulation for Git, which will be
required to support git integration for this proposed MinGW package builder
tool, I've run into a problem with the MSYS implementation of awk. On my LMDE
system, I have awk-4.0.1, and I've written an emulator for "git qselect
--series", (which I've yet to publish to the git-mq chamber). This used gawk's
"asorti()" function, with a custom sort-comparator function, to present the
output in lexically sorted order; it works fine in awk-4.0.1, but fails on
MSYS, which offers only awk-3.1.7; (the "asorti()" function appears to be
supported, but the custom comparator function reference parameter is rejected).

I've since reworked my "git qselect --series" emulation, using my own "qsort()"
function implementation, instead of gawk's "asorti()" function. This makes the
entire emulation significantly more portable, but it may still make sense to
upgrade the MSYS implementation of awk, such that it will support more modern
gawk features.



-- 
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/39246
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39246


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

Subject: Digest Footer

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


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

End of MinGW-Notify Digest, Vol 20, Issue 5
*******************************************

Reply via email to