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

Can't use FFI on distros using SELinux #15306

Closed
ThalusA opened this issue Jul 25, 2022 · 2 comments · Fixed by #15305
Closed

Can't use FFI on distros using SELinux #15306

ThalusA opened this issue Jul 25, 2022 · 2 comments · Fixed by #15305
Labels
bug Something isn't working correctly FFI Related to Foreign Function Interface APIs

Comments

@ThalusA
Copy link

ThalusA commented Jul 25, 2022

I'm using Fedora 36 which is using SELinux.
I'm running deno run -A --unstable deno.js.
I'm getting this error: tcc: error: mprotect failed: did you mean to configure --with-selinux?.

See discussion related to this issue on Discord: https://discord.com/channels/684898665143206084/956626010248478720/1001133693357789285

@littledivy littledivy added bug Something isn't working correctly FFI Related to Foreign Function Interface APIs labels Jul 25, 2022
@Symbitic
Copy link

Symbitic commented Sep 2, 2022

I'm also getting this problem after upgrading to Deno 1.25

FFI just instantly stopped working. Is there any workaround, or do we have to wait for #15305?

@ThalusA
Copy link
Author

ThalusA commented Sep 6, 2022

@Symbitic For now, the best workaround for me was to use docker ubuntu container to run deno programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly FFI Related to Foreign Function Interface APIs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants