[MinGW-Notify] [mingw] #41070: Please include libgccjit with MinGW GCC distribution

Back to archive index
MinGW Notification List mingw****@lists*****
Sun Mar 7 00:11:14 JST 2021


#41070: Please include libgccjit with MinGW GCC distribution

  Open Date: 2020-12-23 19:28
Last Update: 2021-03-06 17:11

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

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

Last Changes/Comment on this Ticket:
2021-03-06 17:11 Updated by: eliz

Comment:

Keith, thank you for your work on porting libgccjit to MinGW.
I have now quite successfully used this to build the latest version of the "native-comp" branch of GNU Emacs using mingw.org's MinGW tools.
However, there seems to be a fly in the ointment: Emacs built with the library sometimes (rarely) crashes when calling libgccjit functions.  It crashes in strange ways: the C stack seems to be smashed when it does (GDB is unable to show a backtrace), and stepping through the Emacs code which involves libgccjit calls affects which of the libgccjit calls crashes(!).
So I need to put some serious debugging into this, but the fact that libgccjit-0.dll is stripped of all debug symbols gets in the way.  Would it be possible for you to make the DLL with the debug symbols available for download?
Also, the GCC source distribution on the MinGW site seems to be before applying all the MinGW patches: at least the libgccjit patches seem to be not applied.  is that intentional?


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

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

Ticket details:

ease add libgccjit to the binaries included in the MinGW GCC distributions.
This is required to be able to build projects that use libgccjit for JIT compilation of code.
One example of this is "gccemacs", a branch of GNU Emacs development (soon to land
on the master branch of Emacs) that compiles Emacs Lisp programs into native x86 code
for faster runtime performance.
Thank you.


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



More information about the MinGW-Notify mailing list
Back to archive index