[MacPorts] #33156: x264 @20111023 +universal Build failure - MMX error on i386

MacPorts noreply at macports.org
Mon Feb 6 01:32:06 PST 2012


#33156: x264 @20111023 +universal Build failure - MMX error on i386
--------------------------------+-------------------------------------------
 Reporter:  abarnert@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:                      |        Port:  x264                                 
--------------------------------+-------------------------------------------
 On Lion 10.7.2 with Xcode 4.2, "port upgrade x264 +universal" failed. I
 tried uninstall and clean reinstall, and got the same error.

 Apparently configure ends up with a set of arguments for the i386 build
 that has MMX disabled, but mmintrin.h included. See the attached log.

 I wasn't sure what made it decide to use mmintrin.h, but it was easy to
 check that adding -mmmx made it build. So, after that test, I edited the
 portfile to add "configure.cflags-append -mmmx" and did a clean port
 install. The resulting binary seems to work in both architectures. It
 might be slower in 32-bit than it would be (since it's presumably using
 MMX instead of SSE2 somewhere or other, or there wouldn't have been a
 build failure in the first place, right?). That doesn't bother me too
 much, but you probably want a more general/better solution.

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


More information about the macports-tickets mailing list