Issue 1:
I've just had julia updated from 0.4.0 to 0.4.1 via homebrew and ran the tests just to check before getting too excited and I have attached the test output.

I am using a MacBook Air running OS X 10.9.5

Model Name: MacBook Air

Model Identifier: MacBookAir4,1

Processor Name: Intel Core i7

Processor Speed: 1.8 GHz

Number of Processors: 1

Total Number of Cores: 2

L2 Cache (per Core): 256 KB

L3 Cache: 4 MB

Memory: 4 GB

Boot ROM Version: MBA41.0077.B12

SMC Version (system): 1.74f4

julia0.4.1-test-output.txt

Issue 2:
This is similar to #7269, but there's no apparent resolution there and I have a very difficult machine setup.

I'm on Max OSX 10.11.1. I installed Julia 0.4.1 via the Homebrew formula. I have Xcode 7.1.1 installed and it has installed the command line tools.

When I execute the full test suite: /usr/local/Cellar/julia/0.4.1/bin/julia -e "Base.runtests()", I get this error:

From worker 5: * linalg/matmul in 9.48 seconds
From worker 5: * linalg/schur in 10.67 seconds
From worker 5: * linalg/special in 3.72 seconds
From worker 5: * linalg/eigen in 7.99 seconds
From worker 5: * linalg/bunchkaufman in 4.58 seconds
From worker 5: * linalg/svd in 5.16 seconds
From worker 4: * linalg/dense in 55.11 seconds
From worker 3: * linalg/qr in 55.64 seconds
From worker 5: * linalg/lapack in 19.66 seconds
From worker 4: * linalg/tridiag in 9.26 seconds
From worker 3: * linalg/bidiag in 14.30 seconds
From worker 4: * linalg/pinv in 7.72 seconds
From worker 2: * linalg/triangular in 95.10 seconds
ERROR: LoadError: On worker 5:
LoadError: error compiling logdet: error compiling mod2pi: could not load library "libopenspecfun"
dlopen(libopenspecfun.dylib, 1): Library not loaded: /usr/local/opt/libgfortran/lib/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/julia/0.4.1/lib/julia//libopenspecfun.dylib
Reason: image not found
[inlined code] from /usr/local/Cellar/julia/0.4.1/share/julia/test/linalg/diagonal.jl:80
in anonymous at no file:0
in include_string at loading.jl:266
in include_from_node1 at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
[inlined code] from util.jl:179
in runtests at /usr/local/Cellar/julia/0.4.1/share/julia/test/testdefs.jl:6
in anonymous at multi.jl:908
in run_work_thunk at multi.jl:646
[inlined code] from multi.jl:908
in anonymous at task.jl:63
while loading /usr/local/Cellar/julia/0.4.1/share/julia/test/linalg/diagonal.jl, in expression starting on line 12
while loading /usr/local/Cellar/julia/0.4.1/share/julia/test/runtests.jl, in expression starting on line 13
From worker 5: * linalg/diagonal ERROR: A test has failed. Please submit a bug report (https://github.com/JuliaLang/julia/issues)
including error messages above and the output of versioninfo():
Julia Version 0.4.1
Commit cbe1bee* (2015-11-08 10:33 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin15.0.0)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3

in error at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
in runtests at interactiveutil.jl:411
in runtests at interactiveutil.jl:400
in process_options at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib
in _start at /usr/local/Cellar/julia/0.4.1/lib/julia/sys.dylib

When I search my entire system for "libopenspecfun", it is found in these places:

/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib
/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib.1
/usr/local/Cellar/julia/0.4.0/lib/julia/libopenspecfun.dylib.1.0
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib.1
/usr/local/Cellar/julia/0.4.1/lib/julia/libopenspecfun.dylib.1.0

Searching for libgfortran shows up:

/Users/admin/.julia/v0.4/Homebrew/deps/usr/Library/Taps/staticfloat/homebrew-juliadeps/libgfortran.rb
/Users/admin/.pyenv/versions/intrinsicenv/lib/python3.4/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/i386/libgfortranbegin.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/libgfortranbegin.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.3.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/i386/libgfortran.spec
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.3.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.a
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.dylib
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/libgfortran.spec
/usr/local/lib/python2.7/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/lib/python3.4/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib
/usr/local/lib/python3.5/site-packages/scipy/.dylibs/libgfortran.2.0.0.dylib

Although it is installed with Homebrew's GCC, it doesn't appear to be at /usr/local/opt/libgfortran/ where Julia is looking for it.

echo $LD_LIBRARY_PATH gives the path of a single output directory in one of my projects:

/local/dev/my-proj/build/release:

Note that the basic suite of tests succeeded: brew test -v julia.

I tried brew reinstall gcc but that didn't help.

Finally, I did a brew update; brew rm -f julia; brew install julia, but that didn't help either.

I initially posted this as JuliaLang/julia#13980, but it looks like this is a better place for it.