Could "clang: warning: argument unused during compilation: '-m128bit-long-double' " cause a build to fail?

362 views
Skip to first unread message

Gregory Plumb

unread,
Jul 10, 2013, 4:04:27 PM7/10/13
to julia...@googlegroups.com
Hi,

I was trying to build Julia from the source code and this message showed up repeatedly:

clang: warning: argument unused during compilation: '-m128bit-long-double'

Afterwards, assorted warnings started popping up and, eventually, the build failed.  The last several lines of the build were:

make[4]: *** [level2] Error 133
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [level1] Trace/BPT trap: 5
make[3]: *** [tests] 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. ***
cp: openblas-v0.2.6/libopenblas.dylib: No such file or directory
make[2]: *** [/Users/gregoryplumb/julia/usr/lib/libopenblas.dylib] Error 1
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

I checked the list of software required to build Julia and I think that I meet the requirements.  I have:

Gregorys-MacBook-Pro:~ gregoryplumb$ make --version
GNU Make 3.81
This program built for i386-apple-darwin11.3.0

Gregorys-MacBook-Pro:~ gregoryplumb$ Clang --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix

Gregorys-MacBook-Pro:~ gregoryplumb$ gfortran --version
GNU Fortran (GCC) 4.8.1

Gregorys-MacBook-Pro:~ gregoryplumb$ git --version
git version 1.7.12.4 (Apple Git-37)

Gregorys-MacBook-Pro:~ gregoryplumb$ perl --version

This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Gregorys-MacBook-Pro:~ gregoryplumb$ curl --version
curl 7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz 

Gregorys-MacBook-Pro:~ gregoryplumb$ m4 --version
GNU M4 1.4.6.

Gregorys-MacBook-Pro:~ gregoryplumb$ patch --version
patch 2.5.8


Is one of these out of date?  Is there something that I should do differently when building?  I have already tried the suggestions from the last several lines of the build.  



Thanks.  


Viral Shah

unread,
Jul 11, 2013, 3:23:36 AM7/11/13
to julia...@googlegroups.com
Everything looks like it is ok. For the time being, an alternate way to get past this is to pass `USE_SYSTEM_BLAS=0`.

In order to figure out why this failed, do `make USE_QUIET=0`, so that we can see the full output. The compilation warning is unrelated, and everyone gets it. It has also been fixed in the next release of openblas. 

Please do file an issue to continue troubleshooting this, so that we can track it down and fix it, even if it takes some time. In the issue, do note what CPU you are using, and which version of OS X are you running.

-viral

Viral Shah

unread,
Jul 11, 2013, 3:24:03 AM7/11/13
to julia...@googlegroups.com
Oops - I meant doing `make USE_SYSTEM_BLAS=1`.

-viral
Reply all
Reply to author
Forward
0 new messages