!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

179 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=Thunderbird50 Servers

Load older messages


SenderMessageTime
20 Sep 2023
@colemickens:matrix.orgcolemickensyes20:12:45
@artturin:matrix.orgArtturinhttps://github.com/nix-community/flake-firefox-nightly/pull/2320:16:30
@k900:0upti.meK900 ⚡️So this is a problem 20:32:32
@k900:0upti.meK900 ⚡️Based on the conversation on the issue, Firefox basically hardcodes an offset into the binary now 20:32:55
@k900:0upti.meK900 ⚡️Which means patchelf can't really be expected to work 20:33:14
@k900:0upti.meK900 ⚡️Unless 20:33:44
@k900:0upti.meK900 ⚡️Unless we do even more horrible things 20:34:18
@hexa:lossy.networkhexain all fairness, they do call it a hack20:36:23
@k900:0upti.meK900 ⚡️I think I have a horrible idea but I'll have to look at patchelf code to see if it can work 20:39:26
@k900:0upti.meK900 ⚡️Basically, what if instead of moving all the sections around, we just unlist the old dynamic section and add our new one at the end 20:42:53
@k900:0upti.meK900 ⚡️ Actually I wonder what the linker will do if you just have more than one .dynamic section 20:44:03
@colemickens:matrix.orgcolemickens
In reply to @artturin:matrix.org
https://github.com/nix-community/flake-firefox-nightly/pull/23
ready? I can merge
20:48:41
@colemickens:matrix.orgcolemickensoops, just saw its still a draft. no rush20:48:59
@artturin:matrix.orgArtturinready20:50:23
@colemickens:matrix.orgcolemickens
In reply to @artturin:matrix.org
ready
done
20:57:19
@k900:0upti.meK900 ⚡️For posterity, last one wins: https://elixir.bootlin.com/glibc/latest/source/elf/rtld.c#L115220:58:36
@k900:0upti.meK900 ⚡️But also this is definitely a glibcism and the manual says to not do that 20:58:55
@k900:0upti.meK900 ⚡️Also the person on the issue actually read patchelf source code and it turns out we already basically do the bad cursed thing 21:00:39
@k900:0upti.meK900 ⚡️Except we also clobber the old data explicitly 21:00:48
@k900:0upti.meK900 ⚡️Which I guess we can just not do 21:00:53
@colemickens:matrix.orgcolemickens Artturin: don't want to rush you, but trying to be cognizant of the nix-community "namespace" (ugh) minutes available: https://github.com/nix-community/flake-firefox-nightly/pull/24 let me know what you think 21:46:06
@artturin:matrix.orgArtturinroberth approved https://github.com/NixOS/nixpkgs/pull/19259321:46:52
@artturin:matrix.orgArtturinmerged it21:47:50
@colemickens:matrix.orgcolemickensoh, that's small enough I feel comfort looking and ...21:47:54
@colemickens:matrix.orgcolemickensand ope its gone21:47:56
@artturin:matrix.orgArtturinwe can limit the test time because the building shouldn't take longer than 10 min right21:48:51
@colemickens:matrix.orgcolemickensyeah, that's what the PR says :D21:49:02
@artturin:matrix.orgArtturinand then limit the nixos test to some seconds or minutes21:49:03
@colemickens:matrix.orgcolemickensfor now I just big-hammered-it and limited the whole workflow run because it was easy21:49:26
@colemickens:matrix.orgcolemickensregarding your merged nixos-test change: on the one hand we/you could add master as an input to use it, but also, I'm not sure how long it's going to take to fix this properly anyway21:49:37

Show newer messages


Back to Room ListRoom Version: 9