[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#566234: this bug also present in gnat-4.6 (undefined reference to `__gnat_alternate_stack')



Hello,

This bug is still not fixed in gnat-4.6, as shown by a failed build of
spark on mips:
https://buildd.debian.org/status/architecture.php?a=mips&suite=experimental

I think the fix can be as easy as applying the attached patch. It makes
list of source files for mips close to one for mipsel. I did not
try to compile this, because it would take ages in qemu.

Regards,
Eugeniy Meshcheryakov
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -1666,7 +1666,7 @@
   s-taprop.adb<s-taprop-linux.adb \
   s-tasinf.ads<s-tasinf-linux.ads \
   s-tasinf.adb<s-tasinf-linux.adb \
-  s-taspri.ads<s-taspri-posix.ads \
+  s-taspri.ads<s-taspri-posix-noaltstack.ads \
   s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
   system.ads<system-linux-mips.ads
 

Attachment: signature.asc
Description: Digital signature


Reply to: