Skip to content
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

raku JVM build fails with openJDK 21 #5476

Open
Zer0-Tolerance opened this issue Nov 26, 2023 · 0 comments
Open

raku JVM build fails with openJDK 21 #5476

Zer0-Tolerance opened this issue Nov 26, 2023 · 0 comments
Labels
JVM Related to Rakudo-JVM

Comments

@Zer0-Tolerance
Copy link

The Problem

perl Configure.pl --gen-nqp --backends=jvm
make
...
+++ Compiling	rakudo.jar
+++ Generating	gen/jvm/ast.nqp
+++ Generating	gen/jvm/BOOTSTRAP/v6c.nqp
java.nio.BufferOverflowException
  in consume-line-chars (gen/jvm/stage2/NQPCORE.setting:830)
  in !get-slow-path (gen/jvm/stage2/NQPCORE.setting:924)
  in get (gen/jvm/stage2/NQPCORE.setting:915)
  in <anon> (/Users/install/rakudo/tools/build/gen-cat.nqp:37)
  in MAIN (/Users/install/rakudo/tools/build/gen-cat.nqp:31)
  in <mainline> (/Users/install/rakudo/tools/build/gen-cat.nqp:5)
  in eval (gen/jvm/stage2/NQPHLL.nqp:1218)
  in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1463)
  in command_eval (gen/jvm/stage2/NQPHLL.nqp:1353)
  in command_line (gen/jvm/stage2/NQPHLL.nqp:1311)
  in MAIN (gen/jvm/stage2/NQP.nqp:4191)
  in <mainline> (gen/jvm/stage2/NQP.nqp:4189)
  in <anon> (gen/jvm/stage2/NQP.nqp)
make: *** [gen/jvm/BOOTSTRAP/v6c.nqp] Error 1

Expected Behavior

should build without issue

Environment

  • Operating system: OSX
  • Compiler version (rakudo -v or raku -v): 2023.11
@ab5tract ab5tract added the JVM Related to Rakudo-JVM label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JVM Related to Rakudo-JVM
Projects
None yet
Development

No branches or pull requests

2 participants