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

[GR-36414] Truffle blocklist methods issues / Missing @TruffleBoundary #4192

Closed
LilPoppy opened this issue Jan 10, 2022 · 7 comments
Closed
Assignees

Comments

@LilPoppy
Copy link

Hi, I know it's not a bug but I'm curious how can we remove methods from blocklist.

Stack Overflow

@rubyFeedback
Copy link

I think it would be better if you could describe the problem here - it's a bit cumbersome to read them in an external website, in my opinion.

@rodrigar-mx rodrigar-mx self-assigned this Jan 13, 2022
@fniephaus
Copy link
Member

Hi, I know it's not a bug but I'm curious how can we remove methods from blocklist.

The CI log you linked does suggest that GraalVM's Python implementation is missing a @TruffleBoundary, which is a bug we need to fix. I've already informed the GraalPython team.

While turning off the blocklist might help you work around the bug, it can certainly cause other problems. The warning protects us from including too much code in PE, that's why it's enabled by default. I wouldn't turn if off in production.

@fniephaus fniephaus changed the title Truffle blocklist methods issues [GR-36414] Truffle blocklist methods issues / Missing @TruffleBoundary Jan 14, 2022
@fniephaus fniephaus assigned fniephaus and unassigned rodrigar-mx Jan 14, 2022
@LilPoppy
Copy link
Author

Thank you so much! And graal python is not work in Mac Platform is that correct?

@fniephaus
Copy link
Member

GraalPython is still considered experimental, but we ship builds for Linux and Darwin so macOS should work. Windows is not yet supported.

@LilPoppy
Copy link
Author

GraalPython is still considered experimental, but we ship builds for Linux and Darwin so macOS should work. Windows is not yet supported.

But I got build failure on MacOS which return message is Unsupported platform. Not sure it’s another bug or I should add another arg in native-image beside language:python

@fniephaus
Copy link
Member

GraalPython can be built with native image on macOS. However, it does require additional configuration (see here). Note that building it as an embedded part of a Java application is definitely not supported in any way at this point.

Could you please open an issue for the "Unsupported platfork" error incl. a reproducer at: https://github.com/oracle/graalpython/issues/new ?

@fniephaus
Copy link
Member

Closed via oracle/graalpython@2195e45.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants