[MacPorts] #33939: Apple-gcc42 does not build on PPC Tiger because libSystem is only 2-way fat ppc/ppc64

MacPorts noreply at macports.org
Sun Apr 8 11:04:10 PDT 2012


#33939: Apple-gcc42 does not build on PPC Tiger because libSystem is only 2-way fat
ppc/ppc64
--------------------------------------+-------------------------------------
 Reporter:  Peter_Dyballa@…           |       Owner:  jeremyhu@…           
     Type:  defect                    |      Status:  assigned             
 Priority:  Normal                    |   Milestone:                       
Component:  ports                     |     Version:  2.0.4                
 Keywords:                            |        Port:  apple-gcc42          
--------------------------------------+-------------------------------------

Comment(by jeremyhu@…):

 Can you try this:

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 91509)
 +++ Portfile    (working copy)
 @@ -178,6 +178,10 @@
      }
  }

 +if {${os.major} == 8 && ${build_arch} == "ppc"} {
 +    ldelete build_targets i386
 +}
 +
  # TODO: arm?

  build.args-append \
 }}}

 The resulting apple-gcc42 will not build i386 code, but I suspect that
 isn't a concern for you.  I'll try to figure out a better solution using
 the 10.4u SDK to build it.

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


More information about the macports-tickets mailing list