Same exact error? For the same objects?
There could be some mismatch between the C compiler (clang) and gfortran. My suggestion is to upgrade gfortran.
The latest gfortran from homebrew is version 7.2.0 (and you seem to have 6.3.0)
This should give you an update gfortran from homebrew