!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

245 Members
81 Servers

Load older messages


SenderMessageTime
2 Jun 2024
@hive:the-apothecary.clubLi-ion changed their profile picture.04:13:46
4 Jun 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius.11:16:14
6 Jun 2024
@artemist:mildlyfunctional.gayartemistWhy 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:matrix.orgraitobezariusit was easier to duplicate22:49:36
8 Jun 2024
@samueldr:matrix.org@samueldr:matrix.org joined the room.00:48:35
@samueldr:matrix.org@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@samueldr:matrix.orgI tried rai//to's lanzaboote stub rebased on current nixos-unstable, but compiler-rt won't build (segfaults)18:31:39
@samueldr:matrix.org@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@samueldr:matrix.orginteresting note: I hadn't tried with aarch64 yet, compiler-rt builds19:37:13
@samueldr:matrix.org@samueldr:matrix.org(other down the line don't, but I haven't looked into it yet)19:53:07
@samueldr:matrix.org@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@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@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@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@samueldr:matrix.organywhere else in the NixOS matrix space I can ask and maybe reach people who can help get this going?18:38:58
@trofi:matrix.orgtrofi maybe #cross-compiling:nixos.org or Nixpkgs Compilers team? 20:53:01
11 Jun 2024
@networkexception:chat.upi.li@networkexception:chat.upi.li changed their display name from networkException to networkException (moving to @networkexception:nwex.de).18:30:27
@camzer:matrix.orgcamzer joined the room.23:50:43
12 Jun 2024
@Ericson2314:matrix.orgJohn Ericson rhelmot: https://hydra.nixos.org/build/262696190 any idea why this might be happening? 13:01:17
@Ericson2314:matrix.orgJohn EricsonI am surprised it is a FreeBSD specific thing13:01:27
@Ericson2314:matrix.orgJohn EricsonI'll try to fix it I suppose13:01:31
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/NixOS/nix/pull/10896 this should fix it14:54:51
@networkexception:nwex.denetworkException joined the room.16:21:40
13 Jun 2024
@kiike:matrix.orgEnric Morales joined the room.23:23:38
15 Jun 2024
@r_i_s:matrix.orgris_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 work16:12:47
@r_i_s:matrix.orgris_ because of the way a special wrapper binary is used that appends -- to the arguments 16:14:11
16 Jun 2024
@r_i_s:matrix.orgris_FWIW i've managed the above with https://gist.github.com/risicle/18c5d0aed51ad0c45dd4a015a00bec00, but would be nicer to have a proper way of doing this11:51:59
18 Jun 2024
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/NixOS/nixpkgs/pull/320840 a few BSD cleanups in here18:22:54
@Ericson2314:matrix.orgJohn Ericson rhelmot: could you review? 18:22:59
@Ericson2314:matrix.orgJohn Ericsonshould be easy18:23:02

Show newer messages


Back to Room ListRoom Version: 6