-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkgsCross.ppc64.libffi: pull patch to support gcc-12 #175914
Conversation
3bbb001
to
582867d
Compare
Made patch unconditional and inlined it to avoid |
@@ -21,7 +16,13 @@ stdenv.mkDerivation rec { | |||
sha256 = "081nx7wpzds168jbr59m34n6s3lyiq6r8zggvqxvlslsc4hvf3sl"; | |||
}; | |||
|
|||
patches = []; | |||
# Note: this package is used for bootstrapping fetchurl, and thus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better place but most other files have it at the top. Should be fine to change it though.
Without the change `libffi` fails to build against `gcc-12` as: libtool: compile: powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude \ -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c ../src/tramp.c \ -fPIC -DPIC -o src/.libs/tramp.o ../src/powerpc/linux64_closure.S: Assembler messages: ../src/powerpc/linux64_closure.S:363: Error: unrecognized opcode: `lvx' Co-authored-by: Sandro <[email protected]>
582867d
to
55886c3
Compare
@ofborg eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff looks ok.
Without the change
libffi
fails to build againstgcc-12
as:Description of changes
Things done
sandbox = true
set 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.sh
to update generated release notes