!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

225 Members
74 Servers

Load older messages


SenderMessageTime
17 Dec 2024
@rosscomputerguy:matrix.orgTristan Ross I could do that in the PR which is the next step: making linker work as expected  17:52:07
@reckenrode:matrix.orgRandy EckenrodeI was looking at doing that for the LLVM bootstrap, but adding Darwin checks everywhere was ugly. It also seemingly can’t use lld.17:52:44
@reckenrode:matrix.orgRandy Eckenrode
In reply to @rosscomputerguy:matrix.org
I could do that in the PR which is the next step: making linker work as expected 
I’m not sure the LLVM changes would be right in that case. Is linker meant to be independent of bintools?
17:54:15
@rosscomputerguy:matrix.orgTristan Ross Gotcha, yeah I'm not entirely sure how LLVM bootstrapping will be done yet 17:54:26
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
I’m not sure the LLVM changes would be right in that case. Is linker meant to be independent of bintools?
Yes
17:54:32
@reckenrode:matrix.orgRandy Eckenrode I think right now the useLLVM case assumes LLD. Darwin would use LLVM bintools and ld64 (for now). 17:55:14
@reckenrode:matrix.orgRandy EckenrodeDarwin also needs opted out of libunwind.17:56:23
@rosscomputerguy:matrix.orgTristan Ross Alright, I'll get that done when I work on the linker stuff. We might get a world rebuild from it. 17:56:35
@reckenrode:matrix.orgRandy EckenrodeThat’s why I wanted to do Darwin separately. It’s going to involve cleanup.17:56:53
@rosscomputerguy:matrix.orgTristan Ross Gotcha, do you want it completely separate from the linker PR or just separate from this first one? 17:57:24
@reckenrode:matrix.orgRandy EckenrodeIt could possibly be part of the linker PR if that is updating the LLVM build.17:58:03
@rosscomputerguy:matrix.orgTristan Ross The linker PR might be a bit big since it adjusts things like build systems or where the linker is explicitly defined. 17:58:09
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
It could possibly be part of the linker PR if that is updating the LLVM build.
Wdym by updating the LLVM build?
17:58:31
@reckenrode:matrix.orgRandy EckenrodeHold on, misread the PR. It’s checking toolchain not bintools.17:59:14
@reckenrode:matrix.orgRandy Eckenrode Darwin would still have an apple toolchain. 17:59:30
@reckenrode:matrix.orgRandy Eckenrode
In reply to @rosscomputerguy:matrix.org
Wdym by updating the LLVM build?
I was thinking it needed more granularity like if a platform used LLVM bintools, it would default to building them in the LLVM build like it does currently when useLLVM.
18:00:30
@rosscomputerguy:matrix.orgTristan Ross Oh gotcha  18:01:21
@reckenrode:matrix.orgRandy Eckenrode That seems like something to do in a follow up. 18:01:45
@rosscomputerguy:matrix.orgTristan Ross Yeah  18:01:56
@reckenrode:matrix.orgRandy Eckenrode If you can get away with setting bintools to llvm on Darwin now, I’d say go for it. Otherwise, if it requires cleanup, I say do it separately. 18:02:28
@rosscomputerguy:matrix.orgTristan Ross I'm not sure if it'll require a cleanup  18:02:50
@rosscomputerguy:matrix.orgTristan Ross I don't have time to test atm and I don't do much on Darwin. 18:03:22
@reckenrode:matrix.orgRandy Eckenrode
In reply to @rosscomputerguy:matrix.org
I'm not sure if it'll require a cleanup 
Not sure either. If nothing is being changes to check bintools, then probably not.
18:04:51
@rosscomputerguy:matrix.orgTristan Ross Stuff does check it 18:05:09
@rosscomputerguy:matrix.orgTristan Ross The bintools derivation in nixpkgs itself  18:05:21
@rosscomputerguy:matrix.orgTristan Ross It's an alias which changes based on linker and bintools in the platform  18:05:40
@rosscomputerguy:matrix.orgTristan Ross Plan is to make that only change on bintools in the platform  18:06:04
@reckenrode:matrix.orgRandy EckenrodeI don’t see that in the PR?18:07:19
@reckenrode:matrix.orgRandy Eckenrode Oh, there it is in all-packages.nix. 18:07:49
@rosscomputerguy:matrix.orgTristan Ross https://github.com/NixOS/nixpkgs/pull/365057/files#diff-ab5748dc9567516fefba8344056b51ec1866adeace380f46e58a7af3d619ea22R7903 18:08:04

Show newer messages


Back to Room ListRoom Version: 9