[MacPorts] #19719: Atlas 3.8.2 fails to build on PPC

MacPorts noreply at macports.org
Tue Dec 1 17:07:53 PST 2009


#19719: Atlas 3.8.2 fails to build on PPC
-------------------------------------+--------------------------------------
 Reporter:  and.damore@…             |       Owner:  jameskyle@…           
     Type:  defect                   |      Status:  new                   
 Priority:  Normal                   |   Milestone:                        
Component:  ports                    |     Version:  1.7.1                 
 Keywords:  atlas build fails ppc    |        Port:  atlas                 
-------------------------------------+--------------------------------------

Comment(by aaaskew@…):

 Replying to [ticket:19719 and.damore@…]:
 > I'm trying to build '''atlas at 3.8.2''' on a G4 running 10.5.7 and
 upgraded ports, I get several errors first of whom is
 > {{{
 > dmm.c:40: error: 'vector' undeclared (first use in this function)
 > }}}
 >
 > that '''vector''' reference makes me think about an AltiVec specific
 issue.
 >
 > I'm attaching the build phase debug output.

 I see the same issue on a 32bit PPC G4 running 10.4.11, and MacPorts 1.8.1
 while building atlas 3.8.3.

 Looking at the atlas source web site, there is some suggestion about
 issues when not using the Apple GCC.  I started by adding

 configure.args-append -D c -DATL_AVgcc

 to the Portfile.  This then caused errors saying to add a -maltivec flag.
 Adding --cflags="-maltivec" (my guess) or --cflags="-mregnames" (also from
 the atlas web site) did not help.

 I then noticed that MACHTYPE set after the configure stage of the atlas
 build is bad and the Architecture is set to UNKNOWN. Atlas seems to build
 xprobe_arch to work this out but it is failing.  The error says make:***
 [xarchinfo_x86] Error 1

 Why would it be trying to do x86 commands?

 Please tell me what I should be looking for next or what further
 information I can provide.

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


More information about the macports-tickets mailing list