!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

583 Members
128 Servers

Load older messages


SenderMessageTime
16 Jun 2025
@emilazy:matrix.orgemilyI believe our wrapper strips -march by default?09:38:37
@emilazy:matrix.orgemilyI could be wrong09:38:40
@emilazy:matrix.orgemilyyou're really meant to specify that stuff in the Nixpkgs system structure09:38:58
@emilazy:matrix.orgemilyusing an unwrapped compiler may also be an option09:39:22
@genericnerdyusername:matrix.orgGenericNerdyUsername what would i have to do use the unwrapped compiler? is it as simple as replacing gcc with gccUnwrapped or is there more to it? 16:31:36
@genericnerdyusername:matrix.orgGenericNerdyUsername also why would a binutils update mean that -march getting stripped suddenly matters? 16:34:15
@k900:0upti.meK900-march should not be stripped unless it's =native IIRC16:34:30
@genericnerdyusername:matrix.orgGenericNerdyUsernamehow would i tell if this is a binutils regression?16:42:42
@k900:0upti.meK900Revert binutils and try it, I guess?16:43:02
@genericnerdyusername:matrix.orgGenericNerdyUsernamein that case it definitely is16:44:01
@genericnerdyusername:matrix.orgGenericNerdyUsernamewait a minute whats binutils with gold?16:44:52
@k900:0upti.meK900Configured to use the gold linker16:45:22
@k900:0upti.meK900Instead of the default bfd one16:45:26
@k900:0upti.meK900gold was an early attempt at writing a fast linker16:46:00
@k900:0upti.meK900It wasn't very fast and was never very finished16:46:08
@genericnerdyusername:matrix.orgGenericNerdyUsernamethen why did we change to the binutils-with-gold source tarball?16:47:14
@k900:0upti.meK900Because that just includes the sources of gold16:47:31
@k900:0upti.meK900Which we still offer as an option16:47:37
@k900:0upti.meK900And upstream has dropped it from source releases16:47:43
@k900:0upti.meK900Honestly we should probably drop i16:51:55
@k900:0upti.meK900* Honestly we should probably drop it16:51:56
@k900:0upti.meK900Or at least deprecate it16:51:59
@k900:0upti.meK900But it costs basically nothing to keep it around for now16:52:05
@k900:0upti.meK900So it lives on16:52:11
@genericnerdyusername:matrix.orgGenericNerdyUsernameimage.png
Download image.png
16:53:38
@genericnerdyusername:matrix.orgGenericNerdyUsernameam i missing something?16:53:41
@k900:0upti.meK900Missing what?16:54:01
@genericnerdyusername:matrix.orgGenericNerdyUsernamethat looks like a source release with gold16:54:13
@k900:0upti.meK900Well yes16:54:26
@k900:0upti.meK900They dropped it from the normal source releases16:54:34

Show newer messages


Back to Room ListRoom Version: 6