!UNVBThoJtlIiVwiDjU:nixos.org

Staging

350 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen114 Servers

Load older messages


SenderMessageTime
3 Oct 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de) no guarantees, but i might learn something, so i'll give it a casual poke 10:04:19
@qyliss:fairydust.spaceAlyssa RossMust be bisectable at least10:05:11
@qyliss:fairydust.spaceAlyssa RossI just haven't had the time10:05:18
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)i can do the bisect10:08:13
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de) that at least isn't hard 10:08:24
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)just takes a while because waiting for gcc compiles10:08:49
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)so uh, i just got a gcc build fail on the way to bootstrap tools...10:27:26
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)
       > /nix/store/mr6bjhlhd966kl6f2wmggsan6mbs5bcj-bootstrap-stage3-stdenv-linux/setup: line 1801: pop_var_context: head of shell_variables not a function context
       > /nix/store/mr6bjhlhd966kl6f2wmggsan6mbs5bcj-bootstrap-stage3-stdenv-linux/setup: line 1: pop_var_context: head of shell_variables not a function context

whatever this is

10:28:05
@k900:0upti.meK900 That's a stupid stdenv bug, the real error should be above that 10:30:09
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de) There is also /nix/store/mr6bjhlhd966kl6f2wmggsan6mbs5bcj-bootstrap-stage3-stdenv-linux/setup: line 297: /nix/store/7xs7kwm3010k16fmgfpypwiy0wxx03fn-binutils-patchelfed-ld-wrapper-2.44/nix-support/libc-ldflags-before: No such file or directory which might be concerning 10:31:58
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)but i accidentially killed the log, oops. Gemme 5min to upload it to termbin again10:32:28
@vcunat:matrix.orgVladimír Čunát I saw a similar case. And the relevant part seems to be ld complaining about libiberty. 10:35:21
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)ye10:38:53
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de) libiberty.a, did we kill the static build? 10:39:14
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)hmm, no, that bootstrap stage builds libiberty itself instead of pulling the dedicated package10:43:03
@vcunat:matrix.orgVladimír Čunát🤷 let's wait which commit the blame falls on. Hopefully it will help.10:44:06
@vcunat:matrix.orgVladimír Čunát

So this one?

411faf46e2c8 gcc: build with --enable-default-pie configure option (#439314)
11:22:38
@vcunat:matrix.orgVladimír Čunát Reconfirmed breaking nix build -f pkgs/top-level/release.nix stdenvBootstrapTools.x86_64-unknown-linux-gnu.test on this commit and OK on its first parent (the staging branch lineage). 11:33:49
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)uh oh11:38:32
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)that is a fat mass-rebuild, so how will we fix it?11:39:09
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index 6a1507df734d..c4b204e35837 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -50,6 +50,7 @@ rec {
   bootGCC = pkgs.gcc.cc.override {
     enableLTO = false;
     isl = null;
+    enableDefaultPie = false;
   };

   bootBinutils = pkgs.binutils.bintools.override {

Trying the naive thing rn

11:46:11
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)if this works, then we are done11:46:27
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)if this doesn't work, then emily will have to fix it XD11:47:05
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)HOLY SHIT THAT WORKS11:53:51
@k900:0upti.meK900Welp11:54:11
@k900:0upti.meK900Mes when11:54:20
@wolfgangwalther:matrix.org@wolfgangwalther:matrix.orglucky emily, then.11:54:25
@grimmauld:grapevine.grimmauld.deGrimmauld (migrated to @grimmauld:m.grimmauld.de)tbh i have no idea wtf i am doing, but if this works then i won't complain11:55:08
@vcunat:matrix.orgVladimír ČunátOff the top of my head I'm not sure how many times we roll gcc, i.e. whether the final build (stdenv.cc.cc) will really be PIE enough. But surely better this for now than blocking for long.11:56:59
@vcunat:matrix.orgVladimír Čunát * Off the top of my head I'm not sure how many times we roll gcc, i.e. whether the final build (stdenv.cc.cc) will really be PIE enough. But surely better this for now than blocking for long. 11:57:09

Show newer messages


Back to Room ListRoom Version: 6