@doko, Arch Linux staff here. The reason we reverted the glibc commit has nothing to do with rebuilding electron with bfd or gold linkers. lld works fine, and we use it in our distribution electron packages without issue!
The problem is entirely due to people who ship proprietary electron applications containing *old* prebuilt electron binaries provided by the Electron project. Prebuilt binaries are pretty unfortunate in general, and the fact that they're broken just goes to show how utterly right we were to use the system lld when building electron, but, that doesn't help people who use prebuilt packages! There's a couple solutions to the problem of prebuilt binaries with invalid codegen: - Rebuild all electron applications so they utilize the correctly linked system electron, including rebuilding the binary node extensions that are proprietary and don't have available source code. Then convince all Ubuntu users to exclusively use these applications from the Ubuntu repositories. Wait, what system electron? Ubuntu doesn't have one. Also, that's a lot of applications to rebuild, and how do you know which ones users need? - Force all proprietary software using electron, to build their own updates incorporating the new electron 2.0.8 (that is notable because the electron build scripts which use a private clang/llvm/lld toolchain, have updated their toolchain to not use a broken lld revision). Good luck getting that to happen! - Revert the glibc commit, which means you're certainly no worse off than glibc 2.27 used to be, and which lets binaries in the wild still work, at least for a couple months until more proprietary applications get fixed. ... I entirely sympathize with the desire to say "prebuilt binaries suck and it's not our fault if they're also broken, maybe if their stuff is broken on Ubuntu they'll be worried enough to fix it pronto". I'm merely commenting on the options, with the observation that someone with more authority than me chose to use the patch in Arch Linux. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1790966 Title: Electron apps segfault on glibc 2.28 (cosmic) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1790966/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs