nixpkgs/pkgs/applications
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
..
accessibility treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
audio Merge pull request #90580 from fps/add-tap-plugins 2021-01-12 17:03:56 +01:00
backup treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
blockchains Merge pull request #109018 from 06kellyjac/exodus 2021-01-13 08:49:47 +01:00
display-managers treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
editors emacsPackages.melpa-packages: 2021-01-13 2021-01-13 03:54:10 +01:00
gis treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
graphics ufraw: remove 2021-01-13 00:30:46 +01:00
kde kdeApplications.kaccounts-integration: unbreak derivation 2021-01-03 20:22:15 +00:00
logging/humioctl treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
misc Merge pull request #90272 from alexfmpe/bump-printrun 2021-01-13 08:50:28 +01:00
networking firefox: simplify NIX_LDFLAGS usage 2021-01-13 08:06:47 -05:00
office Merge pull request #108976 from oyren/portfolio-0.50.0 2021-01-11 17:34:58 +01:00
printing/pappl pappl: init at 1.0.0 2020-12-25 19:42:50 -08:00
qubes/qubes-core-vchan-xen treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
radio treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
science nasc: Fix compilation with gcc10 2021-01-11 12:08:20 +01:00
search treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
system treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
terminal-emulators treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
version-management Merge pull request #109130 from yoctocell/gita-0.11.9 2021-01-13 08:44:12 +01:00
video Merge pull request #108951 from erictapen/sub-batch-init 2021-01-11 22:56:56 +01:00
virtualization docker: 19.03.4 -> 20.10.2 (#108960) 2021-01-13 11:33:14 +01:00
window-managers i3, i3-gaps: 4.18.3 -> 4.19 2021-01-12 16:55:21 +01:00