!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
128 Servers

Load older messages


SenderMessageTime
14 Jun 2025
@thesupergamer20578:matrix.orgTheSuperGamer20578 joined the room.01:24:29
@hcbt:matrix.orghcbt joined the room.03:58:54
@honnip:matrix.orgHonnip left the room.14:09:36
@honnip:matrix.orgHonnip joined the room.14:10:00
15 Jun 2025
@rhelmot:matrix.orgrhelmot has anyone tried cross building openblas recently? I'm running into an issue where gfortran is not looking for the right ld - it wants the non-prefixed version 16:38:18
@rhelmot:matrix.orgrhelmotI am 150-some commits deep into a dev branch tho so maybe this is nothing16:38:34
@rhelmot:matrix.orgrhelmotsigh. this seems to be freebsd specific, as pkgsCross.aarch64-multiplatform.openblas builds fine even on my dev branch17:58:46
@rhelmot:matrix.orgrhelmotmany such cases17:58:48
@t4ccer:matrix.orgt4ccer left the room.19:07:04
@t4ccer:matrix.orgt4ccer joined the room.19:46:15
@genericnerdyusername:matrix.orgGenericNerdyUsername trying to use crossPackages.riscv32-embedded.buildPackage.gcc and while it does produce binanries, it ignore my -march=rv32i arg, generating a binary with compressed instructions in it 22:48:46
@genericnerdyusername:matrix.orgGenericNerdyUsernamei have a reproducible setup, but its definitely not minimal22:49:08
@genericnerdyusername:matrix.orgGenericNerdyUsernamedoes work with the 25.05 tag22:52:03
@genericnerdyusername:matrix.orgGenericNerdyUsername* does work with the 25.05 tag of nixpkgs22:53:12
@genericnerdyusername:matrix.orgGenericNerdyUsernamenvm, its there in both, idk how i missed that23:10:35
@genericnerdyusername:matrix.orgGenericNerdyUsernameig i mustve mixed up versions the bug is there in 25.05 but not 24.1123:20:41
16 Jun 2025
@alexfmpe:matrix.orgalexfmpe

John Ericson s1341 : non-prebuilt android builds fails early on with compiler-rt not finding pthreads.h

$  nix-build -A pkgsCross.aarch64-android.hello
...
/build/compiler-rt-src-19.1.7/compiler-rt/lib/builtins/os_version_check.c:287:10: fatal error: 'pthread.h' file not found
  287 | #include <pthread.h>
      |          ^~~~~~~~~~~

been this way for several months, any clue what that's about?

00:51:09
@alexfmpe:matrix.orgalexfmpefeels pretty similar to https://github.com/NixOS/nixpkgs/pull/34407900:51:33
@alexfmpe:matrix.orgalexfmpe *

John Ericson s1341 : non-prebuilt android builds fails early on with compiler-rt not finding pthreads.h

$ nix-build -A pkgsCross.aarch64-android.hello
...
/build/compiler-rt-src-19.1.7/compiler-rt/lib/builtins/os_version_check.c:287:10: fatal error: 'pthread.h' file not found
  287 | #include <pthread.h>
      |          ^~~~~~~~~~~

been this way for several months, any clue what that's about?

00:51:47
@alexfmpe:matrix.orgalexfmpe
$ nix-build -A pkgsCross.mingwW64.abseil-cpp
...
/build/source/absl/base/internal/thread_identity.cc:18:10: fatal error: pthread.h: No such file or directory
   18 | #include <pthread.h>
00:53:51
@alexfmpe:matrix.orgalexfmpewhereas aarch64-android-prebuilt works just fine for both hello and abseil-cpp hmm all places consuming useAndroidPrebuilt seem to basically be doing gcc vs clang shenanigans00:59:49
@alexfmpe:matrix.orgalexfmpe *

John Ericson s1341 : non-prebuilt android builds fails early on with compiler-rt not finding pthreads.h

$ nix-build -A pkgsCross.aarch64-android.hello
...
/build/compiler-rt-src-19.1.7/compiler-rt/lib/builtins/os_version_check.c:287:10: fatal error: 'pthread.h' file not found
  287 | #include <pthread.h>

been this way for several months, any clue what that's about?

02:16:51
@qyliss:fairydust.spaceAlyssa Ross
In reply to @genericnerdyusername:matrix.org
ig i mustve mixed up versions the bug is there in 25.05 but not 24.11
Sounds bisectable?
04:54:54
@genericnerdyusername:matrix.orgGenericNerdyUsernameI did, breaking commit is 6b9c4bbe, which updated binutils from 2.43.1 -> 2.4408:35:01
@genericnerdyusername:matrix.orgGenericNerdyUsernamethe most relevant changelog entry is that a bunch of new extensions are supported now08:36:17
@genericnerdyusername:matrix.orgGenericNerdyUsernameDownload flake.nix09:11:28
@genericnerdyusername:matrix.orgGenericNerdyUsernameexample09:11:33
@genericnerdyusername:matrix.orgGenericNerdyUsernamenew contains c.addi, old does not09:12:08
@genericnerdyusername:matrix.orgGenericNerdyUsername* the most relevant changelog entry is that a bunch of new riscv extensions are supported now09:17:26
@emilazy:matrix.orgemilyI believe our wrapper strips -march by default?09:38:37

Show newer messages


Back to Room ListRoom Version: 6