about summary refs log tree commit diff
path: root/nixpkgs/pkgs
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-10-23 02:50:02 +0200
committerAlyssa Ross <hi@alyssa.is>2020-11-27 13:29:10 +0000
commit21c0d54daca2169d78e44e83bf1e9f80513167da (patch)
treea5a2278193c7654ab1aa1916cbc8d8c4abe589f0 /nixpkgs/pkgs
parent13ca618fa8fd9d180cc775b1809b302fbcefa97e (diff)
downloadnixlib-21c0d54daca2169d78e44e83bf1e9f80513167da.tar
nixlib-21c0d54daca2169d78e44e83bf1e9f80513167da.tar.gz
nixlib-21c0d54daca2169d78e44e83bf1e9f80513167da.tar.bz2
nixlib-21c0d54daca2169d78e44e83bf1e9f80513167da.tar.lz
nixlib-21c0d54daca2169d78e44e83bf1e9f80513167da.tar.xz
nixlib-21c0d54daca2169d78e44e83bf1e9f80513167da.tar.zst
nixlib-21c0d54daca2169d78e44e83bf1e9f80513167da.zip
firefox: disable LTO by default due to segfaults with wayland
As discussed in #101429 firefox 82 started crashing when used with
wayland. A brief investigation showed that this appears to be rooted
within the LTO support that was recently added to the package. For the
time being, until someone figures out where the crashes are coming from,
we can just disable LTO.

(cherry picked from commit bca15c82d89f37f5cb6cacd9b632edff6979e131)
Diffstat (limited to 'nixpkgs/pkgs')
-rw-r--r--nixpkgs/pkgs/applications/networking/browsers/firefox/common.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/applications/networking/browsers/firefox/common.nix b/nixpkgs/pkgs/applications/networking/browsers/firefox/common.nix
index ef765ca4ee34..a5c92cafee54 100644
--- a/nixpkgs/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/nixpkgs/pkgs/applications/networking/browsers/firefox/common.nix
@@ -24,7 +24,8 @@
 , gtk3Support ? true, gtk2, gtk3, wrapGAppsHook
 , gssSupport ? true, kerberos
 , waylandSupport ? gtk3Support, libxkbcommon
-, ltoSupport ? stdenv.isLinux, overrideCC, buildPackages
+# LTO is disabled since it caused segfaults on wayland see https://github.com/NixOS/nixpkgs/issues/10142
+, ltoSupport ? false, overrideCC, buildPackages
 , pipewireSupport ? waylandSupport && webrtcSupport, pipewire
 
 ## privacy-related options