nixpkgs/pkgs/applications/networking/browsers
S. Nordin Abouzahra 40b4eb1c52 firefox: simplify NIX_LDFLAGS usage
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.
2021-01-13 08:06:47 -05:00
..
amfora Merge pull request #109142 from freezeboy/remove-postinstall-amfora 2021-01-13 14:04:33 +01:00
asuka treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
av-98
bombadillo bombadillo: init at 2.3.3 2020-11-27 11:15:24 +01:00
brave treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
browsh treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
captive-browser buildGoPackage: remove platform.all from packages 2020-08-15 19:34:47 -07:00
castor treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
chromium chromiumDev: 89.0.4356.6 -> 89.0.4381.6 2021-01-09 14:53:20 +01:00
dillo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
elinks treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
eolie treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ephemeral treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
falkon treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
firefox firefox: simplify NIX_LDFLAGS usage 2021-01-13 08:06:47 -05:00
firefox-bin treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
google-chrome google-chrome: Cleanup old conditionals 2020-11-29 12:30:50 +01:00
kristall kristall: add license 2020-06-27 00:11:06 +02:00
links2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
luakit treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lynx treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
midori treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mozilla-plugins/flashplayer flashplayer: 32.0.0.453 -> 32.0.0.465 2020-12-08 21:12:29 +09:00
netsurf treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nyxt treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
opera Merge pull request #94354 from flokli/systemd-246 2020-08-24 12:42:24 +02:00
palemoon palemoon: 28.16.0 -> 28.17.0 (#107329) 2020-12-27 19:07:57 +01:00
qtchan
qutebrowser treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
surf treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tor-browser-bundle
tor-browser-bundle-bin treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vieb vieb: init at 3.1.0 2020-12-13 15:48:30 +01:00
vimb
vivaldi treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
w3m
webbrowser webbrowser: removed ccache 2020-11-21 22:21:43 -05:00
webmacs