#43825: root5: Undefined symbols for architecture x86_64 -----------------------------+-------------------------------- Reporter: peter.skands@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: invalid | Keywords: Port: root5 | -----------------------------+-------------------------------- Comment (by jonesc@…): Replying to [comment:6 mojca@…]:
I still think that you might be able to use gcc4.8 if you install root5 explicitly with gcc: {{{ port install root5 configure.compiler=macports-gcc-4.8 }}} and then install your software with the same compiler.
Note, if you try and do this, then you will have to make sure *all* the other Ports than provide libraries using a C++ runtime (and ports they use etc. etc.) are also built using gcc 4.8, which is not the case by default. Effectively you will have to rebuild your entire MacPorts stack using gcc as the default compiler. The reason for this is you absolutely cannot mix the libc++ runtime (as used by clang) with the MacPorts libstdc++ runtime (as used by gcc). Apple have firmly placed their cap on Clang. They will not touch anything GPL3 (which gcc is). If you really want to support users on OSX10.9 or newer, then in practise clang ios the only sane way to go, IMHO. Trying to stick with gcc is only going to get harder and harder... So whilst the above might be possible, I really do not recommend it, nor is it supported. Chris -- Ticket URL: <https://trac.macports.org/ticket/43825#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X