!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
126 Servers

Load older messages


SenderMessageTime
18 Dec 2025
@emilazy:matrix.orgemily(I also don't think one GCC build per target is that bad though)15:46:18
@emilazy:matrix.orgemily(if you don't want to rebuild a compiler per target my suggestion is to use LLVM :) )15:46:26
@rosssmyth:matrix.org@rosssmyth:matrix.orgI would like to use llvm at work but that has its own challenges that I have not been able to solve yet. Mainly around libgcc and linker scripts. 15:47:12
@rosssmyth:matrix.org@rosssmyth:matrix.organd asm15:48:07
@rosssmyth:matrix.org@rosssmyth:matrix.orgBecause Clang does not support the same asm as gcc, it supports mainly a subset of what gcc does 15:48:37
@emilazy:matrix.orgemilydo you target so many ARM versions (with so little builder resources) that building some GCCs is untenable?15:49:19
@emilazy:matrix.orgemilythat said, multilib support wouldn't be a terrible thing15:49:27
@emilazy:matrix.orgemily it would certainly make K900 very happy, for i686 reasons 15:49:32
@rosssmyth:matrix.org@rosssmyth:matrix.orgMainly just two. 15:50:13
@rosssmyth:matrix.org@rosssmyth:matrix.orgOnce in a while a third one15:50:38
@rosssmyth:matrix.org@rosssmyth:matrix.orgAnd the builder resources & cache is just my laptop. Such is life as a software engineer at a hardware company. 15:51:58
@emilazy:matrix.orgemilyfor prod builds too? 🫣15:52:49
@rosssmyth:matrix.org@rosssmyth:matrix.orgI don't really mind building GCC on my laptop. The real issue is GCC on GHA. 15:52:56
@rosssmyth:matrix.org@rosssmyth:matrix.orgOf course. 15:53:03
@rosssmyth:matrix.org@rosssmyth:matrix.orgWorking at a company as the newest hire in like 20 years has some funny things about using contemporary software engineering practices 15:53:53
@rosssmyth:matrix.org@rosssmyth:matrix.orgI am one of two software engineers, and I am the only one who uses version control, the only one who cares even a little bit about being able to build our firmware outside of IDE tooling, ci, and other fun stuff15:54:59
@emilazy:matrix.orgemilycan you give a rough estimate of how many countries' national security depend on the integrity of your laptop? or maybe planes' ability to remain aloft or medical devices' proper functioning? :D15:55:06
@emilazy:matrix.orgemilybut yeah, big builds on GHA is a pain15:55:14
@emilazy:matrix.orgemilyand I assume your company isn't up for paying for the beefier or third-party runners15:55:32
@rosssmyth:matrix.org@rosssmyth:matrix.orgI know we interact with the US military but I'm unsure what we do with them. We have major contracts with the single company that does almost all testing of silicon wafers for all foundries We have many contracts with various medical device manufactuers No aerospace contracts (yet!) And yeah, we just have the cheapest github plan at like $50/year15:56:53
@rosssmyth:matrix.org@rosssmyth:matrix.orgAlso if you drive a Tesla Model X, we have hardware in the rear power seats15:57:09
@rosssmyth:matrix.org@rosssmyth:matrix.orgThough starting next year we will not as they are moving that stuff in-house iirc15:57:34
@rosssmyth:matrix.org@rosssmyth:matrix.orgWe also supply motors for the McDonald's Ice Cream machine.15:57:51
@rosssmyth:matrix.org@rosssmyth:matrix.org* I know we interact with the US military but I'm unsure what we do with them. We have major contracts with the single company that does almost all testing of silicon wafers for all foundries (KLA) We have many contracts with various medical device manufactuers No aerospace contracts (yet!) And yeah, we just have the cheapest github plan at like $50/year15:58:12
@emilazy:matrix.orgemilythankfully there are other components of the Tesla supply chain I am more concerned about, such as Tesla15:58:29
@rosssmyth:matrix.org@rosssmyth:matrix.orgtrue...15:58:36
@rosssmyth:matrix.org@rosssmyth:matrix.orgThey suck to work with!15:58:44
@emilazy:matrix.orgemilyhaha, don't get fired for complaining about your clients on NixOS Matrix :)15:59:12
@emilazy:matrix.orgemily(aren't those the ones famous for always being broken, though?)15:59:28
@rosssmyth:matrix.org@rosssmyth:matrix.orgthey are not our client anymore, the contract expired anyways15:59:35

Show newer messages


Back to Room ListRoom Version: 6