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

add support for Graal VM #7

Open
cforce opened this issue Dec 7, 2022 · 1 comment
Open

add support for Graal VM #7

cforce opened this issue Dec 7, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@cforce
Copy link

cforce commented Dec 7, 2022

Seems like that Graal compile fails because of classes shall or should not be reachable at compile time and runtime. A cfg entry in in oracle reachabiloity github repo is needed

Failed generating 'cloud-function-aws' after 1m 12s.
Error: Classes that should be initialized at run time got initialized during image building:
 org.slf4j.LoggerFactory was unintentionally initialized at build time. To see why org.slf4j.LoggerFactory got initialized use --trace-class-initialization=org.slf4j.LoggerFactory
Error: Classes that should be initialized at run time got initialized during image building:
ch.qos.logback.core.util.Duration was unintentionally initialized at build time. To see why ch.qos.logback.core.util.Duration got initialized use --trace-class-initialization=ch.qos.logback.core.util.Duration
ch.qos.logback.classic.model.ConfigurationModel was unintentionally initialized at build time. To see why ch.qos.logback.classic.model.ConfigurationModel got initialized use --trace-class-initialization=ch.qos.logback.classic.model.ConfigurationModel
To see how the classes got initialized, use --trace-class-initialization=org.slf4j.LoggerFactory,ch.qos.logback.core.util.Duration,ch.qos.logback.classic.model.ConfigurationModel
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Error: Image build request failed with exit status 1
[INFO] ------------------------------------------------------------------------
@igorakkerman igorakkerman added the help wanted Extra attention is needed label Dec 8, 2022
@igorakkerman
Copy link
Member

Thanks for reporting. GraalVM should be supported but no experience here. Would very much appreciate help from the community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants