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] #41070: Please include libgccjit with MinGW GCC
distribution (MinGW Notification List)
2. [mingw] #41070: Please include libgccjit with MinGW GCC
distribution (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Fri, 08 Jan 2021 22:47:26 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #41070: Please include libgccjit with
MinGW GCC distribution
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#41070: Please include libgccjit with MinGW GCC distribution
Open Date: 2020-12-23 17:28
Last Update: 2021-01-08 22:47
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-01-08 22:47 Updated by: keith
Comment:
Reply To eliz
Why is libgccjit need to depend on libintl anyway?
I guess, to provide internationalization of diagnostic messages.
gcc.exe and cc1.exe, for example, don't depend on it.
I'm puzzled, because that's not what I'm seeing here:
$ mingw32-ldd dist/staged/bin/gcc.exe
dist/staged/bin/gcc.exe
+- libiconv-2.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
+- libintl-8.dll
| +- ADVAPI32.DLL
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
| +- libgcc_s_dw2-1.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| +- libiconv-2.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
+- KERNEL32.dll
+- msvcrt.dll
+- msvcrt.dll
+- USER32.dll
and:
$ mingw32-ldd `find dist/staged -name cc1.exe`
dist/staged/libexec/gcc/mingw32/9.2.0/cc1.exe
+- libgmp-10.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
| +- libgcc_s_dw2-1.dll
| +- KERNEL32.dll
| +- msvcrt.dll
+- libiconv-2.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
+- libintl-8.dll
| +- ADVAPI32.DLL
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
| +- libgcc_s_dw2-1.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| +- libiconv-2.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
+- libisl-21.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
| +- libgmp-10.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- msvcrt.dll
| +- libgcc_s_dw2-1.dll
| +- KERNEL32.dll
| +- msvcrt.dll
+- KERNEL32.dll
+- msvcrt.dll
+- libmpc-3.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- libgmp-10.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| | +- msvcrt.dll
| | +- libgcc_s_dw2-1.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| +- libmpfr-6.dll
| +- libgmp-10.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| | +- msvcrt.dll
| | +- libgcc_s_dw2-1.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- libgcc_s_dw2-1.dll
| +- KERNEL32.dll
| +- msvcrt.dll
+- libmpfr-6.dll
| +- libgmp-10.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| | +- msvcrt.dll
| | +- libgcc_s_dw2-1.dll
| | +- KERNEL32.dll
| | +- msvcrt.dll
| +- KERNEL32.dll
| +- msvcrt.dll
| +- libgcc_s_dw2-1.dll
| +- KERNEL32.dll
| +- msvcrt.dll
+- msvcrt.dll
+- USER32.dll
However, I do see that the version of gcc.exe in FRS is double the size of my
staged copy, and appears to be statically linked with both libiconv.a and
libintl.a, rather than with libiconv.dll.a and libintl.dll.a. I think I know
why, but I'd like to review the issue; the DLL dependencies were intended.
---------------------------------------------------------------------
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
------------------------------
Message: 2
Date: Sat, 09 Jan 2021 00:02:23 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #41070: Please include libgccjit with
MinGW GCC distribution
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#41070: Please include libgccjit with MinGW GCC distribution
Open Date: 2020-12-23 17:28
Last Update: 2021-01-09 00:02
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-01-09 00:02 Updated by: keith
Comment:
Reply To eliz
Btw, judging by the Info manual that comes with libgccjit, a more
appropriate name for the DLL would be libgccjit-10.dll, since it implements
LIBGCCJIT_ABI_10 (and the next versions of GCC advance the ABI by several
more notches). MinGW64 also calls it libgccjit-0.dll, so we could adopt the
same name, regardless. But then we will need to invent ABI numbers out of
thin air for future releases, which might be sub-optimal.
Our DLL version numbering scheme, like that also used by Cygwin, is based on
the libtool interface version numbering conventions; like Cygwin, we compute
the number, included within the DLL file name, as the libtool current version
number minus the libtool age. In this case, current would appear to be 10, but,
as David has indicated, ABI 10 is backwardly compatible with ABI 0, and every
version between. Thus, age would also be 10, and the appropriate current - age
result is, indeed, 0.
This stratagem was originally promoted by Charles (Chuck) Wilson, who
contributed to both MinGW and Cygwin; his rationale was to ensure that any
dependency on a specific version of a DLL could always be satisfied, through
backward compatibility, by the most recent release of that specific version,
but there was never any expectation, much less guarantee, that older versions
of any DLL would remain forward compatible with newer applications.
---------------------------------------------------------------------
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
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 40, Issue 7
*******************************************