riscv64 libgccjit stopped working
Bug #2011487 reported by
Sergio Durigan Junior
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
gcc-12 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Hi,
This bug is affecting Emacs, as can be seen here:
https:/
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 /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_
hello world
tags: | added: update-excuse |
To post a comment you must log in.
please run strace --trace=file ./a.out