[m-rev.] diff: fix PPC64 crash
Simon Taylor
stayl at cs.mu.OZ.AU
Fri Jul 1 14:38:43 AEST 2005
Estimated hours taken: 0.1
Branches: main, release
configure.in:
Possibly due to GCC bugs, asm labels are not supported on PPC64.
Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.420
diff -u -r1.420 configure.in
--- configure.in 30 Jun 2005 06:08:32 -0000 1.420
+++ configure.in 1 Jul 2005 04:35:25 -0000
@@ -1997,8 +1997,8 @@
mercury_cv_asm_labels=no
mercury_cv_gcc_labels=no
;;
- # On hppa64 and ia64 the test programs appear to work, but larger
- # programs die with an Illegal Instruction fault.
+ # On hppa64, ia64 and powerpc64 the test programs appear to work, but
+ # larger programs die with an Illegal Instruction fault.
hppa64-*)
MERCURY_MSG("gcc labels do not work on HPPA64")
mercury_cv_asm_labels=no
@@ -2009,6 +2009,12 @@
mercury_cv_asm_labels=no
mercury_cv_gcc_labels=no
;;
+ powerpc64-*)
+ MERCURY_MSG("gcc labels do not work on PPC64")
+ mercury_cv_asm_labels=no
+ mercury_cv_gcc_labels=no
+ ;;
+
# On s390 the configure test goes into an infinite loop, so we need
# to avoid running it.
s390x-ibm-linux-gnu)
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list