Damn, I seem to have gotten the dependencies wrong here 
https://github.com/JuliaLang/Julia/pull/8734/files#diff-3ba529ae517f6b57803af0502f52a40bR840
 then? Steven Johnson said he was able to get things to work, I thought. Did it 
look like all of openblas was rebuilding from scratch?

You may have to do `make -C deps install-objconv` manually, but this really 
shouldn’t be necessary for everyone to do manually if I did things right.

For everyone else who builds Julia from source regularly, if you want to rename 
your openblas symbols, follow the steps here 
https://github.com/JuliaLang/julia/pull/8734#issuecomment-59978800 - this 
assumes you’ve built openblas recently enough that you have an existing copy of 
v0.2.12. Check the results with `Base.blas_vendor()`, it should say :openblas64 
if your library has renamed symbols. I also hope completely fresh from-scratch 
builds on mac should work properly, or if you don’t want to rename your 
openblas symbols yet (particularly if you plan on bisecting back and forth 
through the git history) it should leave your existing built openblas library 
alone. Let’s see if we can figure out what’s going wrong in Dahua’s case. Sorry 
for the trouble.


From: Dahua Lin 
Sent: Tuesday, October 28, 2014 4:58 AM
To: [email protected] 
Subject: [julia-users] Re: Failure of installing Julia 0.4 (latest master) on 
Mac OS X 10.10

deps/objconv is not there. 


On Tuesday, October 28, 2014 7:14:11 PM UTC+8, Tony Kelman wrote: 
  Part of that might be my fault, we added the objconv utility recently as a 
build-time dependency to handle renaming of symbols in OpenBLAS on Mac, to 
avoid LP64-vs-ILP64 ABI incompatibilities.

  Can you tell me if you have a deps/objconv folder, and if so what's in it? 
Does clang++ -o objconv -O2 *.cpp in that folder work?


  On Tuesday, October 28, 2014 3:53:57 AM UTC-7, Dahua Lin wrote: 
    I just make a fresh clone of Julia 0.4, and when I did "make", I get the 
following error: 

    Note: The following floating-point exceptions are signalling: IEEE_DENORMAL
    make[4]: /Users/dhlin/julia-0.4/deps/objconv/objconv: No such file or 
directory
    make[4]: *** [../libopenblasp-r0.2.12.a.renamed] Error 1
    make[3]: *** [shared] Error 2
    *** Clean the OpenBLAS build with 'make -C deps clean-openblas'. Rebuild 
with 'make OPENBLAS_USE_THREAD=0 if OpenBLAS had trouble linking libpthread.so, 
and with 'make OPENBLAS_TARGET_ARCH=NEHALEM' if there were errors building 
SandyBridge support. Both these options can also be used simultaneously. ***
    make[2]: *** [openblas-v0.2.12/libopenblas.dylib] Error 1
    make[1]: *** [julia-release] Error 2
    make: *** [release] Error 2

    Not sure why it raises "IEEE_DENORMAL", or OpenBLAS just doesn't work in 
Yosemite?

    Dahua


Reply via email to