!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

180 Members
A room about a number of weird animals (also known as Mozilla products): Firefox, Thunderbird, Spidermonkey, NSS, cacert. Also a little bit of fun times, small amounts of extreme, when building weird animals. But for bugs please file GitHub issues. | Release Schedule: https://whattrainisitnow.com | Crash-Stats: https://crash-stats.mozilla.org/search/?distribution_id=%3Dnixos&product=Firefox&product=Thunderbird51 Servers

Load older messages


SenderMessageTime
24 Nov 2023
@yannis:mozilla.orgyannis * This bug is already fixed in tree and should reach users soon with 120.0.1 Yureka (she/her) 11:32:20
@yannis:mozilla.orgyannis * This bug is already fixed in tree and the fix should reach users soon with 120.0.1 Yureka (she/her) 11:32:44
@yannis:mozilla.orgyannis * This bug (the one about 16K page size) is already fixed in tree and the fix should reach users soon with 120.0.1 Yureka (she/her) 11:35:05
@l-88:matrix.orgl-88what is the wrapped firefox version ?11:41:15
@9hp71n:matrix.org9hp71n joined the room.11:55:42
@nbp:mozilla.orgnbphttps://github.com/NixOS/nixpkgs/commit/8f1180704ac3 <-- the matching commit, not sure this is the revision which introduced the issue.12:04:19
@nbp:mozilla.orgnbp * https://github.com/NixOS/nixpkgs/commit/8f1180704ac3 <-- the matching commit, not sure this is the revision which introduced the issue. (This is likely to be unrelated) 12:05:26
@nbp:mozilla.orgnbp As a temporary work-around firefox-bin does not have the problem, only firefox 12:10:05
@l-88:matrix.orgl-88yeah. I was wondering if it wouldn't be better to use this package eventually. Is there any advantage to using firefox instead firefox-bin ?12:27:18
@yannis:mozilla.orgyannisIf someone knows well what decides how NixOS links with libstdc++ please read https://github.com/NixOS/nixpkgs/issues/269571#issuecomment-182562119812:43:34
@yannis:mozilla.orgyannis * If someone knows well what decides how NixOS builds link with libstdc++ please read https://github.com/NixOS/nixpkgs/issues/269571#issuecomment-182562119812:43:48
@hexa:lossy.networkhexa l-88: what nixos version are you on btw? 12:56:24
@hexa:lossy.networkhexaah yeah, seems to be limited to 23.0512:58:13
@hexa:lossy.networkhexahm12:58:14
@l-88:matrix.orgl-88yes 23.0513:00:54
@hexa:lossy.networkhexa
In reply to @yannis:mozilla.org
If someone knows well what decides how NixOS builds link with libstdc++ please read https://github.com/NixOS/nixpkgs/issues/269571#issuecomment-1825621198
reposted to #stdenv:nixos.org
13:06:47
@yannis:mozilla.orgyannisThanks!14:01:41
@yannis:mozilla.orgyannisOn the Firefox side we are only receiving crashes from 23.0514:02:02
@hexa:lossy.networkhexayes, I checked the crash stats to confirm that earlier14:02:19
@hexa:lossy.networkhexaok, so firefox 120.0 isn't crashing for me exactly14:34:44
@hexa:lossy.networkhexabut webgl support is failing with14:34:52
@hexa:lossy.networkhexa

Status: WebGL creation failed: * WebglAllowWindowsNativeGl:false restricts context creation on this system. () * Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)

14:34:56
@hexa:lossy.networkhexaso I'm having a hard time to reproduce14:35:12
@nbp:mozilla.orgnbpI was able to reproduce the issue earlier. I can try patches if needed.14:35:37
@yannis:mozilla.orgyannis Also nm -D can be used first to distinguish good builds from bad builds if you can't reproduce. 14:37:53
@hexa:lossy.networkhexa
$ nm -D result/bin/.firefox-wrapped| grep _S_initialize
00000000000c55c0 T _ZNSt6locale13_S_initializeEv
00000000000c5560 T _ZNSt6locale18_S_initialize_onceEv
00000000000c2860 T _ZNSt6locale5facet18_S_initialize_onceEv
14:44:09
@hexa:lossy.networkhexa ok, the T here is bad 14:44:16
@hexa:lossy.networkhexa
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index aadbb32d6e02..7a00670ebc44 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -497,6 +497,8 @@ buildStdenv.mkDerivation ({
 
   preBuild = ''
     cd mozobj
+  '' + lib.optionalString (stdenv.cc.isGNU) ''
+    export NIX_LDFLAGS="-L${stdenv.cc.cc.lib}/lib"
   '' + lib.optionalString (lib.versionAtLeast version "120") ''
     # https://bugzilla.mozilla.org/show_bug.cgi?id=1864083
     export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
14:44:38
@hexa:lossy.networkhexa *
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index aadbb32d6e02..7a00670ebc44 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -497,6 +497,8 @@ buildStdenv.mkDerivation ({
 
   preBuild = ''
     cd mozobj
+  '' + lib.optionalString stdenv.cc.isGNU ''
+    export NIX_LDFLAGS="-L${stdenv.cc.cc.lib}/lib"
   '' + lib.optionalString (lib.versionAtLeast version "120") ''
     # https://bugzilla.mozilla.org/show_bug.cgi?id=1864083
     export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
14:44:52
@hexa:lossy.networkhexathis is the patch I'm trying14:44:58

Show newer messages


Back to Room ListRoom Version: 9