You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use CM in conjunction with a reference to Compiler structure (Compiler.version), I get
"Error: Compiler bug: UnpickMod: stub lookup failed for environment in $SMLNJ-MLRISC/AMD64.cm@500608(../amd64/c-calls/amd64-svid.sml): m = (6, functor AMD64SVID_CCalls), i = ".
This code worked in 110.93.
Transcript
$ sml
Standard ML of New Jersey (64-bit) v110.96 [built: Fri Dec 13 14:59:34 2019]
- CM.make "foo.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]
[library $SMLNJ-BASIS/basis.cm is stable]
[library $SMLNJ-BASIS/(basis.cm):basis-common.cm is stable]
[autoloading done]
[scanning foo.cm]
[library $smlnj/compiler/compiler.cm is stable]
[parsing (foo.cm):foo.sml]
[library $smlnj/compiler/current.cm is stable]
[library $smlnj/compiler/amd64.cm is stable]
[library $smlnj/viscomp/basics.cm is stable]
[library $smlnj/viscomp/amd64.cm is stable]
[library $smlnj/viscomp/core.cm is stable]
[library $smlnj/MLRISC/MLRISC.cm is stable]
[library $SMLNJ-MLRISC/MLRISC.cm is stable]
[library $smlnj-lib.cm(=$SMLNJ-LIB/Util)/smlnj-lib.cm is stable]
[library $Graphs.cm(=$SMLNJ-MLRISC)/Graphs.cm is stable]
[library $compiler/(core.cm):MiscUtil/const-arith/sources.cm is stable]
[library $smlnj/smlnj-lib/controls-lib.cm is stable]
[library $SMLNJ-LIB/Controls/controls-lib.cm is stable]
[library $smlnj/MLRISC/Lib.cm is stable]
[library $SMLNJ-MLRISC/Lib.cm is stable]
[library $smlnj/viscomp/debugprof.cm is stable]
[library $smlnj/viscomp/elabdata.cm is stable]
[library $smlnj/smlnj-lib/pp-lib.cm is stable]
[library $SMLNJ-LIB/PP/pp-lib.cm is stable]
[library $html-lib.cm(=$SMLNJ-LIB/HTML)/html-lib.cm is stable]
[library $smlnj/viscomp/execute.cm is stable]
[library $smlnj/viscomp/parser.cm is stable]
[library $smlnj/viscomp/elaborate.cm is stable]
[library $smlnj/MLRISC/AMD64.cm is stable]
[library $SMLNJ-MLRISC/AMD64.cm is stable]
Error: Compiler bug: UnpickMod: stub lookup failed for environment in $SMLNJ-MLRISC/AMD64.cm@500608(../amd64/c-calls/amd64-svid.sml): m = (6, functor AMD64SVID_CCalls), i = <moduleId>
Expected Behavior
No response
Steps to Reproduce
--- foo.sml ---
structure Foo =
struct
val foo = Compiler.version
end;
The text was updated successfully, but these errors were encountered:
JohnReppy
added
bug
Something isn't working
cm
problem with compilation manager
gforge
bug (or feature request) ported from smlnj-gforge repository
labels
Jul 16, 2022
Version
110.96
Operating System
OS Version
10.14.6
Processor
x86 (32-bit)
Component
Compilation manager (CM)
Severity
Major
Description of the problem
When I use CM in conjunction with a reference to Compiler structure (Compiler.version), I get
"Error: Compiler bug: UnpickMod: stub lookup failed for environment in $SMLNJ-MLRISC/AMD64.cm@500608(../amd64/c-calls/amd64-svid.sml): m = (6, functor AMD64SVID_CCalls), i = ".
This code worked in 110.93.
Transcript
Expected Behavior
No response
Steps to Reproduce
--- foo.sml ---
structure Foo =
struct
val foo = Compiler.version
end;
--- foo.cm ---
Library
source(-)
is
$/basis.cm
$smlnj/cm.cm
$smlnj/compiler.cm
$smlnj/compiler/compiler.cm
foo.sml
Additional Information
No response
Email address
alley.stoughton@icloud.com
Comments from smlnj-gforge
Original smlnj-gforge bug number 241
Submitted via web form by Alley Stoughton alley.stoughton@icloud.com on 2019-39-21 at 18:3900
Keywords: CM, Compiler structure
comment by @JohnReppy on 2019-59-21 18:5900 +000 UTC
This is the same as bug #232.
The text was updated successfully, but these errors were encountered: