We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
clang 6.1.0
gfortran 4.9.2
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:
-Wl,-rpath,/opt/packman/gcc/4.9.2/lib
$ 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!
10.2
10.10
The text was updated successfully, but these errors were encountered:
2929316
Thank you for the feedback. I just changed to 10.6.
Sorry, something went wrong.
No branches or pull requests
I used
clang 6.1.0
andgfortran 4.9.2
to build OpenBLAS on Mac OS X 10.10.3, and encountered the following errors:Because I have added the compiler option
-Wl,-rpath,/opt/packman/gcc/4.9.2/lib
. After some digging, I found the cause:As you can see, the Mac OS X target has been hardcoded as
10.2
! After I changed it to10.10
, the problem is gone!The text was updated successfully, but these errors were encountered: