!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

234 Members
75 Servers

Load older messages


SenderMessageTime
21 Apr 2025
@reckenrode:matrix.orgRandy Eckenrode
In reply to @rosscomputerguy:matrix.org
I wonder if the GCC refactoring could fix https://github.com/NixOS/nixpkgs/pull/399656#issuecomment-2814602431 lol
Is the goal to enable LTO for everything? That seems risky for packages not written with LTO in mind (e.g., ld64 is prone to crashing when built LTO enabled).
14:33:56
@reckenrode:matrix.orgRandy Eckenrode
In reply to @rosscomputerguy:matrix.org
I wonder if the GCC refactoring could fix https://github.com/NixOS/nixpkgs/pull/399656#issuecomment-2814602431 lol
*
14:34:13
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
Is the goal to enable LTO for everything? That seems risky for packages not written with LTO in mind (e.g., ld64 is prone to crashing when built LTO enabled).
Pretty much
14:34:57
@rosscomputerguy:matrix.orgTristan RossWe'll have to come up with something which can override the platform attributes in the stdenv to change the platform to disable LTO.14:35:45
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) https://github.com/NixOS/nixpkgs/pull/394610
some preparations for pkg-config -> pkgconf, with discussion about how to add a hook that should probably be default. Feedback would be appreciated.
14:38:03
@rosscomputerguy:matrix.orgTristan Ross I just realized that I could change the CC wrapper and add an optional thing to enable or disable LTO 14:42:56
@emilazy:matrix.orgemilyit looks good in principle but it shouldn't land before 25.1114:46:59
@emilazy:matrix.orgemilyso haven't put effort into reviewing as I'm focused on 25.05 prep14:47:08
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)ah fair fair14:47:18
@emilazy:matrix.orgemilythe Darwin bootstrap stuff is awkward14:47:32
@emilazy:matrix.orgemilyarguably this should just be in the bootstrap tools, although having ported it to Python makes that kind of impossible14:47:51
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) its python-minimal, specifically to not do string manipulation in C. I understand python-minimal is available early enough? 14:48:44
@reckenrode:matrix.orgRandy EckenrodeDarwin bootstrap gets a fully functional Python in stage 1.14:52:34
@reckenrode:matrix.orgRandy EckenrodeRedacted or Malformed Event14:54:36
@reckenrode:matrix.orgRandy Eckenrode* Though having Python pulled into the stdenv is going to add it to the stdenv closure size. Darwin is already huge, so what’s another however many tens or hundreds of MiB. I don’t know about Linux.14:54:42
@reckenrode:matrix.orgRandy EckenrodeNot sure why this should be in the bootstrap tools. Can’t it be built in stage 1?14:57:12
@rosscomputerguy:matrix.orgTristan RossAny objections to documenting platform tier support?21:45:32
@rosscomputerguy:matrix.orgTristan RossIf not, we should discuss what the tiers look like and what each platform fits into.21:46:51
@emilazy:matrix.orgemilyit's already documented21:51:46
@rosscomputerguy:matrix.orgTristan RossWait, where?21:56:08
@emilazy:matrix.orgemilyNixpkgs manual21:56:20
@emilazy:matrix.orgemilyfirst section, https://nixos.org/manual/nixpkgs/stable/#chap-platform-support21:56:35
@rosscomputerguy:matrix.orgTristan Ross Oh, that's just a list of commonly supported platforms 21:57:26
@rosscomputerguy:matrix.orgTristan RossNot a platform support tier list21:57:38
@emilazy:matrix.orgemilyit links to the platform tier list RFC21:59:50
@emilazy:matrix.orgemilywhich was approved but failed to make complete contact with reality21:59:59
@emilazy:matrix.orgemily which is something like x86_64-linux Tier 1, aarch64-linux Tier 1.5, aarch64-darwin Tier 2, x86_64-darwin Tier 2.5, i686-linux Tier 3, everything else tier nothing 22:00:48
@emilazy:matrix.orgemilyRFCs are immutable so the appendix will never be updated, but in principle we have accepted the tiers themselves22:01:15
@emilazy:matrix.orgemilyand they have quite detailed descriptions22:01:21
@emilazy:matrix.orgemilyin practice the biggest tier distinction is just "used on NixOS infra" vs. "not used on NixOS infra"22:01:54

Show newer messages


Back to Room ListRoom Version: 9