New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cuis Smalltalk package fileIn broken #123
Comments
Indeed...thanks for the report, Ken! I'll have a look. |
On 2020-06-24 14:33, Fabio Niephaus wrote:
Indeed...thanks for the report, Ken! I'll have a look.
Thanks for the UK talk today. Great work!
I'm looking forward to the aarch64 version (I don't typically use
Intel/Amd).
Good to see a tool user. I was very impressed by the visualization of
the specialization passes and the linkage to source code.
Good on ya,
-KenD
|
Thanks a lot, Ken! I should give aarch64 a go soon. How do I reproduce this issue? I thought I had to run |
A fix is now in place and will ship with the next release. BTW: I managed to run Cuis with TruffleSqueak on aarch64. Now I only need to figure out how we can build TruffleSqueak for aarch64 on our CI infrastructure. |
On 2020-06-25 02:14, Fabio Niephaus wrote:
How do I reproduce this issue? I thought I had to run FileList package
fileIn, but that's not it. What did you run to trigger the crash? I
have a fix, but would like to validate before pushing it.
I have crashed several ways.
Easy is to
trufflesqueak Cuis5.0-4191.image
World Menu -> Changes.. -> Install New Updates
Traceback attached.
BTW, I git cloned trufflesqueak
git clone --depth 1 https://github.com/hpi-swa/trufflesqueak
and tried updating via
gu -C gu-catalog.properties update smalltalk
but no joy.
How 2 check updates to verify?
Thanks much!
-KenD
============FYI===
amd64:Linux:GraalSqueak >>> uname -a
Linux goodOnYa 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun 4
14:58:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
amd64:Linux:GraalSqueak >>> ls -F
GraalPolyLangNotebook.pdf
Squeak5.3-19439-64bit-202003021730-Linux.zip
TruffleSqueak-20.1.0.changes
GraalSqueak.pdf
squeak.cog.spur_linux64x64_201912311458.tar.gz
TruffleSqueak-20.1.0.image
graalvm-ce-builds-vm-20.1.0/
SqueakV50.sources
trufflesqueak-20.1.0.tar.gz
graalvm-ce-builds-vm-20.1.0.tar.gz
SqueakV50.sources.alt
TruffleSqueakImage-1.0.0-rc9.zip
graalvm-ce-java11-20.1.0/
trufflesqueak/
TruffleSqueakImage-20.1.0.zip
graalvm-ce-java11-linux-amd64-20.1.0.tar.gz
trufflesqueak-1.0.0-rc9/
trufflesqueak-installable-java11-linux-amd64-1.0.0-rc9-for-GraalVM-20.0.0.jar
llvm-toolchain-installable-java11-linux-amd64-20.1.0.jar
TruffleSqueak-1.0.0-rc9.changes
trufflesqueak-installable-java11-linux-amd64-20.1.0.jar
native-image-installable-svm-java11-linux-amd64-20.1.0.jar
TruffleSqueak-1.0.0-rc9.image
trufflesqueak-installable-svm-java11-linux-amd64-20.1.0.jar
sqcogspur64linuxht/
trufflesqueak-1.0.0-rc9.tar.gz
wasm-installable-svm-java11-linux-amd64-20.1.0.jar
Squeak5.3-19439-64bit-202003021730-Linux/
trufflesqueak-20.1.0/
============= E O F ==============
|
On 2020-06-25 07:43, Fabio Niephaus wrote:
BTW: I managed to run Cuis with TruffleSqueak on aarch64. Now I only
need to figure out how we can build TruffleSqueak for aarch64 on our CI
infrastructure.
Very cool!!! Let me know when to test.
…-KenD
|
I'm afraid
|
On 2020-06-25 12:35, Fabio Niephaus wrote:
> World Menu -> Changes.. -> Install New Updates
Seems to work now:
Great!!
I'm afraid gu -C gu-catalog.properties update smalltalk will only give
you the latest release, and we don't push a new release on each commit.
So that means you'd need to build TruffleSqueak from master. Let me try
to explain this in short for Java11 (but it should really be documented
soon):
mkdir trufflesqueak-build
cd trufflesqueak-build
git clone https://github.com/graalvm/mx
git clone https://github.com/hpi-swa/trufflesqueak
cd trufflesqueak
../mx/mx --env trufflesqueak-jvm build
--dependencies=SMALLTALK_INSTALLABLE_JAVA11
gu install -f -L "$(mx --env trufflesqueak-jvm paths
SMALLTALK_INSTALLABLE_JAVA11)"
mx will checkout the graal repository, that's why I'd recommend using a
dedicated top directory (trufflesqueak-build in the example above).
Hmmm..
/home/kend/trufflesqueak-build/graal/sdk/mxbuild/linux-amd64/trufflesqueak.image-bash
exists, but is empty.
Do I need a symlink to `which trufflesqueak` or some such?
Thanks a bunch!
-KenD
amd64:Linux:trufflesqueak-build >>> ls
mx trufflesqueak
amd64:Linux:trufflesqueak-build >>> cd trufflesqueak/
amd64:Linux:trufflesqueak >>> ../mx/mx --env trufflesqueak-jvm build --dependencies=SMALLTALK_INSTALLABLE_JAVA11
Cloning https://github.com/oracle/graal revision df628ae8688633d12dabc0a2a0e015d0ff65fcd5 to /home/kend/trufflesqueak-build/graal with Git
Cloning into '/home/kend/trufflesqueak-build/graal'...
remote: Enumerating objects: 160, done.
remote: Counting objects: 100% (160/160), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 830009 (delta 47), reused 112 (delta 32), pack-reused 829849
Receiving objects: 100% (830009/830009), 137.24 MiB | 802.00 KiB/s, done.
Resolving deltas: 100% (390844/390844), done.
Checking out files: 100% (10907/10907), done.
Building trufflesqueak.image-bash... [/home/kend/trufflesqueak-build/graal/sdk/mxbuild/linux-amd64/trufflesqueak.image-bash/trufflesqueak does not exist]
Could not find 'sdk:GRAAL_SDK' in GraalVM ('GRAALVM_C6C4856BB2_JAVA11')
Compiling com.oracle.mxtool.compilerserver with javac(JDK 11)... [/home/kend/trufflesqueak-build/mx/mxbuild/java/com.oracle.mxtool.compilerserver/bin/com/oracle/mxtool/compilerserver/CompilerDaemon.class does not exist]
Compiling org.graalvm.collections with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/graal/sdk/mxbuild/src/org.graalvm.collections/bin/org/graalvm/collections/EconomicSet.class does not exist]
Building trufflesqueak.image-bash failed
1 build tasks failed
amd64:Linux:trufflesqueak >>>
|
Hi Ken,
No, the component is a jar file, which you can then install using the |
On 2020-06-26 08:01, Fabio Niephaus wrote:
Hi Ken,
Please run this one first and make sure it works: ../mx/mx build.
Could not find 'sdk:GRAAL_SDK' in GraalVM suggests that the graal
dependency was not built, it looks like it's not even checked out
(because ls only lists mx and trufflesqueak, there should also be a
graal directory).
Once mx build succeeds, you should be able to build the component (and
you don't have to run mx build anymore).
Looks like it tries to rebuild the world .. and fails. (attached)
Probably not worth your time to debug this process remotely.
If you let me know when you do the next release I can test then. I am
especially interested in Aarch64 Cuis.
Thanks again for all,
-KenD
amd64:Linux:trufflesqueak >>> ../mx/mx build
JAVA_HOME: /home/kend/Downloads/GraalSqueak/graalvm-ce-java11-20.1.0
2 unsatisfied dependencies were removed from build (use -v to list them)
Downloading ANTLR4 from ['https://repo1.maven.org/maven2/org/antlr/antlr4-runtime/4.7.2/antlr4-runtime-4.7.2.jar', 'https://search.maven.org/remotecontent?filepath=org/antlr/antlr4-runtime/4.7.2/antlr4-runtime-4.7.2.jar']
337904 bytes (100%)
Compiling org.graalvm.word with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/graal/sdk/mxbuild/src/org.graalvm.word/bin/org/graalvm/word/ComparableWord.class does not exist]
Compiling org.graalvm.options with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/graal/sdk/mxbuild/src/org.graalvm.options/bin/org/graalvm/options/OptionCategory.class does not exist]
Compiling com.oracle.truffle.api.jdk11 with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/graal/truffle/mxbuild/src/com.oracle.truffle.api.jdk11/bin/com/oracle/truffle/api/impl/TruffleJDKServices.class does not exist]
Compiling com.oracle.graalvm.locator.jdk11 with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/graal/truffle/mxbuild/src/com.oracle.graalvm.locator.jdk11/bin/com/oracle/graalvm/locator/JDKServices.class does not exist]
Downloading HAMCREST from ['https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar', 'https://search.maven.org/remotecontent?filepath=org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar']
Downloading LIBFFI_SOURCES from ['https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/libffi-3.2.1.tar.gz']
45024 bytes (100%)
Downloading sources HAMCREST from ['https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar']
32624 bytes (100%)
Downloading NINJA from ['https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip']
77854 bytes (100%)
Downloading NINJA_SYNTAX from ['https://pypi.org/packages/source/n/ninja_syntax/ninja_syntax-1.7.2.tar.gz']
3129 bytes (100%)
212992 bytes (22%)Downloading JLINE from ['https://repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar', 'https://search.maven.org/remotecontent?filepath=jline/jline/2.14.6/jline-2.14.6.jar']
268780 bytes (100%)
376832 bytes (40%)Downloading BOUNCY_CASTLE_CRYPTO_LIB from ['https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar', 'https://search.maven.org/remotecontent?filepath=org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar']
940837 bytes (100%)
1302528 bytes (31%)Downloading JOPTSIMPLE_4_6 from ['https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar', 'https://search.maven.org/remotecontent?filepath=net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar']
62477 bytes (100%))
1622016 bytes (38%)Downloading sources JOPTSIMPLE_4_6 from ['https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6-sources.jar', 'https://search.maven.org/remotecontent?filepath=net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6-sources.jar']
74419 bytes (100%))
2154496 bytes (51%)Downloading JMH_GENERATOR_ANNPROCESS_1_21 from ['https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21.jar', 'https://search.maven.org/remotecontent?filepath=org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21.jar']
30848 bytes (100%))
2400256 bytes (57%)Downloading sources JMH_GENERATOR_ANNPROCESS_1_21 from ['https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21-sources.jar']
29146 bytes (100%))
2760704 bytes (65%)Downloading COMMONS_MATH3_3_2 from ['https://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar', 'https://search.maven.org/remotecontent?filepath=org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar']
4189874 bytes (100%)
1692782 bytes (100%)
Downloading sources COMMONS_MATH3_3_2 from ['https://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.2/commons-math3-3.2-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/apache/commons/commons-math3/3.2/commons-math3-3.2-sources.jar']
2005074 bytes (100%)
Note: /home/kend/trufflesqueak-build/mx/java/ListModules.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling com.oracle.mxtool.junit.jdk9 with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/mx/mxbuild/java/com.oracle.mxtool.junit.jdk9/bin/com/oracle/mxtool/junit/ModuleSupport.class does not exist]
Downloading ASM_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm/7.1/asm-7.1.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm/7.1/asm-7.1.jar']
114762 bytes (100%)
Downloading sources ASM_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm/7.1/asm-7.1-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm/7.1/asm-7.1-sources.jar']
172521 bytes (100%)
Compiling com.oracle.mxtool.webserver with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/mx/mxbuild/java/com.oracle.mxtool.webserver/bin/com/oracle/mxtool/webserver/WebServer.class does not exist]
Compiling com.oracle.mxtool.checkcopy with javac-daemon(JDK 11)... [/home/kend/trufflesqueak-build/mx/mxbuild/java/com.oracle.mxtool.checkcopy/bin/com/oracle/mxtool/checkcopy/CheckCopyright.class does not exist]
Building polyglot.image-bash... [/home/kend/trufflesqueak-build/graal/sdk/mxbuild/linux-amd64/polyglot.image-bash/polyglot does not exist]
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
Building trufflesqueak.image-bash... [/home/kend/trufflesqueak-build/graal/sdk/mxbuild/linux-amd64/trufflesqueak.image-bash/trufflesqueak does not exist]
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
WARNING: Found multiple locations for 'dependency:sdk:LAUNCHER_COMMON' in 'GRAALVM_F2E01B5240_JAVA11': ['graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar', 'graalvm-f2e01b5240-java11-20.1.0/lib/graalvm/launcher-common.jar']
Downloading LLVM_ORG from ['https://lafo.ssw.uni-linz.ac.at/pub/llvm-org/llvm-llvmorg-9.0.0-5-g80b1d876fd-bgb66b241662-linux-amd64.tar.gz']
Downloading LLVM_ORG_COMPILER_RT_LINUX from ['https://lafo.ssw.uni-linz.ac.at/pub/llvm-org/compiler-rt-llvmorg-9.0.0-5-g80b1d876fd-bgb66b241662-linux-amd64.tar.gz']
36602 bytes (100%)
212992 bytes (0%)Archiving TRUFFLE_NFI_GRAALVM_SUPPORT... [/home/kend/trufflesqueak-build/graal/truffle/mxbuild/dists/truffle-nfi-graalvm-support.tar does not exist]
327680 bytes (0%)Archiving TRUFFLE_GRAALVM_SUPPORT... [/home/kend/trufflesqueak-build/graal/truffle/mxbuild/dists/truffle-graalvm-support.tar does not exist]
425984 bytes (0%)Compiling com.oracle.truffle.dsl.processor with javac-daemon(JDK 11)... [dependency ANTLR4 updated]
9289728 bytes (15%)Compiling org.graalvm.nativeimage with javac-daemon(JDK 11)... [dependency org.graalvm.word updated]
10125312 bytes (16%)Downloading JUNIT from ['https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar', 'https://search.maven.org/remotecontent?filepath=junit/junit/4.12/junit-4.12.jar']
314932 bytes (100%))
Downloading sources JUNIT from ['https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12-sources.jar', 'https://search.maven.org/remotecontent?filepath=junit/junit/4.12/junit-4.12-sources.jar']
200355 bytes (100%))
11010048 bytes (18%)Downloading JMH_1_21 from ['https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21.jar', 'https://search.maven.org/remotecontent?filepath=org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21.jar']
512901 bytes (100%))
Downloading sources JMH_1_21 from ['https://repo1.maven.org/maven2/org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21-sources.jar']
400038 bytes (100%))
11599872 bytes (19%)Downloading ASM_TREE_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/7.1/asm-tree-7.1.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm-tree/7.1/asm-tree-7.1.jar']
50303 bytes (100%)%)
Downloading sources ASM_TREE_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/7.1/asm-tree-7.1-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm-tree/7.1/asm-tree-7.1-sources.jar']
73045 bytes (100%)
Compiling com.oracle.truffle.dsl.processor.jdk9 with javac-daemon(JDK 11)... [dependency com.oracle.truffle.dsl.processor updated]
11730944 bytes (19%)Compiling com.oracle.truffle.object.dsl.processor with javac-daemon(JDK 11)... [dependency com.oracle.truffle.dsl.processor updated]
11894784 bytes (19%)Compiling org.graalvm.home with javac-daemon(JDK 11)... [dependency org.graalvm.nativeimage updated]
12025856 bytes (19%)Compiling org.graalvm.collections.test with javac-daemon(JDK 11)... [dependency JUNIT updated]
12156928 bytes (20%)Compiling org.graalvm.nativeimage.test with javac-daemon(JDK 11)... [dependency JUNIT updated]
12206080 bytes (20%)Compiling com.oracle.mxtool.junit with javac-daemon(JDK 11)... [dependency JUNIT updated]
12337152 bytes (20%)Compiling com.oracle.mxtool.jmh_1_21 with javac-daemon(JDK 11)... [dependency JMH_1_21 updated]
12582912 bytes (20%)Downloading ASM_ANALYSIS_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1.jar']
33379 bytes (100%)%)
Downloading sources ASM_ANALYSIS_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1-sources.jar']
40510 bytes (100%)%)
Archiving TRUFFLE_DSL_PROCESSOR... [dependency ANTLR4 updated]
12795904 bytes (21%)Compiling org.graalvm.polyglot with javac-daemon(JDK 11)... [dependency org.graalvm.home updated]
13238272 bytes (21%)Compiling org.graalvm.home.test with javac-daemon(JDK 11)... [dependency JUNIT updated]
13303808 bytes (21%)Archiving JUNIT_TOOL... [dependency com.oracle.mxtool.junit.jdk9 updated]
13402112 bytes (22%)Archiving MX_MICRO_BENCHMARKS... [dependency com.oracle.mxtool.jmh_1_21 updated]
14123008 bytes (23%)Downloading ASM_COMMONS_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/7.1/asm-commons-7.1.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm-commons/7.1/asm-commons-7.1.jar']
70394 bytes (100%)%)
Downloading sources ASM_COMMONS_7.1 from ['https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/7.1/asm-commons-7.1-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/ow2/asm/asm-commons/7.1/asm-commons-7.1-sources.jar']
78696 bytes (100%)
14319616 bytes (23%)Archiving GRAAL_SDK... [dependency org.graalvm.polyglot updated]
14385152 bytes (23%)Building Java module org.graalvm.sdk (graal-sdk.jar) from GRAAL_SDK
16154624 bytes (26%)Compiling org.graalvm.polyglot.tck with javac-daemon(JDK 11)... [dependency org.graalvm.polyglot updated]
16662528 bytes (27%)Compiling org.graalvm.launcher with javac-daemon(JDK 11)... [dependency org.graalvm.polyglot updated]
17186816 bytes (28%)Downloading JACOCOCORE_0.8.4 from ['https://repo1.maven.org/maven2/org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4.jar', 'https://search.maven.org/remotecontent?filepath=org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4.jar']
193727 bytes (100%))
Downloading sources JACOCOCORE_0.8.4 from ['https://repo1.maven.org/maven2/org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4-sources.jar']
160840 bytes (100%))
17432576 bytes (28%)Compiling com.oracle.truffle.api with javac-daemon(JDK 11)... [dependency GRAAL_SDK updated]
18661376 bytes (30%)Compiling de.hpi.swa.trufflesqueak.shared with javac-daemon(JDK 11)... [dependency GRAAL_SDK updated]
18825216 bytes (31%)Compiling com.oracle.truffle.sl.launcher with javac-daemon(JDK 11)... [dependency GRAAL_SDK updated]
18923520 bytes (31%)Archiving POLYGLOT_TCK... [dependency org.graalvm.polyglot.tck updated]
18939904 bytes (31%)Building Java module org.graalvm.polyglot_tck (polyglot-tck.jar) from POLYGLOT_TCK
19283968 bytes (31%)Archiving LAUNCHER_COMMON... [dependency org.graalvm.launcher updated]
19316736 bytes (31%)Building Java module org.graalvm.launcher (launcher-common.jar) from LAUNCHER_COMMON
19759104 bytes (32%)Compiling org.graalvm.launcher.test with javac-daemon(JDK 11)... [dependency JUNIT updated]
19873792 bytes (32%)Downloading JACOCOREPORT_0.8.4 from ['https://repo1.maven.org/maven2/org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4.jar', 'https://search.maven.org/remotecontent?filepath=org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4.jar']
128699 bytes (100%))
Downloading sources JACOCOREPORT_0.8.4 from ['https://repo1.maven.org/maven2/org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4-sources.jar', 'https://search.maven.org/remotecontent?filepath=org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4-sources.jar']
112319 bytes (100%)
20021248 bytes (33%)Compiling com.oracle.truffle.api.dsl with javac-daemon(JDK 11)... [dependency com.oracle.truffle.api updated]
20168704 bytes (33%)Compiling com.oracle.truffle.api.utilities with javac-daemon(JDK 11)... [dependency com.oracle.truffle.api updated]
20267008 bytes (33%)Compiling com.oracle.truffle.api.profiles with javac-daemon(JDK 11)... [dependency com.oracle.truffle.api updated]
20447232 bytes (33%)Archiving TRUFFLESQUEAK_SHARED... [dependency de.hpi.swa.trufflesqueak.shared updated]
20463616 bytes (33%)Building Java module de.hpi.swa.trufflesqueak.shared (trufflesqueak-shared.jar) from TRUFFLESQUEAK_SHARED
20840448 bytes (34%)Archiving TRUFFLE_SL_LAUNCHER... [dependency com.oracle.truffle.sl.launcher updated]
20922368 bytes (34%)Compiling com.oracle.truffle.tck.common with javac-daemon(JDK 11)... [dependency POLYGLOT_TCK updated]
21053440 bytes (34%)Compiling com.oracle.truffle.sl.tck with javac-daemon(JDK 11)... [dependency JUNIT updated]
21151744 bytes (34%)Archiving SDK_TEST... [dependency org.graalvm.collections.test updated]
21381120 bytes (35%)Compiling com.oracle.mxtool.jacoco with javac-daemon(JDK 11)... [dependency JACOCOREPORT_0.8.4 updated]
21708800 bytes (35%)Traceback (most recent call last):
File "/home/kend/trufflesqueak-build/mx/mx.py", line 16894, in <module>
21725184 bytes (35%) main()
File "/home/kend/trufflesqueak-build/mx/mx.py", line 16875, in main
21741568 bytes (35%) retcode = c(command_args)
File "/home/kend/trufflesqueak-build/mx/mx_commands.py", line 147, in __call__
21774336 bytes (35%) return self.command_function(*args, **kwargs)
File "/home/kend/trufflesqueak-build/mx/mx.py", line 13767, in build
task.prepare(daemons)
File "/home/kend/trufflesqueak-build/mx/mx.py", line 7116, in prepare
self.compiler.prepare_daemon(daemons, self.compileArgs)
File "/home/kend/trufflesqueak-build/mx/mx.py", line 7458, in prepare_daemon
self.daemon = JavacDaemon(self.jdk, jvmArgs)
File "/home/kend/trufflesqueak-build/mx/mx.py", line 7571, in __init__
CompilerDaemon.__init__(self, jdk, jvmArgs, 'com.oracle.mxtool.compilerserver.JavacDaemon', jdk.toolsjar, ['--force-javac'])
File "/home/kend/trufflesqueak-build/mx/mx.py", line 7507, in __init__
raise RuntimeError('Error starting ' + self.name() + ': returncode=' + str(returncode) + '\n' + ''.join(pout))
RuntimeError: Error starting javac-daemon: returncode=255
[Use -Dgraal.LogFile=<path> to redirect Graal log output to a file.]
Cannot install GraalVM MBean due to Failed to defineorg/graalvm/compiler/hotspot/management/SVMMBean due to java.lang.NoClassDefFoundError:javax/management/DynamicMBean.
Exception during JVMCI compiler initialization:
Exception in thread "main": jdk.vm.ci.common.JVMCIError
jdk.vm.ci.common.JVMCIError: java.lang.ClassNotFoundException: org.graalvm.word.WordBase
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.createClass(HotSpotJVMCIRuntime.java:503)
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.computeValue(HotSpotJVMCIRuntime.java:516)
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.computeValue(HotSpotJVMCIRuntime.java:513)
at java.lang.ClassValue.get(JavaLangSubstitutions.java:513)
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.fromClass0(HotSpotJVMCIRuntime.java:523)
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.fromClass(HotSpotJVMCIRuntime.java:544)
at jdk.vm.ci.hotspot.HotSpotMetaAccessProvider.lookupJavaType(HotSpotMetaAccessProvider.java:63)
at org.graalvm.compiler.word.WordTypes.<init>(WordTypes.java:77)
at org.graalvm.compiler.hotspot.word.HotSpotWordTypes.<init>(HotSpotWordTypes.java:64)
at org.graalvm.compiler.hotspot.HotSpotBackendFactory.createWordTypes(HotSpotBackendFactory.java:51)
at org.graalvm.compiler.hotspot.amd64.AMD64HotSpotBackendFactory.createBackend(AMD64HotSpotBackendFactory.java:125)
at org.graalvm.compiler.hotspot.HotSpotGraalRuntime.<init>(HotSpotGraalRuntime.java:204)
at org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler(HotSpotGraalCompilerFactory.java:156)
at org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler(HotSpotGraalCompilerFactory.java:134)
at org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler(HotSpotGraalCompilerFactory.java:52)
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getCompiler(HotSpotJVMCIRuntime.java:630)
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.compileMethod(HotSpotJVMCIRuntime.java:697)
at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_Nonvirtual:Ljdk_vm_ci_hotspot_HotSpotJVMCIRuntime_2_0002ecompileMethod_00028Ljdk_vm_ci_hotspot_HotSpotResolvedJavaMethod_2IJI_00029Ljdk_vm_ci_hotspot_HotSpotCompilationRequestResult_2(JNIJavaCallWrappers.java:0)
Caused by: java.lang.ClassNotFoundException: org.graalvm.word.WordBase
at java.base@11.0.7/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base@11.0.7/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base@11.0.7/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at jdk.vm.ci.hotspot.CompilerToVM.lookupType(CompilerToVM.java)
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.createClass(HotSpotJVMCIRuntime.java:501)
... 17 more
60520751 bytes (100%)
amd64:Linux:trufflesqueak >>> ../mx/mx --env trufflesquesk-jvm build --dependencies=SMALLTALK_INSTALLABLE_JAVA11
Could not find env file: /home/kend/trufflesqueak-build/trufflesqueak/mx.trufflesqueak/trufflesquesk-jvm
amd64:Linux:trufflesqueak >>>
|
It seems you're trying to build with GraalVM, but I'm afraid it can't bootstrap itself. So either use your system Java11 or this one: https://github.com/graalvm/labs-openjdk-11/releases/download/jvmci-20.1-b02/labsjdk-ce-11.0.7+10-jvmci-20.1-b02-linux-amd64.tar.gz
You can watch this repository for "Releases only". Just click on the "watch" button next to the "star" and "fork" buttons, and you'll receive an email notification whenever we push a release. Cheers,
|
On 2020-06-26 14:54, Fabio Niephaus wrote:
> Looks like it tries to rebuild the world .. and fails. (attached)
>
> Probably not worth your time to debug this process remotely.
It seems you're trying to build with GraalVM, but I'm afraid it can't
bootstrap itself. So either use your system Java11 or this one:
https://github.com/graalvm/labs-openjdk-11/releases/download/jvmci-20.1-b02/labsjdk-ce-11.0.7+10-jvmci-20.1-b02-linux-amd64.tar.gz
Hmmm.. Have not used Java in a couple of decades. [I remember when
it's claim to fame was that the entire environment fit on a floppy
disk].
amd64:Linux:~ >>> sudo apt-get install openjdk-11-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-11-jre is already the newest version (11.0.7+10-2ubuntu2~18.04).
?!?
What are the hidden semantics of "use your system Java11" ?
…-KenD
|
It usually should just work out of the box, did you set |
looks like #become:
cuis-fileIn-backtrace.txt
Current Cuis Smalltalk (Linux/Amd64)
FileList package fileIn
The text was updated successfully, but these errors were encountered: