[MacPorts] #64781: x265 fails for ppc64 on Leopard
MacPorts
noreply at macports.org
Tue Apr 5 19:52:03 UTC 2022
#64781: x265 fails for ppc64 on Leopard
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: powerpc, leopard, ppc64
Port: x265 |
---------------------------+-------------------------------------
Comment (by barracuda156):
I got this now:
{{{
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64/common && /usr/bin/g++-4.2 -DEXPORT_C_API=1 -DHAVE_ALTIVEC=1
-DHAVE_INT_TYPES_H=1 -DHIGH_BIT_DEPTH=0 -DMACOS=1 -DPPC64=1
-DX265_ARCH_POWER8=1 -DX265_ARCH_POWER=1 -DX265_DEPTH=8 -DX265_NS=x265
-D__STDC_LIMIT_MACROS=1
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/common
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/encoder
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64 -pipe -Os -DNDEBUG -I/opt/local/include
-I/opt/local/include/LegacySupport -arch ppc64 -mmacosx-version-min=10.5
-Wall -Wextra -Wshadow -std=gnu++98 -ffast-math -fno-exceptions -maltivec
-mabi=altivec -flax-vector-conversions -fpermissive -mcpu=power8 -Wno-
unused -Wno-unknown-pragmas -Wno-maybe-uninitialized -MD -MT
common/CMakeFiles/common.dir/ppc/pixel_altivec.cpp.o -MF
CMakeFiles/common.dir/ppc/pixel_altivec.cpp.o.d -o
CMakeFiles/common.dir/ppc/pixel_altivec.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/common/ppc/pixel_altivec.cpp
[ 5%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64/encoder && /usr/bin/g++-4.2 -DEXPORT_C_API=1 -DHAVE_ALTIVEC=1
-DHAVE_INT_TYPES_H=1 -DHIGH_BIT_DEPTH=0 -DMACOS=1 -DPPC64=1
-DX265_ARCH_POWER8=1 -DX265_ARCH_POWER=1 -DX265_DEPTH=8 -DX265_NS=x265
-D__STDC_LIMIT_MACROS=1
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/common
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/encoder
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64 -pipe -Os -DNDEBUG -I/opt/local/include
-I/opt/local/include/LegacySupport -arch ppc64 -mmacosx-version-min=10.5
-Wall -Wextra -Wshadow -std=gnu++98 -ffast-math -fno-exceptions -maltivec
-mabi=altivec -flax-vector-conversions -fpermissive -mcpu=power8 -Wno-
uninitialized -MD -MT encoder/CMakeFiles/encoder.dir/analysis.cpp.o -MF
CMakeFiles/encoder.dir/analysis.cpp.o.d -o
CMakeFiles/encoder.dir/analysis.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/encoder/analysis.cpp
cc1plus: error: unrecognized command line option "-Wno-maybe-
uninitialized"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/encoder/bitcost.cpp:1:
error: bad value (power8) for -mcpu= switch
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/encoder/analysis.cpp:1:
error: bad value (power8) for -mcpu= switch
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/common/ppc/pixel_altivec.cpp:1:
error: bad value (power8) for -mcpu= switch
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/encoder/search.cpp:1:
error: bad value (power8) for -mcpu= switch
make[2]: *** [encoder/CMakeFiles/encoder.dir/bitcost.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [encoder/CMakeFiles/encoder.dir/analysis.cpp.o] Error 1
make[2]: *** [encoder/CMakeFiles/encoder.dir/search.cpp.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64'
make[2]: *** [common/CMakeFiles/common.dir/ppc/pixel_altivec.cpp.o] Error
1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [encoder/CMakeFiles/encoder.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 7%] Building CXX object
common/CMakeFiles/common.dir/ppc/dct_altivec.cpp.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64/common && /usr/bin/g++-4.2 -DEXPORT_C_API=1 -DHAVE_ALTIVEC=1
-DHAVE_INT_TYPES_H=1 -DHIGH_BIT_DEPTH=0 -DMACOS=1 -DPPC64=1
-DX265_ARCH_POWER8=1 -DX265_ARCH_POWER=1 -DX265_DEPTH=8 -DX265_NS=x265
-D__STDC_LIMIT_MACROS=1
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/common
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/encoder
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64 -pipe -Os -DNDEBUG -I/opt/local/include
-I/opt/local/include/LegacySupport -arch ppc64 -mmacosx-version-min=10.5
-Wall -Wextra -Wshadow -std=gnu++98 -ffast-math -fno-exceptions -maltivec
-mabi=altivec -flax-vector-conversions -fpermissive -mcpu=power8 -Wno-
unused -Wno-unknown-pragmas -Wno-maybe-uninitialized -MD -MT
common/CMakeFiles/common.dir/ppc/dct_altivec.cpp.o -MF
CMakeFiles/common.dir/ppc/dct_altivec.cpp.o.d -o
CMakeFiles/common.dir/ppc/dct_altivec.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/common/ppc/dct_altivec.cpp
cc1plus: error: unrecognized command line option "-Wno-maybe-
uninitialized"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work/x265-3.4/source/common/ppc/dct_altivec.cpp:1:
error: bad value (power8) for -mcpu= switch
make[2]: *** [common/CMakeFiles/common.dir/ppc/dct_altivec.cpp.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64'
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_x265/x265/work
/build-ppc64" && /usr/bin/make -j4 -w all VERBOSE=ON
Exit code: 2
Error: Failed to build x265: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64781#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list