-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cannot find crtbegin_dynamic.o #8
Comments
Hi @huyn, You have is not specified what recipes to build from the Makefile, thus it is doing all of them. You should make
I've updated the OpenBLAS for Android instructions accordingly. Sidenotes:
|
Actually, I was mistaken. The tests in netlib are only linking tests. If you make a standalone toolchain as suggested, this will solve this problem and allow you to build both |
Thanks! @buffer51
But when going to checking procedure, I got
So, did the complie fail eventually? |
Hi @huyn, I think you only built
You should then have LAPACK as well (I've confirmed on my machine that cheev_ is present). |
Hi @buffer51 , glad to receive your reply.
|
The build commands seem fine. Can I try it from your fork of torch-android? I want to see what it produces, and how LAPACK is detected (or not). |
@buffer51 you can use it , but you need to clone OpenBLAS under dir |
@huyn I just tried it and it worked wonderfully. I'm not sure what could have happened, did you try cleaning everything and rebuilding from scratch? After that, if it still fails, check for the outputted In my case, I get:
|
Also, I've confirmed that the generated |
Hi @buffer51 Thank you sincerly.
But I find that |
And when does the error occur? For me, the build process finished successfully. Is there another step you take after that, which is the one that fails? |
Hi @buffer51. |
@huyn I was able to find the part you mentionned (cheev_ not found). The error log
and some more... I'll try to investigate. |
So the issue I've found is that the linking step misses Replacing the section around line 1292 by the following fixes it for me.
(This might not be the clean way to add them though.) |
Hi @buffer51. It works. Thank you for your help and I appreciate it very much 👍 |
Happy to help :)
|
I compile OpenBLAS with fortran on virtual machine of Ubuntu 14.04.4. Main OS is OS X 10.11.6. NDK version is r13b.
I download
gcc-arm64-linux-x86_64.tar.bz2
from release 760fb01 and release it under$NDK_ROOT/toolchains/aarch64-linux-android-4.9/prebuilt/
to replacelinux-x86-64
.This is my make command:
But I get errors:
I have checked
crtbegin_dynamic.o
did exist under dir/home/huyaonan/android-ndk-r13b//platforms/android-21/arch-arm64
Thanks for any suggestion :)
The text was updated successfully, but these errors were encountered: