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

Back to archive index
MinGW Notification List mingw****@lists*****
Thu Dec 31 08:57:05 JST 2020


#41070: Please include libgccjit with MinGW GCC distribution

  Open Date: 2020-12-23 17:28
Last Update: 2020-12-30 23:57

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:
2020-12-30 23:57 Updated by: keith

Comment:

Having resolved the libiberty issue described in my preceding comment, my
libgccjit build subsequently succumbed to the compilation failures, outlined in
this mail posting, viz.:

    - GCC's jit sources gratuitously use dlopen(), but neglect to include
    dlfcn.h; jit-common.h needs a patch, to work around this.
    - availability of fchmod() is gratuitously assumed (in jit-playback.c); a
    further patch is needed, to use chmod() instead.

The attached patches, 22-libgccjit-win32-dlfcn.patch, and
21-libgccjit-win32-fchmod.patch, respectively address each of these issues,
allowing the jit code to compile, and thus taking us a step closer to a
successful build.



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

Please 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