[Bug 2011487] Re: riscv64 libgccjit stopped working
Sergio Durigan Junior
2011487 at bugs.launchpad.net
Thu Jul 27 22:36:56 UTC 2023
I ran the test on Mantic using both gcc-12 and gcc-13, and I can't
reproduce this anymore. Marking the bug as Fix Released.
** Changed in: emacs (Ubuntu)
Status: New => Fix Released
** Changed in: gcc-12 (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-12 in Ubuntu.
https://bugs.launchpad.net/bugs/2011487
Title:
riscv64 libgccjit stopped working
Status in emacs package in Ubuntu:
Fix Released
Status in gcc-12 package in Ubuntu:
Fix Released
Bug description:
Hi,
This bug is affecting Emacs, as can be seen here:
https://launchpad.net/ubuntu/+source/emacs/1:28.2+1-12ubuntu1/+build/25649207
I was able to track this down to a problem with libgccjit and
LIBRARY_PATH on riscv64. Basically, compiling the example program
from https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html and
running it leads to:
$ gcc /tmp/1.c -lgccjit
$ ./a.out
ld: cannot find crtbeginS.o: No such file or directory
libgccjit.so: error: error invoking gcc driver
NULL result
If we explicitly specify LIBRARY_PATH, it works:
$ LIBRARY_PATH=/usr/lib/gcc/ ./a.out
hello world
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/2011487/+subscriptions
More information about the foundations-bugs
mailing list