[MacPorts] #20816: gcc43 @4.3.4 build failure - ld: duplicate symbol in libbackend.a and tree-inline.o

MacPorts noreply at macports.org
Wed Sep 2 19:23:12 PDT 2009


#20816: gcc43 @4.3.4 build failure - ld: duplicate symbol in libbackend.a and tree-
inline.o
---------------------------------------+------------------------------------
 Reporter:  faisal.moledina@…          |       Owner:  mww@…           
     Type:  defect                     |      Status:  new             
 Priority:  Normal                     |   Milestone:                  
Component:  ports                      |     Version:  1.8.99          
 Keywords:  snowleopard                |        Port:  gcc43           
---------------------------------------+------------------------------------

Comment(by sean@…):

 After much searching, it's possible to fix this problem with the patch
 described here:

 http://www.nabble.com/-Bug-c%2B%2B-41180---New:-can-not-build-gcc-4.4.1
 -on-Snow-Leopard-Mac-OS-X-10.6-td25183434.html

 My install procedure (I rm -rf'ed /opt/local after 10.6) was:

 1) port install libiconv +universal
 2) port install mpfr +universal
 3) port install gcc43
 4) [wait until it breaks]
 5) cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/gcc-4.3.4/gcc/cp/
 6) Edit line 76 of the file and remove tree-inline.o from CXX_C_OBJS
 7) Resume compiling

 I can put together a complete patch if necessary but didn't create a .orig
 file to diff from when getting this to work.

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


More information about the macports-tickets mailing list