[MacPorts] #33003: clang++ 2.9, 3.0 and 3.1 fail to link properly

MacPorts noreply at macports.org
Wed Jan 25 18:44:38 PST 2012


#33003: clang++ 2.9, 3.0 and 3.1 fail to link properly
----------------------------------+-----------------------------------------
 Reporter:  roland@…              |       Owner:  jeremyhu@…                     
     Type:  defect                |      Status:  new                            
 Priority:  Normal                |   Milestone:                                 
Component:  ports                 |     Version:  2.0.3                          
 Keywords:                        |        Port:  clang-2.9, clang-3.0, clang-3.1
----------------------------------+-----------------------------------------

Comment(by emanuele.giaquinta@…):

 Does /opt/local/bin come after /usr/bin in your PATH? clang is using
 "/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" as linker, which does not
 work. I get the same error with "PATH=/usr/bin:/opt/local/bin
 clang++-mp-3.0 -v a.cc", although clang uses "/usr/bin/ld" in my case.

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


More information about the macports-tickets mailing list