Closed p6rt closed 8 years ago
Attempting to compile the core now dies with:
Stage classfile : java.lang.RuntimeException:
java.lang.RuntimeException: Class file too large!
in classfile (gen/jvm/stage2/NQPHLL.nqp:93)
in compile (gen/jvm/stage2/NQPHLL.nqp:1423)
in eval (gen/jvm/stage2/NQPHLL.nqp:1157)
in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1377)
in command_eval (gen/jvm/stage2/NQPHLL.nqp:1271)
in command_eval (src/Perl6/Compiler.nqp:65)
in command_line (gen/jvm/stage2/NQPHLL.nqp:1245)
in MAIN (gen/jvm/main.nqp:39)
in \
-- Will "Coke" Coleda
On Mon Oct 26 10:50:52 2015, coke wrote:
Attempting to compile the core now dies with:
Stage classfile : java.lang.RuntimeException: java.lang.RuntimeException: Class file too large! in classfile (gen/jvm/stage2/NQPHLL.nqp:93) in compile (gen/jvm/stage2/NQPHLL.nqp:1423) in eval (gen/jvm/stage2/NQPHLL.nqp:1157) in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1377) in command_eval (gen/jvm/stage2/NQPHLL.nqp:1271) in command_eval (src/Perl6/Compiler.nqp:65) in command_line (gen/jvm/stage2/NQPHLL.nqp:1245) in MAIN (gen/jvm/main.nqp:39) in \
(gen/jvm/main.nqp:35) in (gen/jvm/main.nqp) make: *** [CORE.setting.jar] Error 1
This first occurred in commit e8d7577b662a1ab85d9ed080d3a8eff56036b016
-- Will "Coke" Coleda
On 26 Oct 2015, at 19:21, Will Coleda via RT \perl6\-bugs\-followup@​perl\.org wrote:
On Mon Oct 26 10:50:52 2015, coke wrote:
Attempting to compile the core now dies with:
Stage classfile : java.lang.RuntimeException: java.lang.RuntimeException: Class file too large! in classfile (gen/jvm/stage2/NQPHLL.nqp:93) in compile (gen/jvm/stage2/NQPHLL.nqp:1423) in eval (gen/jvm/stage2/NQPHLL.nqp:1157) in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1377) in command_eval (gen/jvm/stage2/NQPHLL.nqp:1271) in command_eval (src/Perl6/Compiler.nqp:65) in command_line (gen/jvm/stage2/NQPHLL.nqp:1245) in MAIN (gen/jvm/main.nqp:39) in \
(gen/jvm/main.nqp:35) in (gen/jvm/main.nqp) make: *** [CORE.setting.jar] Error 1 This first occurred in commit e8d7577b662a1ab85d9ed080d3a8eff56036b016
I reverted e8d7577b662a1ab and 2f4bfd89d6b845f01eea to see if you could build on JVM with that. The result is not nice and can be found below
Stage start : 0.001 Stage parse : 85.085 Stage syntaxcheck: 0.000 Stage ast : 0.001 Stage optimize : 10.665 Stage jast : 26.277 Stage classfile : 6.187 Stage jar : 0.000 ./perl6-j --target=jar --output=lib/Test.pm.jar -Ilib lib/Test.pm # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000010370aaf3, pid=81336, tid=3847 # # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode bsd-amd64 compressed oops) # Problematic frame: # V [libjvm.dylib+0x30aaf3] TempNewSymbol::operator=(TempNewSymbol const&)+0xf # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /Users/liz/Github/rakudo.jvm/hs_err_pid81336.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp #
The RT System itself - Status changed from 'new' to 'open'
On Mon Oct 26 10:50:52 2015, coke wrote:
Attempting to compile the core now dies with:
Stage classfile : java.lang.RuntimeException: java.lang.RuntimeException: Class file too large! in classfile (gen/jvm/stage2/NQPHLL.nqp:93) in compile (gen/jvm/stage2/NQPHLL.nqp:1423) in eval (gen/jvm/stage2/NQPHLL.nqp:1157) in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1377) in command_eval (gen/jvm/stage2/NQPHLL.nqp:1271) in command_eval (src/Perl6/Compiler.nqp:65) in command_line (gen/jvm/stage2/NQPHLL.nqp:1245) in MAIN (gen/jvm/main.nqp:39) in \
(gen/jvm/main.nqp:35) in (gen/jvm/main.nqp) make: *** [CORE.setting.jar] Error 1
psch fixed this with the NQP commit:
commit 61f3e95 Author: Pepe Schwarz \peschwa@​gmail\.com Date: Tue Oct 27 12:01:41 2015
Name all locals the same.
Due to the increase of Perl 6's CORE.setting, we're running into a constant pool size limitation during classfile generation. This gives us a bit more space by always naming all local variables "__local_\d+", and thus freeing up a few thousand constant pool entries. -- Will "Coke" Coleda
@coke - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#126461 (status was 'resolved')
Searchable as RT126461$