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

Build failed on Mac OS X 10.10.3 #593

Closed
dongli opened this issue Jun 8, 2015 · 1 comment
Closed

Build failed on Mac OS X 10.10.3 #593

dongli opened this issue Jun 8, 2015 · 1 comment

Comments

@dongli
Copy link

dongli commented Jun 8, 2015

I used clang 6.1.0 and gfortran 4.9.2 to build OpenBLAS on Mac OS X 10.10.3, and encountered the following errors:

ld: -rpath can only be used when targeting Mac OS X 10.5 or later
collect2: error: ld returned 1 exit status

Because I have added the compiler option -Wl,-rpath,/opt/packman/gcc/4.9.2/lib. After some digging, I found the cause:

$ grep -r 'MACOS' *
Makefile.system:195:export MACOSX_DEPLOYMENT_TARGET=10.2

As you can see, the Mac OS X target has been hardcoded as 10.2! After I changed it to 10.10, the problem is gone!

@xianyi xianyi closed this as completed in 2929316 Jun 8, 2015
@xianyi
Copy link
Collaborator

xianyi commented Jun 8, 2015

Thank you for the feedback. I just changed to 10.6.

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

2 participants