[MacPorts] #18653: x264 fails to compile
#18653: x264 fails to compile -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: compilation | Port: x264 -----------------------------------+---------------------------------------- {{{ gcc -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -I/opt/local/include -L/opt/local/lib -Wall -I. -falign-loops=16 -DARCH_X86 -DSYS_MACOSX -DWORDS_BIGENDIAN -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer -c -o common/cpu.o common/cpu.c common/cpu.c:58: error: 'X264_CPU_SSE42' undeclared here (not in a function) common/cpu.c:61: error: 'X264_CPU_SSE_MISALIGN' undeclared here (not in a function) common/cpu.c:62: error: 'X264_CPU_LZCNT' undeclared here (not in a function) make: *** [common/cpu.o] Error 1 Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_Users_jeremy_src_macports- trunk_dports_multimedia_x264/work/ppc && make default" returned error 2 Command output: gcc -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -I/opt/local/include -L/opt/local/lib -Wall -I. -falign-loops=16 -DARCH_X86 -DSYS_MACOSX -DWORDS_BIGENDIAN -DHAVE_PTHREAD -fPIC -s -fomit- frame-pointer -c -o common/cpu.o common/cpu.c common/cpu.c:58: error: 'X264_CPU_SSE42' undeclared here (not in a function) common/cpu.c:61: error: 'X264_CPU_SSE_MISALIGN' undeclared here (not in a function) common/cpu.c:62: error: 'X264_CPU_LZCNT' undeclared here (not in a function) make: *** [common/cpu.o] Error 1 Warning: the following items did not execute (for x264): org.macports.destroot org.macports.build Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/18653> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18653: x264 fails to compile -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: compilation | Port: x264 -----------------------------------+---------------------------------------- Comment(by devans@…): Is this a universal build problem? I see -arch ppc but looks like it is trying to compile x86 optimizations. -- Ticket URL: <http://trac.macports.org/ticket/18653#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18653: x264 fails to compile -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: compilation | Port: x264 -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): I have 20080724_1+universal currently installed. So it looks like something between that ant the current version broke universal Just a hunch, you may need to change CHOST in the configure step -- Ticket URL: <http://trac.macports.org/ticket/18653#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18653: x264 fails to compile -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: compilation | Port: x264 -----------------------------------+---------------------------------------- Comment(by devans@…): Well, since you added the universal build stuff in r42793, maybe you would like to tackle this? -- Ticket URL: <http://trac.macports.org/ticket/18653#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18653: x264 fails to compile -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: compilation | Port: x264 -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): because it was r46739 that actually broke it ;) ok... I'll dive into it more... -- Ticket URL: <http://trac.macports.org/ticket/18653#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18653: x264 fails to compile ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: compilation Port: x264 | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r47357 built for me -- Ticket URL: <http://trac.macports.org/ticket/18653#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts