[MacPorts] #24194: gcc42, gcc43, gcc44 won't compile with non-default build_arch

MacPorts noreply at macports.org
Wed Dec 29 23:49:12 PST 2010


#24194: gcc42, gcc43, gcc44 won't compile with non-default build_arch
-------------------------------+--------------------------------------------
 Reporter:  gvibe06@…          |       Owner:  mww@…            
     Type:  defect             |      Status:  new              
 Priority:  Normal             |   Milestone:                   
Component:  ports              |     Version:  1.8.2            
 Keywords:                     |        Port:  gcc44 gcc43 gcc42
-------------------------------+--------------------------------------------

Comment(by macports@…):

 My previous comment was a mistake. Please disregard it. My workaround was
 incorrect, all it did was trick macports into skipping the mpfr/gmp test.

 The actual cause of the failure on my box is:


 {{{
   ld: warning: in /opt/local/lib/libmpfr.dylib, file was built for i386
 which is not the architecture being linked (x86_64)
   ld: warning: in /opt/local/lib/libgmp.dylib, file was built for i386
 which is not the architecture being linked (x86_64)
 Undefined symbols:
   "_mpfr_subnormalize", referenced from:
       _main in ccSIThFg.o
   "_mpfr_erfc", referenced from:
       _main in ccSIThFg.o
   "_mpfr_atan2", referenced from:
       _main in ccSIThFg.o
   "_mpfr_init", referenced from:
       _main in ccSIThFg.o
       _main in ccSIThFg.o
   ld: symbol(s) not found
 }}}


 as noted in an earlier comment.

 I apologize for adding any confusion.

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


More information about the macports-tickets mailing list