[MacPorts] #43825: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Mon May 26 07:26:51 PDT 2014


#43825: Undefined symbols for architecture x86_64
-----------------------------+--------------------------------
  Reporter:  peter.skands@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.0
Resolution:                  |   Keywords:  x86_64
      Port:  root5           |
-----------------------------+--------------------------------

Comment (by jonesc@…):

 I concur, this looks like a C++ runtime issue.

 Note that the +gcc48 variant does *not* enable the use of gcc to build the
 C++ sources. It is only used to pick the gfortran version used to build
 the small fraction of F77 code still in ROOT (legacy HBOOK stuff). You
 should use the same C++ compiler for your private code as used to build
 ROOT, which for the most recent OSX releases will be clang.

 You can check this using

 {{{
 MacBookPro ~ > root-config5 --cxx
 /usr/bin/clang++
 MacBookPro ~ > root-config5 --cc
 /usr/bin/clang
 }}}

 Building with g++ from GCC is specifically *not* supported (and removed as
 an option several versions back) and it just leads to issues with mixing
 C++ runtimes.

 Chris

-- 
Ticket URL: <https://trac.macports.org/ticket/43825#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list