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

Update to latest Android 14 Clang #19

Open
EliasTheGrandMasterOfMistakes opened this issue Apr 11, 2024 · 1 comment
Open

Update to latest Android 14 Clang #19

EliasTheGrandMasterOfMistakes opened this issue Apr 11, 2024 · 1 comment

Comments

@EliasTheGrandMasterOfMistakes

Using the default android 14 clang give a exec error.
This not occurs in aosp 14 qpr2 aosp latest clang default toolchain.

compiler_wrapper.go:250: failed to execute &main.command{Path:"/usr/lib/llvm-android-14.0-r450784d/bin/clang.real", Args:[]string{"-Wp,-MD,scripts/basic/.fixdep.d", "-Iscripts/basic", "-Wall", "-Wmissing-prototypes", "-Wstrict-prototypes", "-O2", "-fomit-frame-pointer", "-std=gnu89", "-fuse-ld=lld", "--rtlib=compiler-rt", "-o", "scripts/basic/fixdep", "/buildd/sources/scripts/basic/fixdep.c"}, EnvUpdates:[]string(nil)}: go_exec.go:22: exec error: permission denied

Have a way to use this lastest aosp clang? i can just download it and use it?

@denisaq
Copy link

denisaq commented Sep 8, 2024

That happens because llvm executables are not executable.
Go to /usr/lib/llvm-android-14.0-r450784d/bin/ and write chmod +x *

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