[m-rev.] diff: workaround compiler abort with --profile-for-implicit-parallelism
Julien Fischer
juliensf at csse.unimelb.edu.au
Fri Jun 12 15:00:00 AEST 2009
Workaround a compiler abort that occurs when building the library
with --profile-for-implicit-parallelism enabled. (The nightly
builds on taura do this.) This is bug #98 in Mantis.
library/Mercury.options:
Workaround the bug.
Julien.
Index: Mercury.options
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/Mercury.options,v
retrieving revision 1.32
diff -u -r1.32 Mercury.options
--- Mercury.options 2 Jun 2009 04:21:32 -0000 1.32
+++ Mercury.options 12 Jun 2009 04:56:49 -0000
@@ -30,6 +30,11 @@
MCFLAGS-dir += --no-halt-at-warn
MCFLAGS-exception += --no-halt-at-warn
+# Workaround for a compiler abort with --profile-for-implicit-parallelism.
+# Bug #98 in Mantis.
+#
+MCFLAGS-erlang_rtti_implementation += --no-inline-simple
+
# Older versions of the compiler warn about `:- pragma foreign_export'
# not being implemented for Java, which is a lie.
MCFLAGS-io += --no-halt-at-warn
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list