!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

210 Members
66 Servers

Load older messages


SenderMessageTime
19 Aug 2025
@emilazy:matrix.orgemily which should be [ "build" "host" ], but isn't because some stuff breaks 22:40:15
@emilazy:matrix.orgemilythough maybe it's about time to just throw that in a cycle and deal with the fallout22:41:53
@emilazy:matrix.orgemily I forget what Artturin said last time I was talking about a good ordering for these things 22:42:06
@emilazy:matrix.orgemilynot sure if https://github.com/NixOS/nixpkgs/pull/181724 ended up resolved22:43:07
@emilazy:matrix.orgemilyok, yeah, https://github.com/NixOS/nixpkgs/issues/17880222:52:39
@emilazy:matrix.orgemilyI think adding wrapped prefixed compilers was the first sensible step22:52:45
@emilazy:matrix.orgemily not sure if --host without --build would trigger such problems though 22:52:53
@emilazy:matrix.orgemilyoh, it looks like we no longer re-export the prefixed ones from the wrapped packages22:59:19
@emilazy:matrix.orgemilyso maybe that's okay.22:59:21
20 Aug 2025
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 (4094@GPN23) to jopejoe1.18:50:45
21 Aug 2025
@creepinson:matrix.orgTheo Paris joined the room.22:11:07
23 Aug 2025
@Ericson2314:matrix.orgJohn Ericson emily: https://clang.llvm.org/docs/Multilib.html oh ok, it looks like this YAML is the proper way to make a multi-target wrapped compiler 00:36:49
@emilazy:matrix.orgemilythat's for multilib variants of a single architecture? which is quite different00:37:35
@emilazy:matrix.orgemilythe configuration files already support multi-target00:38:02
@Ericson2314:matrix.orgJohn Ericson emily: do the cfg file support -m flags etc afffecting which set of lookup paths it uses? 00:38:46
@emilazy:matrix.orgemilythe config files support arbitrary flags00:38:58
@emilazy:matrix.orgemily(that's all they support)00:39:00
@Ericson2314:matrix.orgJohn Ericson emily: err so as I interpret this is a way to do something like "if the user specifies --target=..... then inject -L ....." 00:59:53
@Ericson2314:matrix.orgJohn Ericsonnot just a static set of flags01:00:00
@emilazy:matrix.orgemilybut config files already offer that? they key on the target01:00:11
@Ericson2314:matrix.orgJohn Ericsonthe the conditions are more semantic than syntactic01:00:11
@Ericson2314:matrix.orgJohn Ericsoncan they key off -march and whatnot too?01:00:31
@emilazy:matrix.orgemilyhave you read the docs for the configuration files? they key on both target and language01:00:32
@emilazy:matrix.orgemilyI don't think so, but our wrappers also don't do that01:00:42
@Ericson2314:matrix.orgJohn Ericson(other ways of doing target in effect?)01:00:43
@emilazy:matrix.orgemily -march is separate from the target 01:00:54
@Ericson2314:matrix.orgJohn Ericsonyeah I was thinking about how there was that PR for hacking multi arch in CC wrapper for buildingl inux01:01:03
@emilazy:matrix.orgemily
01:01:11
@emilazy:matrix.orgemilyNote that options such as --driver-mode=, --target=, -m32 affect the search algorithm. For example, the aforementioned executable called with -m32 argument will instead search for: 01:01:13
@emilazy:matrix.orgemily *

Note that options such as --driver-mode=, --target=, -m32 affect the search algorithm. For example, the aforementioned executable called with -m32 argument will instead search for:

01:01:15

Show newer messages


Back to Room ListRoom Version: 9