Closed vadorovsky closed 1 year ago
For anyone interested in running GNOME with musl - I gave up on GNOME entirely (for reasons not related to this PR) and switched to KDE, which builds with LLVM+musl without any issues, except this little patch for Dolphin (gentoo/musl#484) which is upstreamed. I guess Plasma 6 is not going to need any patches, yay!
I still think the patch from this PR is needed to build GNOME Shell (but I didn't try since 2 months). This condition is going to be resolved to "true" even with musl systems (it has both elf.h
and link.h
headers, but without GNU extensions):
https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/meson.build?ref_type=heads#L167-168
Which results in compiling this code, which relies on GNU extension (_DYNAMIC
, not present in musl's link.h):
https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/src/main.c#L149
If someone is interested in getting that fixed, I hope this is helpful.
The HAVE_EXE_INTROSPECTION variable is enabled if elf.h and link.h headers exist, but then the code relies on the _DYNAMIC variable which exists only in glibc link.h.