Created attachment 904129 [details] build log This version of app-editors/zed fails to build with a linker error: ``` mold: warning: unknown command line option: -z nostart-stop-gc mold: fatal: could not open plugin file: Error loading shared library : Invalid argument clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` I had a look at the ebuild and it looks like this it due to the "-z nostart-stop-gc" being adding in to stop an LLVM 18 bug: ``` # linking error with llvm-18 export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc" ``` Since the ebuild manually overrides the linker to mold, I wasn't able to fall back to lld like normal. I've been playing around with some of the flags and different versions of mold to see if it'll work but haven't had any luck so far
Created attachment 904130 [details] emerge --info
According to https://zed.dev/blog/remote-development , upstream doesn't support musl.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb67ab670d4de98aac954ee861121348aed8ac4f commit cb67ab670d4de98aac954ee861121348aed8ac4f Author: Robert Siebeck <gentoo.2019@r123.de> AuthorDate: 2024-10-30 20:09:59 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-11-06 11:40:15 +0000 features/musl/package.mask: mask app-editors/zed Not supported by upstream, see https://zed.dev/blog/remote-development Closes: https://bugs.gentoo.org/940473 Signed-off-by: Robert Siebeck <gentoo.2019@r123.de> Closes: https://github.com/gentoo/gentoo/pull/39163 Signed-off-by: Joonas Niilola <juippis@gentoo.org> profiles/features/musl/package.mask | 4 ++++ 1 file changed, 4 insertions(+)