!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

245 Members
81 Servers

Load older messages


SenderMessageTime
30 Apr 2024
@Ericson2314:matrix.orgJohn EricsonOK15:43:00
@rhelmot:matrix.orgrhelmotindeed15:43:06
@rhelmot:matrix.orgrhelmotI think that was what artemis was running into15:43:12
@rhelmot:matrix.orgrhelmotnixpkgs and/or flake.nix will simply tell configure the exact system to use15:43:26
@Ericson2314:matrix.orgJohn EricsonI opened https://github.com/NixOS/nixpkgs/pull/30803215:48:16
@Ericson2314:matrix.orgJohn Ericsonwe should make the decision entirely based on what we think is correct15:48:26
@Ericson2314:matrix.orgJohn Ericsonnot based on "what works"15:48:30
@Ericson2314:matrix.orgJohn Ericsonas I am quite sure it can be made to work either wya15:48:35
@Ericson2314:matrix.orgJohn Ericson rhelmot: now as to the splicing thing, does it make sense? 15:49:02
@Ericson2314:matrix.orgJohn Ericson we shouldnt' splice in buildPackages.freebsd because then we would be mixing source tree 15:49:22
@Ericson2314:matrix.orgJohn Ericson freebsdBranches.${x} should always be spliced with buildPackages.freebsdBranchees.${x} 15:49:47
@Ericson2314:matrix.orgJohn Ericson and then we will need fewer explicit arguments for the callPackage calls too 15:50:14
@rhelmot:matrix.orgrhelmotyes, I broadly understand the necessity of using the splicing tools even though I don't really understand the machinery15:50:24
@Ericson2314:matrix.orgJohn Ericsonok col15:50:43
@Ericson2314:matrix.orgJohn Ericson * ok cool15:50:45
@Ericson2314:matrix.orgJohn Ericsonyeah the machinary is nuts15:50:49
@Ericson2314:matrix.orgJohn EricsonI made it and I don't like it15:50:53
@Ericson2314:matrix.orgJohn Ericsonand no one has done me the favor of replacing it with something better alas15:51:07
@Ericson2314:matrix.orgJohn Ericson:)15:51:10
@rhelmot:matrix.orgrhelmotalas indeed15:51:23
@dramforever:matrix.orgdramforever

unrelated to the above, on mips i'm getting this when building openssh

fmt_scaled.c: In function 'scan_scaled':
fmt_scaled.c:214:1: sorry, unimplemented: argument 'used' is not supported for '-fzero-call-used-regs' on this target
  214 | }
      | ^

i think this is just ... not completely implemented in gcc, like it's just broken depending on what the code is doing and fmt_scaled.c just happens to deal with floats and stuff maybe. i figured out if you --without-hardening you can get the configure script to not use the broken -fzero-call-used-regs... what do i do now?

15:58:30
@artemist:mildlyfunctional.gayartemist
In reply to @rhelmot:matrix.org
Did you build with flake.nix or ./configure && make?
Configure. I couldn't actually get it to finish build without some more patches but the system in config.h was just x86_64-freebsd
15:59:21
@Ericson2314:matrix.orgJohn Ericson rhelmot: oh I found the issue 15:59:31
@Ericson2314:matrix.orgJohn Ericsonthe dot in the version15:59:35
@Ericson2314:matrix.orgJohn Ericsonis confusing some stupid code15:59:40
@dramforever:matrix.orgdramforever
In reply to @dramforever:matrix.org

unrelated to the above, on mips i'm getting this when building openssh

fmt_scaled.c: In function 'scan_scaled':
fmt_scaled.c:214:1: sorry, unimplemented: argument 'used' is not supported for '-fzero-call-used-regs' on this target
  214 | }
      | ^

i think this is just ... not completely implemented in gcc, like it's just broken depending on what the code is doing and fmt_scaled.c just happens to deal with floats and stuff maybe. i figured out if you --without-hardening you can get the configure script to not use the broken -fzero-call-used-regs... what do i do now?

i think ideally i get the openssh folks to notice this because they seem to still care https://github.com/openssh/openssh-portable/commit/f9193f03db0029fc9c31fbdb5c66a2737446bd8f
16:00:19
@Ericson2314:matrix.orgJohn Ericson rhelmot artemist : OK I rebased (force pushed!) your branch, and fixed the splicing thing that was bugging me 16:07:47
@Ericson2314:matrix.orgJohn Ericson you should now be able to remove lots of inherit (buildFreebsd) .... 16:07:59
@rhelmot:matrix.orgrhelmoton it!!16:08:09
@Ericson2314:matrix.orgJohn EricsonI think we can decide on https://github.com/NixOS/nixpkgs/pull/308032 too16:08:25

Show newer messages


Back to Room ListRoom Version: 6