!UNVBThoJtlIiVwiDjU:nixos.org

Staging

289 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/101 Servers

Load older messages


SenderMessageTime
13 Sep 2025
@emilazy:matrix.orgemilyit'd just generate PIE code and then not make a PIE out of it.18:29:33
@emilazy:matrix.orgemilymaybe.18:29:49
@aloisw:julia0815.dealoisw The hardeningEnable = [ "pie" ] on pkgsStatic breaks because it gives a dynamically linked PIE with the wrong loader. 18:30:00
@aloisw:julia0815.dealoisw Due to the Go NIH linker not supporting static PIE. 18:30:17
@emilazy:matrix.orgemilyright18:30:31
@lt1379:matrix.orgLunimage.png
Download image.png
18:30:31
@lt1379:matrix.orgLun🫠18:30:34
@lt1379:matrix.orgLunmaybe i test this later18:30:39
@emilazy:matrix.orgemilyso actually maybe let's do the unconditional patch18:31:25
@emilazy:matrix.orgemily with the runtime ppc64/linux condition 18:31:29
@emilazy:matrix.orgemilybecause that breaks cross less if it even works at all currently and is simpler18:31:43
@emilazy:matrix.orgemilyso yeah I think literally like 5 line patch, one env var for the Go build, and then drop the hardening stuff from the hook18:32:01
@emilazy:matrix.orgemily and it should fix syncthing. cool 18:32:05
@emilazy:matrix.orgemilylove it when a plan comes together18:32:19
@lt1379:matrix.orgLun
  1. always set GO_EXTLINK_ENABLED = 1
  2. patch case "exe": in config.go
  3. drop NIX_HARDENING_ENABLE ~= pie test
    ?
18:32:49
@lt1379:matrix.orgLun *
  1. always set GO_EXTLINK_ENABLED = 1
  2. patch case "exe": in config.go
  3. drop NIX_HARDENING_ENABLE ~= pie test and contents
    ?
18:33:06
@lt1379:matrix.orgLun *
  1. always set GO_EXTLINK_ENABLED = 1
  2. patch case "exe": in config.go to default pie unless ppc64/linux
  3. drop NIX_HARDENING_ENABLE ~= pie test and contents
    ?
18:33:28
@aloisw:julia0815.dealoisw Some code would still probably be needed to tell Go to emit code suitable for linking into a PIE. Unless it does that by default which I somehow doubt. 18:34:31
@pyrox:pyrox.devdish [Fox/It/She] glog update: arrow-cpp needs its glog support disabled since I don't want to deal with making a patch for it since there 18:49:49
@pyrox:pyrox.devdish [Fox/It/She] glog update: arrow-cpp needs its glog support disabled since I don't want to deal with making a patch for it since there's a LOT of glog stuff, and upstream is looking at switching to a different library anyways. 18:50:06
@pyrox:pyrox.devdish [Fox/It/She] glog update: arrow-cpp needs its glog support disabled since I don't want to deal with making a patch for it since there's a LOT of glog stuff, and upstream is looking at switching to a different library anyways. Seeing if this breaks anything that depends on it. 18:50:28
@pyrox:pyrox.devdish [Fox/It/She] glog update: arrow-cpp needs its glog support disabled since I don't want to deal with making a patch for it since there's a LOT of glog stuff, and upstream is looking at switching to a different library anyways. Seeing if this breaks anything that depends on it, though I doubt it. 18:50:33
@emilazy:matrix.orgemilywait, why would it need a patch?19:02:41
@emilazy:matrix.orgemilyI thought it was meant to be compatible?19:02:45
@emilazy:matrix.orgemily set GO_EXTLINK_ENABLED = 1 for the Go build itself when not PPC64 19:03:03
@emilazy:matrix.orgemilyand otherwise yes19:03:13
@emilazy:matrix.orgemily no need for GO_EXTLINK_ENABLED in the wrapper 19:03:19
@emilazy:matrix.orgemilybecause it defaults to what Go was compiled with19:03:24
@emilazy:matrix.orgemily pretty sure this also applies to CGO_ENABLED btw… 19:04:16
@emilazy:matrix.orgemilybut not sure19:04:40

Show newer messages


Back to Room ListRoom Version: 6