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

運行在 Sony Xa1 ultra 發生錯誤 Fatal signal 6 (SIGABRT) #2259

Closed
Aaron930 opened this issue Oct 27, 2020 · 4 comments
Closed

運行在 Sony Xa1 ultra 發生錯誤 Fatal signal 6 (SIGABRT) #2259

Aaron930 opened this issue Oct 27, 2020 · 4 comments

Comments

@Aaron930
Copy link

目前只有在 Sony Xa1 ultra 這隻手機會發生這個問題,使用的.a 是從 https://github.com/Tencent/ncnn/releases 下載的

錯誤結果
Screen Shot 2020-10-27 at 9 31 54 PM

build gradle
Screen Shot 2020-10-27 at 9 40 54 PM

NDK version
19c

cmakefile
Screen Shot 2020-10-27 at 9 45 00 PM
Screen Shot 2020-10-27 at 9 45 15 PM
Screen Shot 2020-10-27 at 9 45 24 PM

@nihui
Copy link
Member

nihui commented Oct 27, 2020

参考 #976

@Aaron930
Copy link
Author

修改的方式是這樣嗎?還是會報錯,更換了ndk 21d 使用-fstatic-openmp,情況也是一樣
Screen Shot 2020-10-28 at 9 02 41 AM

@nihui
Copy link
Member

nihui commented Oct 28, 2020

这是cmake的参考写法,https://github.com/nihui/ncnn-android-benchmark/blob/master/app/src/main/jni/CMakeLists.txt

gradle的linker flags参考 https://stackoverflow.com/questions/46085046/how-to-pass-linker-flags-to-cmake-in-android-studio-via-gradle

@sa1225
Copy link

sa1225 commented May 27, 2022

请问解决了吗?

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

3 participants