FS#70280 - Enable jit in GCC
Attached to Project:
Arch Linux
Opened by Sujith (sujith) - Saturday, 03 April 2021, 09:40 GMT
Last edited by freswa (frederik) - Monday, 28 February 2022, 15:02 GMT
Opened by Sujith (sujith) - Saturday, 03 April 2021, 09:40 GMT
Last edited by freswa (frederik) - Monday, 28 February 2022, 15:02 GMT
This task depends upon
Closed by freswa (frederik)
Monday, 28 February 2022, 15:02 GMT
Reason for closing: Implemented
Additional comments about closing: gcc 11.2.0-4
Monday, 28 February 2022, 15:02 GMT
Reason for closing: Implemented
Additional comments about closing: gcc 11.2.0-4
And there are several emacs-28 pre-release AUR packages depending on it. (Well, I guess the AUR package will be updated anytime soon so that those will be usable again, so no hurries. But of course it would be nice if one didn't have this breakage on gcc upgrades eventually.)
https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg00197.html
Enabling language "jit" requires --enable-host-shared.
--enable-host-shared typically slows the rest of the compiler down by
a few %, so you must explicitly enable it.
If you want to build both the jit and the regular compiler, it is often
best to do this via two separate configure/builds, in separate
directories, to avoid imposing the performance cost of
--enable-host-shared on the regular compiler.
So this package should be built separated from the main toolchain.
If there's some issue like lack of testing, I'd very much like to help. E.g., if you have some PKGBUILD available already, I'd build it and test-drive the result on my machine and report back.
EDIT: I'm now using it and it seems to work fine. Thanks a lot!