Closed hansbogert closed 2 years ago
Thanks for reporting this issue - can you post the output of snap info emacs
? Also within emacs:
M-x describe-variable
native-comp-driver-options
(or similarly C-h v
native-comp-driver-options
).
I can't reproduce this myself locally on an up-to-date Ubuntu 20.04 install so any other details you can provide would be great.
M-x describe-variable
native-comp-driver-options
(or similarlyC-h v
native-comp-driver-options
).native-comp-driver-options is a variable defined in ‘comp.el’.
Its value is ("--sysroot=/snap/emacs/966/" "-B/snap/emacs/966/usr/lib/gcc/")
Options passed verbatim to the native compiler’s back-end driver. Note that not all options are meaningful; typically only the options affecting the assembler and linker are likely to be useful.
Passing these options is only available in libgccjit version 9 and above.
This variable was introduced, or its default value was changed, in version 28.1 of Emacs. You can customize this variable.
If this helps, it's a spacemacs instance.
Thanks - so that all looks normal - I wonder if this is specific to spacemacs... can you try and come up with a minimal recipe to reproduce the issue?
Can't reproduce anymore after removing ~/.spacemacs.env
it held a couple of outdated environment variables. I never knew spacemacs created that on first start.
Hope this helps others.
Thanks, glad you were able to resolve it.
This seems to be related to #35 but I'm not well-versed enough in either snap or emacs to understand where this is going wrong: