[m-dev.] IL foreign types are not being recognised

Jonathan Morgan jonmmorgan at gmail.com
Mon Apr 16 12:26:53 AEST 2007


When attempting to build the latest version of Mercury in the IL
grade, I have been getting assertion failures in library functions
that use IL foreign types.  Any ideas what the problem might be?  I
have included some of the output of make -k install.

Jon

mmc --make-optimization-interface --grade il      --mercury-linkage
shared --flags LIB_FLAGS   --flags INTER_FLAGS --allow-stubs
--no-warn-stubs  --no-warn-insts-without-matching-type   array
Uncaught Mercury exception:
Software Error: foreign.m: Unexpected: to_exported_type: no IL type
Stack dump not available in this grade.
make[2]: *** [array.optdate] Error 1
mmc --make-optimization-interface --grade il      --mercury-linkage
shared --flags LIB_FLAGS   --flags INTER_FLAGS --allow-stubs
--no-warn-stubs     assoc_list
Uncaught Mercury exception:
Software Error: foreign.m: Unexpected: to_exported_type: no IL type
Stack dump not available in this grade.
make[2]: *** [assoc_list.optdate] Error 1

(Note that assoc_list has no foreign types, just equivalence types).
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list