-
Notifications
You must be signed in to change notification settings - Fork 313
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
Inline assembly error: Instruction requires arm-mode #231
Comments
Hi @cattokomo, After a bit of investigating, this instruction should definitely be available even when compiling for Thumb2. I suspect maybe your clang is targetting Armv7-M. What is the target provided by clang -v ? |
Hello @cognet. Here's the output of
|
@cattokomo sorry for taking so long to respond, I'd like to fix that, but it sounds like a Termux-specific thing, can you help me reproduce the problem? I assume I have to install Termux on an Android device, but my phone has a 64bits arm, so it brings a 64bits compiler, and that seems to work fine here. Do you know of a way I could get access to a Termux running on 32bits arm? |
I can try it on my device, it's running on 32 bit mode. |
@cattokomo ideally I'd need a shell on it, to try various things |
You can try to use termux-docker. It is not the best solution since it uses qemu under the hood (if you use aarch64 or armv7) but it will give you a kind of device for tests. |
I've stumbled upon this error when building libck for Termux with clang on arm.
clang error
The text was updated successfully, but these errors were encountered: