Re: compile and NLFFI
Matthias Blume <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Can you try the following:
When going through the CMB.make -> makeml -> installml, just before
issuing installml, erase all existing heap images and library files:
rm -r ../../lib/* ../../bin/.heap/*
Then do "installml" and go back two level:
installml
cd ../..
and re-run the main installer.
config/install.sh
Now everything should be back in sync.
(installml only deals with compiler files, it does not touch unrelated
libraries
such as those belonging to ml-nlffi-lib. But after installing a new
version
of the compiler, they do need to be updated as well.)
Matthias
On Mar 22, 2004, at 10:29 AM, Vesa A Norrman wrote:
> Hi, here is a more specific problem than my earlier message.
> I compiled the system again using CMB.make, makeml, and installml
> programs. After that NLFFI stopped working:
>
> Script started on Mon Mar 22 19:21:01 2004
> seneca ~/math > sml
> Standard ML of New Jersey v110.45 [FLINT v1.5], February 13, 2004
> - CM.make "math.cm";
> [autoloading]
> [library $smlnj/cm/cm.cm is stable]
> [library $smlnj/internal/cm-sig-lib.cm is stable]
> [library $/pgraph.cm is stable]
> [library $smlnj/internal/srcpath-lib.cm is stable]
> [autoloading done]
> [scanning math.cm]
> [library $c/c.cm is stable]
> [attempting to load plugin $/make-tool.cm]
> [library $/make-tool.cm is stable]
> [library $smlnj/cm/tools.cm is stable]
> [library $smlnj/internal/cm-lib.cm is stable]
> [plugin $/make-tool.cm loaded successfully]
> [make -f math.make FFI/math.cm]
> ml-nlffigen -include ../libh.sml -libhandle LibH.libh -dir FFI -cmfile
> math.cm math.h
> [scanning (math.cm):FFI/math.cm]
> [library $c/internals/c-int.cm is stable]
> [parsing (math.cm):FFI/(math.cm):f-tanh.sml]
> [creating directory FFI/.cm/SKEL]
> [parsing (math.cm):FFI/(math.cm):f-tan.sml]
> [parsing (math.cm):FFI/(math.cm):f-sqrt.sml]
> [parsing (math.cm):FFI/(math.cm):f-sinh.sml]
> [parsing (math.cm):FFI/(math.cm):f-sin.sml]
> [parsing (math.cm):FFI/(math.cm):f-pow.sml]
> [parsing (math.cm):FFI/(math.cm):f-log10.sml]
> [parsing (math.cm):FFI/(math.cm):f-log.sml]
> [parsing (math.cm):FFI/(math.cm):f-exp.sml]
> [parsing (math.cm):FFI/(math.cm):f-cosh.sml]
> [parsing (math.cm):FFI/(math.cm):f-cos.sml]
> [parsing (math.cm):FFI/(math.cm):f-atan2.sml]
> [parsing (math.cm):FFI/(math.cm):f-atan.sml]
> [parsing (math.cm):FFI/(math.cm):f-asin.sml]
> [parsing (math.cm):FFI/(math.cm):f-acos.sml]
> [parsing (math.cm):FFI/(math.cm):callop-1.sml]
> [parsing (math.cm):FFI/(math.cm):fptr-rtti-1.sml]
> [parsing (math.cm):FFI/(math.cm):callop-0.sml]
> [parsing (math.cm):FFI/(math.cm):fptr-rtti-0.sml]
> [parsing (math.cm):FFI/(math.cm):../libh.sml]
> [creating directory .cm/SKEL]
> Error: Compiler bug: UnpickMod: stub lookup failed
>
> uncaught exception Error
> raised at: ../compiler/Basics/errormsg/errormsg.sml:55.14-55.19
> ../cm/util/safeio.sml:41.55
> ../cm/parse/parse.sml:478.43
> ../cm/parse/parse.sml:353.4
> ../cm/util/safeio.sml:41.55
> ../cm/parse/parse.sml:478.43
> -
> seneca ~/math > exit
> exit
>
> Script done on Mon Mar 22 19:21:15 2004
>
> I think maybe not every part of compiler was not rebuild because this
> error occurs. Vesa
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Smlnj-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click