pixman: fixing aarch64-darwin build#200156
Conversation
|
@ofborg build pixman |
|
I doesn't work :-( |
|
I suppose in the worst case we could split aarch64-darwin away, using the older version with security patch (we patch on 22.05). |
|
Probably because If the gcc assembler can't work on darwin, it seems like we would need to downgrade. |
9746374 to
19e3357
Compare
|
@ofborg build pixman |
|
FWIW the |
dec7332 to
7ae6f2f
Compare
|
@ofborg build pixman |
|
Still doesn't seem to work: https://logs.nix.ci/?key=nixos/nixpkgs.200156&attempt_id=2cc36828-c17d-42ed-84cc-2c87f908a937 |
7ae6f2f to
dec7332
Compare
|
I haven't tried this one: |
|
But really... someone actually interested in aarch64-darwin should be solving such problems. |
|
https://logs.nix.ci/?key=nixos/nixpkgs.200156&attempt_id=8beea391-ccbf-476c-be0f-e6351f6cadeb |
|
I was able to get it to build by disabling ARM64 Neon on aarch64-darwin. This is using the default, clang-based diff --git a/pkgs/development/libraries/pixman/default.nix b/pkgs/development/libraries/pixman/default.nix
index 49f5fbe8815..bd807d603cb 100644
--- a/pkgs/development/libraries/pixman/default.nix
+++ b/pkgs/development/libraries/pixman/default.nix
@@ -18,7 +18,9 @@ stdenv.mkDerivation rec {
buildInputs = [ libpng ];
- configureFlags = lib.optional stdenv.isAarch32 "--disable-arm-iwmmxt";
+ configureFlags = lib.optional stdenv.isAarch32 "--disable-arm-iwmmxt"
+ # Disable until https://gitlab.freedesktop.org/pixman/pixman/-/issues/46 is resolved
+ ++ lib.optional (stdenv.isAarch64 && !stdenv.cc.isGNU) "--disable-arm-a64-neon";
preConfigure = ''
# https://gitlab.freedesktop.org/pixman/pixman/-/issues/62 |
dec7332 to
f2ce2f6
Compare
f2ce2f6 to
50d8cda
Compare
|
@ofborg build pixman |
|
Thanks. OfBorg confirmed success, so I pushed it there with you as author. |
https://hydra.nixos.org/build/197830077
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes