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

Back to archive index
MinGW Notification List mingw****@lists*****
Wed Dec 30 22:41:51 JST 2020


#41070: Please include libgccjit with MinGW GCC distribution

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

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 13:41 Updated by: keith

Comment:

As noted in the referenced mailing list thread, I've chosen to explore this,
with respect to the existing GCC-9.2.0 package set.

Having perused the relevant online GCC documentation, I note that I should
configure with --enable-host-shared, when adding jit to the --enable-languages
set. Since the principal effect of --enable-host-shared is to force generation
of position independent code, within shared object libraries, this seems kind
of redundant on MS-Windows, where code in DLLs is always position independent
anyway; however, without --enable-host-shared, the configure script rejects the
addition of jit to --enable-languages, so I configured as instructed. This
immediately led into the first jit build issue: with --enable-host-shared, the
generated libiberty object code is expected to reside in a libiberty/pic build
directory, but no such directory is ever built for --target=mingw32!

Initially, as stated in my first response to the mail thread, I kludged around
this, (on my GNU/Linux build host), by running 'cd libiberty; ln -s . pic'
after the make aborted, and then restarted make. Obviously, such kludges are
not satisfactory in any ultimate solution, so, drawing inspiration from this
patch set, as suggested in Eli's follow-up mail, I've implemented the attached
patch, to resolve this particular aspect of the issue.



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