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

Clang not working on Ubuntu yakkety #1213

Closed
Meinersbur opened this issue Oct 16, 2016 · 2 comments
Closed

Clang not working on Ubuntu yakkety #1213

Meinersbur opened this issue Oct 16, 2016 · 2 comments

Comments

@Meinersbur
Copy link

  • A brief description
    Clang doesn't compile anything.
  • Steps / All commands required to reproduce the error from a brand new installation
  1. Update to Ubuntu 16.10 (do-release-upgrade), install clang
  2. Create hello.c:
    int main() { return 0; }
  3. Exec: clang hello.c
  • Expected results
    Compile hello.c to a.out
  • Actual results (with terminal output if applicable)
    clang: error: unable to execute command: posix_spawn failed: Operation not permitted
  • Your Windows build number
    Microsoft Windows [version 10.0.14946]
  • Strace of the failing command

strace.zip

I assume the relevant line is:
clone(child_stack=0x7f0b04c10ff0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = -1 EINVAL (Invalid argument)

  • Required packages and commands to install

clang version 3.8.1-12ubuntu1

  • Detailed Logs

logs.zip

Thanks for providing WSL.

@therealkenc
Copy link
Collaborator

Same as #1005. There's a brief discussion here and here.

@Meinersbur
Copy link
Author

Thanks for the hints. I close this a duplicate.

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

No branches or pull requests

2 participants