[MacPorts] #21070: port install x264 +asm fails in snow leopard
#21070: port install x264 +asm fails in snow leopard --------------------------------+------------------------------------------- Reporter: slimscsi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x264 yasm | Port: x264 --------------------------------+------------------------------------------- "CPU you selected does not support x86-64 instruction set" error is reported during cc_check in ./configure -- Ticket URL: <http://trac.macports.org/ticket/21070> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard --------------------------------+------------------------------------------- Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x264 yasm | Port: x264 --------------------------------+------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => devans@… -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard --------------------------------+------------------------------------------- Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x264 yasm | Port: x264 --------------------------------+------------------------------------------- Comment(by dave@…): The latest rev builds for me with ASM on Snow Leopard if we pass a —host argument to ./configure. I’ve attached a patch to the Portfile with that change that also enables ASM by default again. -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard --------------------------------+------------------------------------------- Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x264 yasm | Port: x264 --------------------------------+------------------------------------------- Comment(by lessen42@…): See also http://gcc.gnu.org/ml/gcc-bugs/2009-08/msg02260.html This affects all packages that use config.guess; forcing it to x86_64 will break on Core 1 -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard --------------------------------+------------------------------------------- Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x264 yasm | Port: x264 --------------------------------+------------------------------------------- Comment(by dave@…): Attached a new version of the patch that only enables ASM on 64-bit Snow Leopard. That should work on Core Duo machines as well. -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard --------------------------------+------------------------------------------- Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x264 yasm | Port: x264 --------------------------------+------------------------------------------- Changes (by devans@…): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard ---------------------------------+------------------------------------------ Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: yasm Port: x264 | ---------------------------------+------------------------------------------ Changes (by devans@…): * keywords: x264 yasm => yasm * status: assigned => closed * resolution: => fixed Comment: ASM optimizations enabled by default for snow leopard x86_64 in r57510. Will consider version increment after further testing to assess impact of API changes on dependents. At the very least this will require rebuilding of all dependents due to the change in library version and may break configuration tests to detect x264 (as in ffmpeg now fixed). Thanks for the patch. -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard ---------------------------------+------------------------------------------ Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: yasm Port: x264 | ---------------------------------+------------------------------------------ Comment(by jmr@…): I think you actually want to be passing --build rather than --host? The latter is for cross-compiling, which build_arch should never be making you do. -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21070: port install x264 +asm fails in snow leopard ---------------------------------+------------------------------------------ Reporter: slimscsi@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: yasm Port: x264 | ---------------------------------+------------------------------------------ Comment(by devans@…): I agree. Fixed in r57660. Thanks for catching this. -- Ticket URL: <http://trac.macports.org/ticket/21070#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts