These are chat archives for elemental/chat

21st
Apr 2017
Andreas Noack
@andreasnoack
Apr 21 2017 18:53
Has anybody had problem compiling on Mac recently?
It has been a while since I tried last but now I get
    Undefined symbols for architecture x86_64:
      "_VerifyFortran", referenced from:
          _main in main.c.o
      "operator delete(void*, unsigned long)", referenced from:
          _VerifyCXX in VerifyCXX.cxx.o
      "operator new(unsigned long)", referenced from:
          _VerifyCXX in VerifyCXX.cxx.o
    ld: symbol(s) not found for architecture x86_64
    collect2: error: ld returned 1 exit status
    make[2]: *** [VerifyFortranC] Error 1
    make[1]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2
    make: *** [all] Error 2
More specifically
[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
What might have changes is that homebrew has updated GCC.
Andreas Noack
@andreasnoack
Apr 21 2017 19:18
Hm. Some random permutation os brew commands and this now seems fixed.