-
Notifications
You must be signed in to change notification settings - Fork 57
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
Syntax error in inline assembly when targeting armv7 #294
Comments
Related llvm/llvm-project#120871 |
Looking at the workaround linked in that issue, another option is to use |
Apparently, this fixes it: ned14/outcome#308. |
(https://www.sourceware.org/binutils/docs/as/Section.html) So, this is actually the expected behaviour. Interestingly, I don't see universal support for |
Hello, I encounter an issue when compiling the armeabi-v7a library of my Android project. The problem can be reproduced by compiling a file with this content:
The compilation fails with the following message:
The command used to compile the file is:
Boost 1.87.0 is installed in the path/to/include directory passed to the
-I
option. There is no problem with the arm64 nor the x86_64 architectures.As a workaround I can compile with
-DBOOST_ALL_NO_EMBEDDED_GDB_SCRIPTS
but I which I did not have to do that (i.e. that the inline assembly would be omitted when the target does not support it).Note that it happens here with Boost.Unordered but I expect a similar problem with Boost.Interprocess and Boost.Json as they also use this GDB macro :)
The text was updated successfully, but these errors were encountered: