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

MacPorts noreply at macports.org
Tue May 4 07:05:45 PDT 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 kyle-macports@…):

 I'm having the same problem, but with a different architecture/OS. I'm
 trying to build gcc44 on a PowerPC G5 running 10.5, and I'm trying to get
 a ppc64 build. I set the build_arch to ppc64, and both gmp and mpfr seem
 to have built correctly:

 {{{$ lipo -info /opt/local/lib/lib{gmp,mpfr}.dylib}}}[[BR]]
 {{{Non-fat file: /opt/local/lib/libgmp.dylib is architecture:
 ppc64}}}[[BR]]
 {{{Non-fat file: /opt/local/lib/libmpfr.dylib is architecture: ppc64}}}

 But when I attempt to build gcc44, the configure phase errors out,
 complaining that it cannot find libmpfr and libgmp.

 For now, I've edited the portfile (via `port edit gcc44`) to add `-m64`
 via configure.*-append... but that's probably the wrong way to do it, and
 in any event, I shouldn't have to do that.

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


More information about the macports-tickets mailing list