-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Warning about unsupported argument is thrown into the console when running with Mandrel #11060
Comments
Hello @rsvoboda, I believe if you build GraalVM from oracle/graal master you would see the same warning with Graal VM CE too. They committed that change (which was then brought into Mandrel) recently oracle/graal#2598 and that change I think will be available in next release of Graal VM. I think once Quarkus uses 20.2.x of Graal VM as default we can remove this |
It's Mandrel specific - see @gsmet / @geoand Is there a way to detect that Mandrel is used and skip the |
@rsvoboda what does Is there is anything in that output that we can use to differentiate Mandrel? |
@zakkak has been worked on the packaging of Mandrel, maybe there's something we can do on that side, let's see what he says. Otherwise we can indeed execute the above and see if |
Oh, I think @jaikiran's option above is preferrable. Wait and no fix :) |
I think that for 1.7, we should add the solution above, since we don't want users to see this warning with Mandrel. We can always remove or alter it when we move to GraalVM 20.2 |
I think this issue is more due to the packaging that we do for Mandrel, which is slightly different to the one done for Oracle GraalVM. |
Well, it was too easy so I just did: #11088. We don't need to merge it obviously, just keep in the back of our minds in case it's needed :) |
@geoand LOL, so quick! hehe :) |
Hello all, sorry for the delay, it appears that this is indeed a packaging/configuration mismatch. Given that |
I'll take the PR out of draft then, thanks @zakkak for the information. |
Hello @zakkak, I don't think we can fix this on the Quarkus side (or rather I don't think there's a fix really for this). If we remove the --no-server from Quarkus for Mandrel then this will launch a server in the background to run the builds. That's not something we want. In 20.2.x of Graal, they toggled the "default" which means that they don't launch any server at all unless explicitly asked to. |
Is that intentional? In the build process of the Graal VM mx build, there is an option to make sure that these generated "tools" are native applications themselves. |
I think there is a misunderstanding here. Due to #11060 (comment) Mandrel cannot run the server (it doesn't run no matter if you use |
Yes this is intentional. The bash script allows us to tweak things without altering source code. If this turns out to cause trouble we will have to revisit that decision. |
Thank you, that helped :) Mandrel is new to me, I wasn't aware of these changes. |
Warning about unsupported argument is thrown into the console when running native build using Mandrel image.
This is usability issue, Mandrel is supposed to be the default for Quarkus and therefore no warnings should be in the console log.
Warning shown in the console:
Steps to reproduce:
This is applicable to Mandrel only, GraalVM CE doesn't throw this warning.
The text was updated successfully, but these errors were encountered: