Skip to content

Instantly share code, notes, and snippets.

@fxcoudert
Created April 3, 2017 09:59
Show Gist options
  • Save fxcoudert/f86c5fcba0519692702c711d0afa3b74 to your computer and use it in GitHub Desktop.
Save fxcoudert/f86c5fcba0519692702c711d0afa3b74 to your computer and use it in GitHub Desktop.
Fortran EXT_ETIME does not exist.
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/INSTALL
Run Build Command:"/usr/bin/make" "secondtst_EXT_ETIME"
Scanning dependencies of target secondtst_EXT_ETIME
[ 33%] Building Fortran object CMakeFiles/secondtst_EXT_ETIME.dir/second_EXT_ETIME.f.o
[ 66%] Building Fortran object CMakeFiles/secondtst_EXT_ETIME.dir/secondtst.f.o
[100%] Linking Fortran executable secondtst_EXT_ETIME
Undefined symbols for architecture x86_64:
"_etime_", referenced from:
_second_ in second_EXT_ETIME.f.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[3]: *** [secondtst_EXT_ETIME] Error 1
make[2]: *** [CMakeFiles/secondtst_EXT_ETIME.dir/all] Error 2
make[1]: *** [CMakeFiles/secondtst_EXT_ETIME.dir/rule] Error 2
make: *** [secondtst_EXT_ETIME] Error 2
Fortran EXT_ETIME_ does not exist.
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/INSTALL
Run Build Command:"/usr/bin/make" "secondtst_EXT_ETIME_"
Scanning dependencies of target secondtst_EXT_ETIME_
[ 33%] Building Fortran object CMakeFiles/secondtst_EXT_ETIME_.dir/second_EXT_ETIME_.f.o
[ 66%] Building Fortran object CMakeFiles/secondtst_EXT_ETIME_.dir/secondtst.f.o
[100%] Linking Fortran executable secondtst_EXT_ETIME_
Undefined symbols for architecture x86_64:
"_etime__", referenced from:
_second_ in second_EXT_ETIME_.f.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[3]: *** [secondtst_EXT_ETIME_] Error 1
make[2]: *** [CMakeFiles/secondtst_EXT_ETIME_.dir/all] Error 2
make[1]: *** [CMakeFiles/secondtst_EXT_ETIME_.dir/rule] Error 2
make: *** [secondtst_EXT_ETIME_] Error 2
Fortran/C interface test project failed with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface
Run Build Command:"/usr/bin/make"
Scanning dependencies of target myfort
[ 2%] Building Fortran object CMakeFiles/myfort.dir/my_module.f90.o
[ 5%] Building Fortran object CMakeFiles/myfort.dir/mymodule.f90.o
[ 8%] Building Fortran object CMakeFiles/myfort.dir/mysub.f.o
[ 11%] Building Fortran object CMakeFiles/myfort.dir/my_sub.f.o
[ 14%] Linking Fortran static library libmyfort.a
[ 14%] Built target myfort
Scanning dependencies of target symbols
[ 17%] Building C object CMakeFiles/symbols.dir/mymodule_.c.o
[ 20%] Building C object CMakeFiles/symbols.dir/my_module_.c.o
[ 22%] Building C object CMakeFiles/symbols.dir/symbols/my_sub.c.o
[ 25%] Building C object CMakeFiles/symbols.dir/symbols/my_sub_.c.o
[ 28%] Building C object CMakeFiles/symbols.dir/symbols/my_sub__.c.o
[ 31%] Building C object CMakeFiles/symbols.dir/symbols/MY_SUB-UPPER.c.o
[ 34%] Building C object CMakeFiles/symbols.dir/symbols/mysub.c.o
[ 37%] Building C object CMakeFiles/symbols.dir/symbols/mysub_.c.o
[ 40%] Building C object CMakeFiles/symbols.dir/symbols/MYSUB-UPPER.c.o
[ 42%] Building C object CMakeFiles/symbols.dir/symbols/__my_module_MOD_my_sub.c.o
[ 45%] Building C object CMakeFiles/symbols.dir/symbols/__my_module_NMOD_my_sub.c.o
[ 48%] Building C object CMakeFiles/symbols.dir/symbols/__my_module__my_sub.c.o
[ 51%] Building C object CMakeFiles/symbols.dir/symbols/__mymodule_MOD_mysub.c.o
[ 54%] Building C object CMakeFiles/symbols.dir/symbols/__mymodule_NMOD_mysub.c.o
[ 57%] Building C object CMakeFiles/symbols.dir/symbols/__mymodule__mysub.c.o
[ 60%] Building C object CMakeFiles/symbols.dir/symbols/my_moduleSmy_sub.c.o
[ 62%] Building C object CMakeFiles/symbols.dir/symbols/my_module_mp_my_sub_.c.o
[ 65%] Building C object CMakeFiles/symbols.dir/symbols/MY_MODULE_mp_MY_SUB-UPPER.c.o
[ 68%] Building C object CMakeFiles/symbols.dir/symbols/my_module_my_sub_.c.o
[ 71%] Building C object CMakeFiles/symbols.dir/symbols/my_module_MP_my_sub.c.o
[ 74%] Building C object CMakeFiles/symbols.dir/symbols/mymoduleSmysub.c.o
[ 77%] Building C object CMakeFiles/symbols.dir/symbols/mymodule_mp_mysub_.c.o
[ 80%] Building C object CMakeFiles/symbols.dir/symbols/MYMODULE_mp_MYSUB-UPPER.c.o
[ 82%] Building C object CMakeFiles/symbols.dir/symbols/mymodule_mysub_.c.o
[ 85%] Building C object CMakeFiles/symbols.dir/symbols/mymodule_MP_mysub.c.o
[ 88%] Linking C static library libsymbols.a
[ 88%] Built target symbols
Scanning dependencies of target FortranCInterface
[ 91%] Building Fortran object CMakeFiles/FortranCInterface.dir/main.F.o
[ 94%] Building Fortran object CMakeFiles/FortranCInterface.dir/call_sub.f.o
[ 97%] Building Fortran object CMakeFiles/FortranCInterface.dir/call_mod.f90.o
[100%] Linking Fortran executable FortranCInterface
Undefined symbols for architecture x86_64:
"__gfortran_set_args", referenced from:
_main in main.F.o
"__gfortran_set_options", referenced from:
_main in main.F.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [FortranCInterface] Error 1
make[1]: *** [CMakeFiles/FortranCInterface.dir/all] Error 2
make: *** [all] Error 2
Verifying Fortran/C Compiler Compatibility failed with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC
Run Build Command:"/usr/bin/make"
/usr/local/Cellar/cmake/3.7.2/bin/cmake -H/usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify -B/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_progress_start /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend
cd /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortran
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/requires
make[2]: Nothing to be done for `CMakeFiles/VerifyFortran.dir/requires'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build
[ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
/usr/local/bin/gfortran -I/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC -O2 -DNDEBUG -O2 -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
[ 40%] Linking Fortran static library libVerifyFortran.a
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
/usr/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
/usr/bin/ranlib libVerifyFortran.a
[ 40%] Built target VerifyFortran
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend
cd /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortranC
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build
[ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -I/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify/main.c
[ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -I/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify/VerifyC.c
[100%] Linking C executable VerifyFortranC
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -O3 -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6 libVerifyFortran.a -lgfortran -lquadmath -lm
Undefined symbols for architecture x86_64:
"_VerifyFortran", referenced from:
_main in main.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [VerifyFortranC] Error 1
make[1]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2
make: *** [all] Error 2
The system is: Darwin - 16.5.0 - x86_64
Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" succeeded.
Compiler: /usr/local/bin/gfortran
Build flags:
Id flags: -v
The output was:
0
Driving: /usr/local/bin/gfortran -v CMakeFortranCompilerId.F -mmacosx-version-min=10.12.5 -asm_macosx_version_min=10.12 -l gfortran -shared-libgcc
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/lto-wrapper
Target: x86_64-apple-darwin16.3.0
Configured with: ../configure --build=x86_64-apple-darwin16.3.0 --prefix=/usr/local/Cellar/gcc/6.3.0_1 --libdir=/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-6 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-pkgversion='Homebrew GCC 6.3.0_1' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 6.3.0 (Homebrew GCC 6.3.0_1)
COLLECT_GCC_OPTIONS='-v' '-mmacosx-version-min=10.12.5' '-asm_macosx_version_min=10.12' '-shared-libgcc' '-mtune=core2'
/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/f951 CMakeFortranCompilerId.F -ffixed-form -cpp=/var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//ccg9U9WW.f90 -quiet -v -D__DYNAMIC__ CMakeFortranCompilerId.F -fPIC -quiet -dumpbase CMakeFortranCompilerId.F -mmacosx-version-min=10.12.5 -mtune=core2 -auxbase CMakeFortranCompilerId -version -fintrinsic-modules-path /usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/finclude -o /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//cclAKTQ8.s
GNU Fortran (Homebrew GCC 6.3.0_1) version 6.3.0 (x86_64-apple-darwin16.3.0)
compiled by GNU C version 6.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../../../../../x86_64-apple-darwin16.3.0/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/finclude
/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/include
/usr/local/include
/usr/local/Cellar/gcc/6.3.0_1/include
/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/include-fixed
/usr/include
End of search list.
GNU Fortran2008 (Homebrew GCC 6.3.0_1) version 6.3.0 (x86_64-apple-darwin16.3.0)
compiled by GNU C version 6.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-v' '-mmacosx-version-min=10.12.5' '-shared-libgcc' '-mtune=core2'
as -arch x86_64 -v -force_cpusubtype_ALL -mmacosx-version-min=10.12 -o /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//ccIU9FPB.o /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//cclAKTQ8.s
Apple LLVM version 8.1.0 (clang-802.0.38)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.12.0 -filetype obj -main-file-name cclAKTQ8.s -target-cpu penryn -fdebug-compilation-dir /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/3.7.2/CompilerIdFortran -dwarf-debug-producer Apple LLVM version 8.1.0 (clang-802.0.38) -dwarf-version=4 -mrelocation-model pic -o /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//ccIU9FPB.o /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//cclAKTQ8.s
Reading specs from /usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../../libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-v' '-mmacosx-version-min=10.12.5' '-shared-libgcc' '-mtune=core2'
COMPILER_PATH=/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/
LIBRARY_PATH=/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../../
COLLECT_GCC_OPTIONS='-v' '-mmacosx-version-min=10.12.5' '-shared-libgcc' '-mtune=core2'
/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.12.5 -weak_reference_mismatches non-weak -o a.out -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../.. /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//ccIU9FPB.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
collect2 version 6.3.0
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.12.5 -weak_reference_mismatches non-weak -o a.out -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../.. /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//ccIU9FPB.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
@(#)PROGRAM:ld PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0
/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
/usr/bin/nm -n /var/folders/h8/9hx_fyj91053ksgdzb2w03vw0000gp/T//ccIU9FPB.o
Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "a.out"
The Fortran compiler identification is GNU, found in "/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/3.7.2/CompilerIdFortran/a.out"
Determining if the Fortran compiler works passed with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_88dde/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_88dde.dir/build.make CMakeFiles/cmTC_88dde.dir/build
Building Fortran object CMakeFiles/cmTC_88dde.dir/testFortranCompiler.f.o
/usr/local/bin/gfortran -c /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_88dde.dir/testFortranCompiler.f.o
Linking Fortran executable cmTC_88dde
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88dde.dir/link.txt --verbose=1
/usr/local/bin/gfortran CMakeFiles/cmTC_88dde.dir/testFortranCompiler.f.o -o cmTC_88dde
Detecting Fortran compiler ABI info compiled with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9bd22/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_9bd22.dir/build.make CMakeFiles/cmTC_9bd22.dir/build
Building Fortran object CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o
/usr/local/bin/gfortran -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeFortranCompilerABI.F -o CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o
Linking Fortran executable cmTC_9bd22
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9bd22.dir/link.txt --verbose=1
/usr/local/bin/gfortran -v -Wl,-v CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o -o cmTC_9bd22
Driving: /usr/local/bin/gfortran -v -Wl,-v CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o -o cmTC_9bd22 -mmacosx-version-min=10.12.5 -asm_macosx_version_min=10.12 -l gfortran -shared-libgcc
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/lto-wrapper
Target: x86_64-apple-darwin16.3.0
Configured with: ../configure --build=x86_64-apple-darwin16.3.0 --prefix=/usr/local/Cellar/gcc/6.3.0_1 --libdir=/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-6 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-pkgversion='Homebrew GCC 6.3.0_1' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 6.3.0 (Homebrew GCC 6.3.0_1)
Reading specs from /usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../../libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_9bd22' '-mmacosx-version-min=10.12.5' '-asm_macosx_version_min=10.12' '-shared-libgcc' '-mtune=core2'
COMPILER_PATH=/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/
LIBRARY_PATH=/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../../
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_9bd22' '-mmacosx-version-min=10.12.5' '-asm_macosx_version_min=10.12' '-shared-libgcc' '-mtune=core2'
/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.12.5 -weak_reference_mismatches non-weak -o cmTC_9bd22 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../.. -v CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
collect2 version 6.3.0
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.12.5 -weak_reference_mismatches non-weak -o cmTC_9bd22 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../.. -v CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
@(#)PROGRAM:ld PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
@(#)PROGRAM:ld PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0
/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
/usr/bin/nm -n CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o
Parsed Fortran implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_9bd22/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_9bd22.dir/build.make CMakeFiles/cmTC_9bd22.dir/build]
ignore line: [Building Fortran object CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o]
ignore line: [/usr/local/bin/gfortran -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeFortranCompilerABI.F -o CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o]
ignore line: [Linking Fortran executable cmTC_9bd22]
ignore line: [/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9bd22.dir/link.txt --verbose=1]
ignore line: [/usr/local/bin/gfortran -v -Wl,-v CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o -o cmTC_9bd22 ]
ignore line: [Driving: /usr/local/bin/gfortran -v -Wl,-v CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o -o cmTC_9bd22 -mmacosx-version-min=10.12.5 -asm_macosx_version_min=10.12 -l gfortran -shared-libgcc]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/local/bin/gfortran]
ignore line: [COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/lto-wrapper]
ignore line: [Target: x86_64-apple-darwin16.3.0]
ignore line: [Configured with: ../configure --build=x86_64-apple-darwin16.3.0 --prefix=/usr/local/Cellar/gcc/6.3.0_1 --libdir=/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-6 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-pkgversion='Homebrew GCC 6.3.0_1' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --enable-plugin --disable-nls --enable-multilib]
ignore line: [Thread model: posix]
ignore line: [gcc version 6.3.0 (Homebrew GCC 6.3.0_1) ]
ignore line: [Reading specs from /usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../../libgfortran.spec]
ignore line: [rename spec lib to liborig]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_9bd22' '-mmacosx-version-min=10.12.5' '-asm_macosx_version_min=10.12' '-shared-libgcc' '-mtune=core2']
ignore line: [COMPILER_PATH=/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/]
ignore line: [LIBRARY_PATH=/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/:/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../../]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_9bd22' '-mmacosx-version-min=10.12.5' '-asm_macosx_version_min=10.12' '-shared-libgcc' '-mtune=core2']
link line: [ /usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/collect2 -dynamic -arch x86_64 -macosx_version_min 10.12.5 -weak_reference_mismatches non-weak -o cmTC_9bd22 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../.. -v CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v]
arg [/usr/local/Cellar/gcc/6.3.0_1/libexec/gcc/x86_64-apple-darwin16.3.0/6.3.0/collect2] ==> ignore
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.12.5] ==> ignore
arg [-weak_reference_mismatches] ==> ignore
arg [non-weak] ==> ignore
arg [-o] ==> ignore
arg [cmTC_9bd22] ==> ignore
arg [-L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0] ==> dir [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0]
arg [-L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../..] ==> dir [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../..]
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_9bd22.dir/CMakeFortranCompilerABI.F.o] ==> ignore
arg [-lgfortran] ==> lib [gfortran]
arg [-no_compact_unwind] ==> ignore
arg [-lSystem] ==> lib [System]
arg [-lgcc_ext.10.5] ==> lib [gcc_ext.10.5]
arg [-lgcc] ==> lib [gcc]
arg [-lquadmath] ==> lib [quadmath]
arg [-lm] ==> lib [m]
arg [-lgcc_ext.10.5] ==> lib [gcc_ext.10.5]
arg [-lgcc] ==> lib [gcc]
arg [-lSystem] ==> lib [System]
arg [-v] ==> ignore
Library search paths: [;/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0;/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [gcc_ext.10.5]
remove lib [gcc]
remove lib [gcc_ext.10.5]
remove lib [gcc]
remove lib [System]
collapse library dir [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0] ==> [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0]
collapse library dir [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0/../../..] ==> [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6]
collapse library dir [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0] ==> [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0]
collapse library dir [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6] ==> [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [gfortran;quadmath;m]
implicit dirs: [/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0;/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6;/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Determining if the Fortran compiler supports Fortran 90 passed with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4b620/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_4b620.dir/build.make CMakeFiles/cmTC_4b620.dir/build
Building Fortran object CMakeFiles/cmTC_4b620.dir/testFortranCompilerF90.f90.o
/usr/local/bin/gfortran -c /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp/testFortranCompilerF90.f90 -o CMakeFiles/cmTC_4b620.dir/testFortranCompilerF90.f90.o
Linking Fortran executable cmTC_4b620
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4b620.dir/link.txt --verbose=1
/usr/local/bin/gfortran CMakeFiles/cmTC_4b620.dir/testFortranCompilerF90.f90.o -o cmTC_4b620
Fortran NONE exists. Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/INSTALL
Run Build Command:"/usr/bin/make" "secondtst_NONE"
Scanning dependencies of target secondtst_NONE
[ 33%] Building Fortran object CMakeFiles/secondtst_NONE.dir/second_NONE.f.o
[ 66%] Building Fortran object CMakeFiles/secondtst_NONE.dir/secondtst.f.o
[100%] Linking Fortran executable secondtst_NONE
[100%] Built target secondtst_NONE
Fortran INT_CPU_TIME exists. Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/INSTALL
Run Build Command:"/usr/bin/make" "secondtst_INT_CPU_TIME"
Scanning dependencies of target secondtst_INT_CPU_TIME
[ 33%] Building Fortran object CMakeFiles/secondtst_INT_CPU_TIME.dir/second_INT_CPU_TIME.f.o
[ 66%] Building Fortran object CMakeFiles/secondtst_INT_CPU_TIME.dir/secondtst.f.o
[100%] Linking Fortran executable secondtst_INT_CPU_TIME
[100%] Built target secondtst_INT_CPU_TIME
Fortran INT_ETIME exists. Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/INSTALL
Run Build Command:"/usr/bin/make" "secondtst_INT_ETIME"
Scanning dependencies of target secondtst_INT_ETIME
[ 33%] Building Fortran object CMakeFiles/secondtst_INT_ETIME.dir/second_INT_ETIME.f.o
[ 66%] Building Fortran object CMakeFiles/secondtst_INT_ETIME.dir/secondtst.f.o
[100%] Linking Fortran executable secondtst_INT_ETIME
[100%] Built target secondtst_INT_ETIME
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is AppleClang, found in "/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/3.7.2/CompilerIdC/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_40cef/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_40cef.dir/build.make CMakeFiles/cmTC_40cef.dir/build
Building C object CMakeFiles/cmTC_40cef.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_40cef.dir/testCCompiler.c.o -c /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_40cef
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_40cef.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_40cef.dir/testCCompiler.c.o -o cmTC_40cef
Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_6eaab/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_6eaab.dir/build.make CMakeFiles/cmTC_6eaab.dir/build
Building C object CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_6eaab
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6eaab.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o -o cmTC_6eaab
Apple LLVM version 8.1.0 (clang-802.0.38)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o cmTC_6eaab -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_6eaab/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_6eaab.dir/build.make CMakeFiles/cmTC_6eaab.dir/build]
ignore line: [Building C object CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_6eaab]
ignore line: [/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6eaab.dir/link.txt --verbose=1]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o -o cmTC_6eaab ]
ignore line: [Apple LLVM version 8.1.0 (clang-802.0.38)]
ignore line: [Target: x86_64-apple-darwin16.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o cmTC_6eaab -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> lib [to_library]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> ignore
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.12.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_6eaab] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_6eaab.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [to_library]
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_278f6/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_278f6.dir/build.make CMakeFiles/cmTC_278f6.dir/build
Building C object CMakeFiles/cmTC_278f6.dir/feature_tests.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_278f6.dir/feature_tests.c.o -c /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_278f6
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_278f6.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_278f6.dir/feature_tests.c.o -o cmTC_278f6
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_7f31c/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7f31c.dir/build.make CMakeFiles/cmTC_7f31c.dir/build
Building C object CMakeFiles/cmTC_7f31c.dir/feature_tests.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_7f31c.dir/feature_tests.c.o -c /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_7f31c
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f31c.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_7f31c.dir/feature_tests.c.o -o cmTC_7f31c
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3aba8/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_3aba8.dir/build.make CMakeFiles/cmTC_3aba8.dir/build
Building C object CMakeFiles/cmTC_3aba8.dir/feature_tests.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_3aba8.dir/feature_tests.c.o -c /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_3aba8
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3aba8.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_3aba8.dir/feature_tests.c.o -o cmTC_3aba8
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros
bli ~/Downloads/lapack-3.7.0 $ mkdir build
bli ~/Downloads/lapack-3.7.0 $ cd build
bli ~/Downloads/lapack-3.7.0/build $ cmake .. -DLAPACKE:BOOL=ON
-- Setting build type to 'Release' as none was specified.
-- The Fortran compiler identification is GNU 6.3.0
-- Checking whether Fortran compiler has -isysroot
-- Checking whether Fortran compiler has -isysroot - yes
-- Checking whether Fortran compiler supports OSX deployment target flag
-- Checking whether Fortran compiler supports OSX deployment target flag - yes
-- Check for working Fortran compiler: /usr/local/bin/gfortran
-- Check for working Fortran compiler: /usr/local/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/bin/gfortran supports Fortran 90
-- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes
-- Looking for Python greater than 2.6 -
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7")
-- Using Python version 2.7.13
-- Reducing RELEASE optimization level to O2
-- Looking for Fortran NONE - found
-- Looking for Fortran INT_CPU_TIME - found
-- Looking for Fortran EXT_ETIME - not found
-- Looking for Fortran EXT_ETIME_ - not found
-- Looking for Fortran INT_ETIME - found
-- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function.
-- Using supplied NETLIB BLAS implementation
-- Using supplied NETLIB LAPACK implementation
-- Building Single Precision
-- Building Double Precision
-- Building Complex Precision
-- Building Double Complex Precision
-- BUILD TESTING : ON
-- Running Summary
-- LAPACKE enable
-- The C compiler identification is AppleClang 8.1.0.8020038
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Failed to compile
-- Verifying Fortran/C Compiler Compatibility
CMake Warning (dev) at /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface.cmake:309 (message):
No FortranCInterface mangling known for VerifyFortran
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify/CMakeLists.txt:16 (FortranCInterface_HEADER)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Verifying Fortran/C Compiler Compatibility - Failed
CMake Error at /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface.cmake:382 (message):
The Fortran compiler:
/usr/local/bin/gfortran
and the C compiler:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
failed to compile a simple test project using both languages. The output
was:
Change Dir: /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC
Run Build Command:"/usr/bin/make"
/usr/local/Cellar/cmake/3.7.2/bin/cmake -H/usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify -B/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_progress_start /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend
cd /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortran
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/requires
make[2]: Nothing to be done for `CMakeFiles/VerifyFortran.dir/requires'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build
[ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
/usr/local/bin/gfortran -I/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC -O2 -DNDEBUG -O2 -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
[ 40%] Linking Fortran static library libVerifyFortran.a
/usr/local/Cellar/cmake/3.7.2/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
/usr/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
/usr/bin/ranlib libVerifyFortran.a
[ 40%] Built target VerifyFortran
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend
cd /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC /Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortranC
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build
[ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -I/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify/main.c
[ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -I/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/FortranCInterface/VerifyC -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /usr/local/Cellar/cmake/3.7.2/share/cmake/Modules/FortranCInterface/Verify/VerifyC.c
[100%] Linking C executable VerifyFortranC
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -O3 -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6/gcc/x86_64-apple-darwin16.3.0/6.3.0 -L/usr/local/Cellar/gcc/6.3.0_1/lib/gcc/6 libVerifyFortran.a -lgfortran -lquadmath -lm
Undefined symbols for architecture x86_64:
"_VerifyFortran", referenced from:
_main in main.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [VerifyFortranC] Error 1
make[1]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2
make: *** [all] Error 2
Call Stack (most recent call first):
LAPACKE/CMakeLists.txt:9 (FortranCInterface_VERIFY)
-- Configuring incomplete, errors occurred!
See also "/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeOutput.log".
See also "/Users/fx/Downloads/lapack-3.7.0/build/CMakeFiles/CMakeError.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment