8 Jun 2024 |
samueldr | (other down the line don't, but I haven't looked into it yet) | 19:53:07 |
samueldr | * (other down the line don't, but I haven't looked into it yet; I was busy reporting the issue) | 19:56:07 |
samueldr | with aarch64, building libunwind fails this way
clang: error: unable to execute command: Executable "gcc" doesn't exist!
clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
which assuming I can extrapolate from this
seems to imply I'm gonna hate diving into this | 20:58:42 |
samueldr | hmmm... tried working around with wrapper scripts named gcc (and g++ ) but kinda unsurprisingly, stuff breaks later down the line | 23:52:42 |
samueldr | this is the codepath where I think *-unknown-uefi for some reason is told to just use an ambiant (??) compiler https://github.com/llvm/llvm-project/blob/6009708b4367171ccdbf4b5905cb6a803753fe18/clang/lib/Driver/ToolChains/Gnu.cpp#L172-L177 | 23:53:17 |
10 Jun 2024 |
samueldr | anywhere else in the NixOS matrix space I can ask and maybe reach people who can help get this going? | 18:38:58 |
trofi | maybe #cross-compiling:nixos.org or Nixpkgs Compilers team ? | 20:53:01 |
11 Jun 2024 |
| @networkexception:chat.upi.li changed their display name from networkException to networkException (moving to @networkexception:nwex.de). | 18:30:27 |
| camzer joined the room. | 23:50:43 |
12 Jun 2024 |
John Ericson | rhelmot: https://hydra.nixos.org/build/262696190 any idea why this might be happening? | 13:01:17 |
John Ericson | I am surprised it is a FreeBSD specific thing | 13:01:27 |
John Ericson | I'll try to fix it I suppose | 13:01:31 |
John Ericson | https://github.com/NixOS/nix/pull/10896 this should fix it | 14:54:51 |
| networkException joined the room. | 16:21:40 |
13 Jun 2024 |
| Enric Morales joined the room. | 23:23:38 |
15 Jun 2024 |
ris_ | only tangentially related to exotic architectures, but does anyone know if those who designed the binfmt/qemu mechanism considered the need to add extra flags to the qemu invocation? specifically for customizing the emulated cpu... it looks like i'd have to do some pretty heavy hackery to get this to work | 16:12:47 |
ris_ | because of the way a special wrapper binary is used that appends -- to the arguments | 16:14:11 |
16 Jun 2024 |
ris_ | FWIW i've managed the above with https://gist.github.com/risicle/18c5d0aed51ad0c45dd4a015a00bec00, but would be nicer to have a proper way of doing this | 11:51:59 |
18 Jun 2024 |
John Ericson | https://github.com/NixOS/nixpkgs/pull/320840 a few BSD cleanups in here | 18:22:54 |
John Ericson | rhelmot: could you review? | 18:22:59 |
John Ericson | should be easy | 18:23:02 |
rhelmot | sure lol | 18:23:48 |
rhelmot | I'm trying to do freebsd cross without nix in order to make the perl guy happy | 18:24:59 |
rhelmot | surprisingly clang + sshfs makes it trivial | 18:25:10 |
John Ericson | In reply to @rhelmot:matrix.org surprisingly clang + sshfs makes it trivial oh how so? | 18:27:32 |
John Ericson | get the deps from native via sshfs? | 18:27:38 |
rhelmot | yeah just pass the sysroot flag | 18:27:48 |
John Ericson | nice | 18:27:54 |