#33003: clang++ 2.9, 3.0 and 3.1 fail to link properly ----------------------------------------------+----------------------------- Reporter: roland@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: worksforme | Keywords: Port: clang-2.9, clang-3.0, clang-3.1 | ----------------------------------------------+----------------------------- Comment(by roland@…): Replying to [comment:12 jeremyhu@…]:
On my Snow Leopard machine with XCode 3.2.6,
My ld is: {{{ ld64-97.17 llvm version 2.9svn, from Apple Clang 1.7 (build 77) }}}
And with clang-3.1 (r150641), it is not passing -demangle. With clang-3.0, it *is* passing -demangle, but the linker is ok with it.
It looks like this was probably an issue with 2.9, 3.0, and earlier 3.1 and fixed with recent revisions on trunk. If you really want to use 2.9 or 3.0, I suggest you update your XCode to 3.2.6 or later.
I updated Xcode to version 3.2.6 and everything works fine now (`clang++-mp-2.9`, `clang++-mp-3.0` and `clang++-mp-3.1`). Thanks! -- Ticket URL: <https://trac.macports.org/ticket/33003#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS