Skip to content

Instantly share code, notes, and snippets.

@rkwitt
Created September 29, 2014 07:29
Show Gist options
  • Save rkwitt/a889b62546df2e802d63 to your computer and use it in GitHub Desktop.
Save rkwitt/a889b62546df2e802d63 to your computer and use it in GitHub Desktop.
2014-09-29 09:29:04 +0200
make
all
clang -O -c -o vecLibFort.o vecLibFort.c
clang -shared -O -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib -O vecLibFort.c \
-Wl,-reexport_framework -Wl,Accelerate \
-install_name /usr/local/lib/libvecLibFortI.dylib
ar -cru libvecLibFort.a vecLibFort.o
clang -shared -o libvecLibFort.dylib vecLibFort.o \
-Wl,-reexport_framework -Wl,Accelerate \
-install_name /usr/local/lib/libvecLibFort.dylib
ranlib libvecLibFort.a
clang called with: -O -c -o vecLibFort.o vecLibFort.c
superenv removed: -O
superenv added: -pipe -w -Os -march=native -m64 -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -m64 -c -o vecLibFort.o vecLibFort.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
clang called with: -shared -O -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib -O vecLibFort.c -Wl,-reexport_framework -Wl,Accelerate -install_name /usr/local/lib/libvecLibFortI.dylib
superenv removed: -O -O
superenv added: -pipe -w -Os -march=native -m64 -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
superenv executed: clang -pipe -w -Os -march=native -m64 -shared -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib vecLibFort.c -Wl,-reexport_framework -Wl,Accelerate -install_name /usr/local/lib/libvecLibFortI.dylib -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang called with: -shared -o libvecLibFort.dylib vecLibFort.o -Wl,-reexport_framework -Wl,Accelerate -install_name /usr/local/lib/libvecLibFort.dylib
superenv added: -pipe -w -Os -march=native -m64 -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
superenv executed: clang -pipe -w -Os -march=native -m64 -shared -o libvecLibFort.dylib vecLibFort.o -Wl,-reexport_framework -Wl,Accelerate -install_name /usr/local/lib/libvecLibFort.dylib -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
2014-09-29 09:29:05 +0200
make
check
gfortran -o tester -O tester.f90 vecLibFort.o -framework Accelerate
./tester
dyld: Library not loaded: /usr/local/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib
Referenced from: /private/tmp/veclibfort-iaGEHs/vecLibFort-0.4.1/./tester
Reason: image not found
make: *** [check] Trace/BPT trap: 5
HOMEBREW_VERSION: 0.9.5
HEAD: 80f2d2990b6003355c72b98f436c338b7d6932ab
CPU: quad-core 64-bit haswell
OS X: 10.9.5-x86_64
Xcode: 6.0.1
CLT: 6.0.0.0.1.1410400753
X11: 2.7.7 => /opt/X11
ld called with: -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak -o tester -L/usr/local/Cellar/gcc/4.9.1/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1 -L/usr/local/Cellar/gcc/4.9.1/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1/../../.. /var/folders/98/4fvshczs34d0szmfrqv7k8n00000gn/T//ccN9a5QF.o vecLibFort.o -framework Accelerate -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem
superenv added: -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names
superenv executed: ld -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -dynamic -arch x86_64 -macosx_version_min 10.9.4 -weak_reference_mismatches non-weak -o tester -L/usr/local/Cellar/gcc/4.9.1/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1 -L/usr/local/Cellar/gcc/4.9.1/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1/../../.. /var/folders/98/4fvshczs34d0szmfrqv7k8n00000gn/T//ccN9a5QF.o vecLibFort.o -framework Accelerate -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 80f2d2990b6003355c72b98f436c338b7d6932ab
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.9.5-x86_64
Xcode: 6.0.1
CLT: 6.0.0.0.1.1410400753
Clang: 6.0 build 600
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.7_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby
Warning: Setting DYLD_* vars can break dynamic linking.
Set variables:
DYLD_LIBRARY_PATH: :/opt/intel/composer_xe_2013_sp1.2.139/mkl/lib/:/opt/intel/composer_xe_2013_sp1.2.139/compiler/lib
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man/de
/usr/local/share/man/de/man1
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libaspell.15.1.4.dylib
/usr/local/lib/libexpokit.dylib
/usr/local/lib/libgfortran.dylib
/usr/local/lib/libpspell.15.1.4.dylib
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/aspell.h
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libaspell.la
/usr/local/lib/libpspell.la
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
dos2unix
fuse4x
gcc49
ossp-uuid
osxfuse
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install arpack veclibfort
Run `brew missing` for more details.
Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
/Applications/MATLAB_R2013a.app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment