2 Jun 2024 |
| Li-ion changed their profile picture. | 04:13:46 |
4 Jun 2024 |
| raitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius. | 11:16:14 |
6 Jun 2024 |
artemist | Why are the LLVM packages so duplicated between versions? I have to add more junk because FreeBSD breaks some expectations of nixpkgs (FreeBSD uses lld, clang, and libc++, but uses libcxxrt instead of libc++abi and patched libunwind renamed to libgcc instead of libunwind) | 21:18:39 |
raitobezarius | it was easier to duplicate | 22:49:36 |
8 Jun 2024 |
| @samueldr:matrix.org joined the room. | 00:48:35 |
@samueldr:matrix.org | I need some help around building a rust project for aarch64-unknown-efi within Nixpkgs... for now just throwing this without details in the void to hear if there are obvious hints to follow | 18:31:10 |
@samueldr:matrix.org | I tried rai//to's lanzaboote stub rebased on current nixos-unstable, but compiler-rt won't build (segfaults) | 18:31:39 |
@samueldr:matrix.org | https://github.com/samueldr/nixpkgs/commits/wip/fdtshim/ what I have been using is this branch,
nix-build -A pkgsCross.x86_64-unknown-uefi.lanzaboote-uefi-stub
https://gist.github.com/samueldr/9e2052318b1601a1400a672ceaa3668b | 19:33:53 |
@samueldr:matrix.org | interesting note: I hadn't tried with aarch64 yet, compiler-rt builds | 19:37:13 |
@samueldr:matrix.org | (other down the line don't, but I haven't looked into it yet) | 19:53:07 |
@samueldr:matrix.org | * (other down the line don't, but I haven't looked into it yet; I was busy reporting the issue) | 19:56:07 |
@samueldr:matrix.org | 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:matrix.org | hmmm... tried working around with wrapper scripts named gcc (and g++ ) but kinda unsurprisingly, stuff breaks later down the line | 23:52:42 |
@samueldr:matrix.org | 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:matrix.org | 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 |