mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
40b4eb1c52
This was required to solve the XPCOMGlueLoad error when building with LTO. However, it turns out libxul.so is supposed to have some libraries that are reported as not found by ldd. Setting the RPATH worked around the error as it forced dependency resolution but failed to fix the real issue of broken generation of dependentlibs.list. The libraries that are reported as not found by ldd are supposed to be dlopened through the logic found in nsXPCOMGlue.cpp. However since the generation of dependentlibs.list is broken under LTO this did not happen. Instead of pulling libwayland-client.so from the GTK libraries it found the stub library first (libmozwayland.so). The stub library causes (as it should) wl_display_connect to always return NULL which is the cause of the segmentation fault and LTO breaking wayland support. Remove the hardcoded path used for the XPCOMGlueLoad error workaround in NIX_LDFLAGS. libunwind is still unfortunately needed. Once the issue of the generation of dependentlibs.list being borked is fixed it should remedy the wayland crash issue on LTO. |
||
---|---|---|
.. | ||
amfora | ||
asuka | ||
av-98 | ||
bombadillo | ||
brave | ||
browsh | ||
captive-browser | ||
castor | ||
chromium | ||
dillo | ||
elinks | ||
eolie | ||
ephemeral | ||
falkon | ||
firefox | ||
firefox-bin | ||
google-chrome | ||
kristall | ||
links2 | ||
luakit | ||
lynx | ||
midori | ||
mozilla-plugins/flashplayer | ||
netsurf | ||
nyxt | ||
opera | ||
palemoon | ||
qtchan | ||
qutebrowser | ||
surf | ||
tor-browser-bundle | ||
tor-browser-bundle-bin | ||
vieb | ||
vimb | ||
vivaldi | ||
w3m | ||
webbrowser | ||
webmacs |