gap: backport aarch64 patch
This commit is contained in:
parent
90772d6666
commit
812ffed96b
@ -101,6 +101,9 @@ stdenv.mkDerivation rec {
|
||||
excludes = ["tst/testinstall/stringobj.tst"];
|
||||
sha256 = "1mz5b4mbw2jdd1ypp5s0dy6pp0jsvwsxr2dm4kbkls20r1r192sc";
|
||||
})
|
||||
|
||||
# fixes aarch64 gc crashes: https://github.com/gap-system/gap/pull/3965
|
||||
./mark-genstackfuncbags-as-noinline.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/src/gasman.c b/src/gasman.c
|
||||
index 417811401..314a74190 100644
|
||||
--- a/src/gasman.c
|
||||
+++ b/src/gasman.c
|
||||
@@ -1861,7 +1861,7 @@ void SparcStackFuncBags( void )
|
||||
#endif
|
||||
|
||||
|
||||
-void GenStackFuncBags ( void )
|
||||
+NOINLINE void GenStackFuncBags ( void )
|
||||
{
|
||||
Bag * top; /* top of stack */
|
||||
Bag * p; /* loop variable */
|
Loading…
Reference in New Issue
Block a user