smlnj installation: error in first cm file memory.cm from nlffi #218
Labels
bug
Something isn't working
gforge
bug (or feature request) ported from smlnj-gforge repository
installation
problem with installation
Version
110.99
Operating System
OS Version
in 01.install.sh file
Processor
x86 (32-bit)
Component
Installation
Severity
Critical
Description of the problem
No response
Transcript
Expected Behavior
No response
Steps to Reproduce
/dist/working/110.99
Additional Information
No response
Email address
jplut@harakirimail.com
Comments from smlnj-gforge
Original smlnj-gforge bug number 283
Submitted via web form by Alek jplut@harakirimail.com on 2021-25-13 at 19:2500
Keywords: architecture_not_supported
comment by Limon Lime on 2021-41-14 20:4100 +000 UTC
Component: Installer ~ Compilation of NLFFI ~ I also can repeat all steps (in MacOSX 10.15, if you need).
comment by Limon Lime on 2021-29-21 21:2900 +000 UTC
====Linux uname -m x86_64 uname-r ====MACOSX=========== ~ New 110.99.1: ~ aSame error while compiling NLFFI nlffi/lib/memory: ~ [parsing $c/memory/(memory.cm):mlrep-i32f64.sml] ~ FAILURE: stabilization of libraries failed ~ [[[[[[parsing $c/memory/(memory.cm):memaccess-64-little.sml] ~ /home/linuxbrew/.linuxbrew/Cellar/smlnj/110.99.1/SMLNJ_HOME/nlffi/lib/memory/memory.cm:39.1-39.39 Error: architecture not supported yet ~ ]]]]]] ~ ~ Maybe you need full logs ( 00.options.out 01.install.sh.cc 01.install.sh) ~ ~ /gist.github.com/d8cd35fafea51560db1cab047682042f ~ /gist.github.com/097fe5bcf4236871b89275127aabef70 ~ /gist.github.com/ad845584109f5d51c6ecf6b1433ac1ec ~ ====MACOSX (opsys DARWIN uname -r 19 uname -p i386====== ~ I don't need that, but I repeated same steps on MacOSX10.15 and result is the same. ~ ~ I don't understand the bottom line of this error, all tested platforms must be supportable, ~ install.sh should run without SIZE in patrameters, inspected config/_arch-n-opsys and nlffi/lib/memory/memory.cm should work fine.
comment by Limon Lime on 2021-33-21 21:3300 +000 UTC
FIX: on the first line not the MACOSX! ~ uname -r 5.4.0-72-generic!
comment by Limon Lime on 2021-33-22 20:3300 +000 UTC
I made inline replace on the line of memory.cm: ~ but dont know which is better LINE 39: ~ 1st variant :(* error bla ~ 2nd variant ~ ~ Now it fails when my little-endian system run this line of memory.cm: ~ memaccess-64-little.sml (lambdasplit:infinity) ~ ~ I can't go ahead here, please help with installation because it too complex for me: ~ [scanning $c/memory/memory.cm] ~ [parsing $c/memory/(memory.cm):memaccess.sig] ~ [creating directory /home/linuxbrew/.linuxbrew/Cellar/smlnj/110.99.1/SMLNJ_HOME/nlffi/lib/memory/.cm/SKEL] ~ [parsing $c/memory/(memory.cm):memalloc.sig] ~ [parsing $c/memory/(memory.cm):memory.sig] ~ [parsing $c/memory/(memory.cm):linkage.sig] ~ [parsing $c/memory/(memory.cm):bitop-fn.sml] ~ [parsing $c/memory/(memory.cm):memaccess-64-little.sml] ~ [parsing $c/memory/(memory.cm):memaccess-a4s2i4l4f4d8.sml] ~ [parsing $c/memory/(memory.cm):main-lib-unix.sml] ~ [parsing $c/memory/(memory.cm):memalloc-a4-unix.sml] ~ [parsing $c/memory/(memory.cm):memory.sml] ~ [parsing $c/memory/(memory.cm):linkage-dlopen.sml] ~ [parsing $c/memory/(memory.cm):mlrep-i32f64.sml] ~ [compiling $c/memory/(memory.cm):bitop-fn.sml] ~ [creating directory /home/linuxbrew/.linuxbrew/Cellar/smlnj/110.99.1/SMLNJ_HOME/nlffi/lib/memory/.cm/GUID] ~ [creating directory /home/linuxbrew/.linuxbrew/Cellar/smlnj/110.99.1/SMLNJ_HOME/nlffi/lib/memory/.cm/amd64-unix] ~ [code: 6057, data: 1, env: 669, inlinable: 1529 bytes] ~ [compiling $c/memory/(memory.cm):mlrep-i32f64.sml] ~ [code: 3173, data: 21, env: 3678, inlinable: 2138 bytes] ~ [compiling $c/memory/(memory.cm):memaccess.sig] ~ [code: 81, data: 1, env: 2820 bytes] ~ [compiling $c/memory/(memory.cm):memalloc.sig] ~ [code: 81, data: 1, env: 214 bytes] ~ [compiling $c/memory/(memory.cm):memory.sig] ~ [code: 81, data: 1, env: 2975 bytes] ~ [compiling $c/memory/(memory.cm):memaccess-64-little.sml] ~ nlffi/lib/memory/memaccess-64-little.sml:3.48-3.66 Error: unbound structure: RawMemInlineT in path RawMemInlineT.w32l ~ nlffi/lib/memory/memaccess-64-little.sml:3.20-3.38 Error: unbound structure: RawMemInlineT in path RawMemInlineT.w32l ~ nlffi/lib/memory/memaccess-64-little.sml:5.35-5.53 Error: unbound structure: RawMemInlineT in path RawMemInlineT.w32s ~ nlffi/lib/memory/memaccess-64-little.sml:5.3-5.21 Error: unbound structure: RawMemInlineT in path RawMemInlineT.w32s ~ FAILURE: stabilization of libraries failed ~ ~ Linux Mac user who uses Homebrew you will see this error if you run
brew install juplutonic/homebrew-tap/smlnj
comment by Limon Lime on 2021-40-22 20:4000 +000 UTC
FIX: the first paragraph should be: ~ I made inline replacement on the line 39 of memory.cm file: ~ but Idont know which is better(will not fail) : ~ 1st variant: memaccess-a4s2i4l4f4d8.sml (lambdasplit:infinity) ~ 2nd variant: (# error architecture not supported yet) ~ ~ *And last paragraph should be Linux or Mac users
The text was updated successfully, but these errors were encountered: