-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Segfault in tests when building with INTERFACE64=1 on Mac #158
Comments
Hi @ViralBShah , I will try to fix this issue in 0.2.5 version. A quick question, I found that I cannot use GDB on Mac. Should I use lldb? Xianyi |
Why do you say you cannot use gdb? I use gdb on the mac quite regularly. It is not as nice as on linux, but it does work. I haven't tried lldb. @staticfloat and @StefanKarpinski may know more. |
Hi @ViralBShah, Your FFLAGS is wrong. You should add "-fdefault-integer-8" for gfortran. If you don't set FFLAGS in cmd, OpenBLAS will set the right flags. e.g.
Thank you Xianyi |
Shouldn't the openblas build do something like this? FFLAGS += -fdefault-integer-8 For now, I can avoid passing FFLAGS to openblas though. |
Hi @ViralBShah I just tried the following command on my mac osx.
It works fine. GNU Make 3.81 Xianyi |
I am using 0.2.3. Are you suggesting that it works as is, without any modifications? |
I just compiled @xianyi: What do you mean you can't use EDIT: Just realized I compiled 0.2.4, as that is the |
Hi @staticfloat , I can use gdb now with some warnings. warning: Could not find object file "/Users/gkhanna/build/x86_64-apple-darwin11.3.0/libgfortran/.libs/_sign_i4.o" - no debug information available for "../../../gcc-4.7-20120204/libgfortran/generated/_sign_i4.F90". @ViralBShah: I didn't try 0.2.3. I just tried the develop branch. |
@ViralBShah: Note that the @xianyi: That warning shouldn't cause too much trouble. It just means you don't have the |
Ok, I will wait until 0.2.5 is released in that case. No hurry. |
I am trying to build the 64-bit interface on mac as follows:
This fails with:
The text was updated successfully, but these errors were encountered: