I can successfully build 0.6-rc3 but I am unable to finish building the current origin/master [17d5c55].
I’ve put a full build log here: https://gist.github.com/JonathanAnderson/ca3b7d81da3f22974f6565b99308cb74
The overview of my process is as follows:
coreavx2 ❯ git clone https://github.com/JuliaLang/julia julia_master
Cloning into 'julia_master'...
remote: Counting objects: 367503, done.
remote: Compressing objects: 100% (177/177), done.
remote: Total 367503 (delta 88), reused 136 (delta 17), pack-reused 367224
Receiving objects: 100% (367503/367503), 166.74 MiB | 24.84 MiB/s, done.
Resolving deltas: 100% (301283/301283), done.
coreavx2 ❯ cat > julia_master/Make.user
override MARCH=core-avx2
override CC=/opt/rh/devtoolset-6/root/bin/gcc
override CXX=/opt/rh/devtoolset-6/root/bin/g++
CXXFLAGS=-std=c++11
CMAKE=/usr/bin/cmake3
USE_INTEL_MKL=1
USE_INTEL_MKL_FFT=1
USE_BLAS64=1
MKLROOT=/opt/radix/vendor-centos-7.2-gcc-6.2.1-20170510/packages/mkl/install
coreavx2 ❯ make -C julia_master
This gives me the following error when linking everything
...
LINK usr/lib/libjulia.so.0.7.0
make[1]: Leaving directory `/gpfs/tcs3/users/janders/shared/coreavx2/julia_master/src'
make[1]: Entering directory `/gpfs/tcs3/users/janders/shared/coreavx2/julia_master/ui'
CC ui/repl.o
LINK usr/bin/julia
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.2.1/ld: /opt/rh/devtoolset-6/root/usr/lib/gcc/x86_64-redhat-linux/6.2.1/libstdc++_nonshared.a(functexcept48.o): undefined reference to symbol '__cxa_free_exception@@CXXABI_1.3'
/usr/lib64/libstdc++.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [/gpfs/tcs3/users/janders/shared/coreavx2/julia_master/usr/bin/julia] Error 1
make[1]: Leaving directory `/gpfs/tcs3/users/janders/shared/coreavx2/julia_master/ui'
make: *** [julia-ui-release] Error 2
make: Leaving directory `/gpfs/tcs3/users/janders/shared/coreavx2/julia_master'
This is strange since 6.0-rc3 builds just fine. Any idea what is going on here or what I should try to do next?