Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671036 - media-libs/libaom-1.0.0 - In file included from .../work/av1/common/ppc/cfl_ppc.c:16:0: .../work/av1/common/cfl.h:178:5: error: too many arguments to function ‘subtract_average_vsx’
Summary: media-libs/libaom-1.0.0 - In file included from .../work/av1/common/ppc/cfl_p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 678160
  Show dependency tree
 
Reported: 2018-11-12 23:47 UTC by ernsteiswuerfel
Modified: 2019-07-11 21:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (libaom-1.0.0:20181112-233855.log,286.46 KB, text/plain)
2018-11-12 23:47 UTC, ernsteiswuerfel
Details
emerge --info (file_671036.txt,6.01 KB, text/plain)
2018-11-12 23:47 UTC, ernsteiswuerfel
Details
upstream vsx.patch to make 1.0.0-r1 build on ppc64 (vsx.patch,5.66 KB, patch)
2019-03-09 16:37 UTC, ernsteiswuerfel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-11-12 23:47:19 UTC
Created attachment 554990 [details]
build.log

[...]
make[2]: Leaving directory '/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64'
[ 81%] Built target aom_av1_decoder
make[2]: Leaving directory '/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64'
[ 81%] Built target aom_dsp_common
make[2]: Leaving directory '/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64'
[ 81%] Built target aom_av1_common
make[2]: Leaving directory '/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64'
[ 81%] Built target aom_dsp_encoder
[ 82%] Linking CXX shared library libgtest.so
cd /var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64/third_party/googletest/src/googletest && /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
/usr/powerpc64-unknown-linux-gnu/gcc-bin/7.3.0/powerpc64-unknown-linux-gnu-g++ -fPIC -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe  -Wall -Wdisabled-optimization -Wextra -Wfloat-conversion -Wlogical-op -Wpointer-arith -Wsign-compare -Wstack-usage=320000 -Wtype-limits -Wuninitialized -Wunused -Wvla -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -Wl,-soname,libgtest.so -o libgtest.so CMakeFiles/gtest.dir/src/gtest-all.cc.o  -L/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64/third_party/googletest/src/googletest/src -Wl,-rpath,/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64/third_party/googletest/src/googletest/src: -lpthread 
make[2]: Leaving directory '/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64'
[ 82%] Built target gtest
make[2]: Leaving directory '/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64'
[ 82%] Built target aom_av1_encoder
make[1]: Leaving directory '/var/tmp/portage/media-libs/libaom-1.0.0/work/build-abi_ppc_64.ppc64'
make: *** [Makefile:130: all] Error 2
 * ERROR: media-libs/libaom-1.0.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2018-11-12 23:47:57 UTC
Created attachment 554992 [details]
emerge --info
Comment 3 ernsteiswuerfel archtester 2019-03-09 16:35:35 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2)
> Probable patch:
> 
> https://aomedia.googlesource.com/aom/+/
> 2f8587a8b30cb2e4b45df36c6c8461a440a77336
> https://aomedia.googlesource.com/aom/+/
> 2f8587a8b30cb2e4b45df36c6c8461a440a77336%5E%21/
Thanks for the hint! This patch works, libaom builds fine now on ppc64.
Comment 4 ernsteiswuerfel archtester 2019-03-09 16:37:29 UTC
Created attachment 568324 [details, diff]
upstream vsx.patch to make 1.0.0-r1 build on ppc64
Comment 5 Henrik 2019-05-10 20:47:07 UTC
I had the same problem and I can confirm that the fixed cfl_ppc.c worked on my PPC64 PowerMac G5
Comment 6 Larry the Git Cow gentoo-dev 2019-07-11 21:16:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e097ee7935471d2024e0a192d1dfbccd6d1aaa6

commit 3e097ee7935471d2024e0a192d1dfbccd6d1aaa6
Author:     Jory Pratt <anarchy@gentoo.org>
AuthorDate: 2019-07-11 21:15:52 +0000
Commit:     Jory Pratt <anarchy@gentoo.org>
CommitDate: 2019-07-11 21:16:07 +0000

    media-libs/libaom: Fix build issues on ppc64
    
    Closes: https://bugs.gentoo.org/671036
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Jory Pratt <anarchy@gentoo.org>

 .../libaom/files/libaom-1.0.0-update-vsx-ppc.patch | 126 +++++++++++++++++++++
 media-libs/libaom/libaom-1.0.0-r2.ebuild           |   1 +
 2 files changed, 127 insertions(+)