[MacPorts] #26864: atlas @3.8.3 build fails with #error Use the "-maltivec" flag to enable PowerPC AltiVec support

MacPorts noreply at macports.org
Sat Feb 26 13:03:38 PST 2011


#26864: atlas @3.8.3 build fails with #error Use the "-maltivec" flag to enable
PowerPC AltiVec support
-----------------------------------+----------------------------------------
  Reporter:  jpmasseria@…          |       Owner:  jameskyle@…           
      Type:  defect                |      Status:  reopened              
  Priority:  Normal                |   Milestone:                        
 Component:  ports                 |     Version:  1.9.1                 
Resolution:                        |    Keywords:                        
      Port:  atlas                 |  
-----------------------------------+----------------------------------------

Comment(by jpmasseria@…):

 I think now I have the problem described in Ticket #28413.

 I just fetched 3.9.37 using:

 {{{

 sudo port fetch atlas @3.9.37
 }}}


 Bottom line is that for an eMac to work you need to include the change I
 previously documented.

 {{{
 --- CONFIG/src/backend/archinfo_freebsd.c.orig  2009-02-18
 18:47:37.000000000 +0000
 +++ CONFIG/src/backend/archinfo_freebsd.c       2010-01-01
 11:45:22.000000000 +0000
 @@ -69,7 +69,7 @@
              if
 (strstr(res,"c1,2")||strstr(res,"c3,1")||strstr(res,"c3,2")||
 strstr(res,"c3,3")||strstr(res,"c3,4")||strstr(res,"c3,5")||
 strstr(res,"c3,6")||strstr(res,"c4,2")||strstr(res,"c4,5")||
 -                strstr(res,"c5,1")||strstr(res,"c10,1"))
 +
 strstr(res,"c5,1")||strstr(res,"c10,1")||strstr(res,"c4,4"))
                 mach = PPCG4;
              else if (strstr(res,"c11,2")|| strstr(res,"c12,1")||
                       strstr(res,"c7,2") || strstr(res,"c7,3") ||
 }}}

 John

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


More information about the macports-tickets mailing list