-
Notifications
You must be signed in to change notification settings - Fork 82
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
Android LTO, Clang NDK r14, API {16,21} {armeabi-v7a, arm64-v8a}: OpenCV failed #343
Comments
Quite the same for |
This is because of MinSizeRel and
|
Found this one:
It's a fresh bugs, I'm not sure if we can do anything about it now except to switch to |
Bummer. It seems it isn't just a Windows issue. My understanding is that |
Have problems with Boost. Working on fix. |
Testing now: ruslo/hunter#699 |
Looks like Clang/ld.gold is more pedantic about PIC vs non-PIC code. Got error:
Since the final product of build will be shared library I guess we have to use PIC versions of toolchains, i.e.:
|
Doens't make any difference, reverting. I've run a few toolchain-id tests and it seems that PIC enabled by default for Android. The real problem here I think is the fact that non-CMake packages doesn't respect CMAKE_POSITION_INDEPENDENT_CODE variable. Working on fix. |
Testing with temporary release: It compiles now! Toolchain
|
Toolchain |
Build OpenCV:
Using this script:
End with:
The text was updated successfully, but these errors were encountered: