!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

246 Members
81 Servers

Load older messages


SenderMessageTime
30 Apr 2024
@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
@Ericson2314:matrix.orgJohn Ericson and I think I can extract freebsdBranches from your main PR too, further shrinking things down 16:08:42
@Ericson2314:matrix.orgJohn Ericson(in general I like splitting up the PR more, but I am happy to do the work pulling things out)16:08:52
@Ericson2314:matrix.orgJohn Ericson(rather than make you both slice and dice into tiny morsals)16:09:05
@Ericson2314:matrix.orgJohn EricsonAlso I am curious what the deal with FreeBSD and the smallest version number16:09:21
@Ericson2314:matrix.orgJohn Ericsondo they have that or just two version numbers?16:09:29
@Ericson2314:matrix.orgJohn Ericsonnoticed that the bash script to spit out the version skippped it16:09:40
@rhelmot:matrix.orgrhelmotwhat does that mean exactly? are you talking about pkgs/os-specific/bsd/freebsd/update.py ?16:13:54
@artemist:mildlyfunctional.gayartemist I'm guessing sys/conf/newvers.sh in the FreeBSD source tree? The update.py script calls that to figure out the version 16:15:11
@artemist:mildlyfunctional.gayartemistI think they put the patch number in BRANCH (e.g. RELEASE-p6) instead of revision for some reason16:18:14
@artemist:mildlyfunctional.gayartemistNot sure why but it's what they do16:18:23
@Ericson2314:matrix.orgJohn Ericson artemist: ah OK 16:21:36
@Ericson2314:matrix.orgJohn Ericsonthought the patch number was gone altogether16:21:43
@Ericson2314:matrix.orgJohn Ericsonthat helps16:21:46
@Ericson2314:matrix.orgJohn Ericsonthanks both of you16:21:53
@rhelmot:matrix.orgrhelmot
In reply to @Ericson2314:matrix.org
you should now be able to remove lots of inherit (buildFreebsd) ....
I pushed a change removing everything that did not cause a recursion error when removed
16:23:43
@rhelmot:matrix.orgrhelmotthere's still quite a lot though. I don't know how to determine if it's fixable or just due to the netbsd-mentioned problem16:24:10

Show newer messages


Back to Room ListRoom Version: 6