Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607802 - =media-libs/x265-2.2 stable request
Summary: =media-libs/x265-2.2 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2017-01-31 14:01 UTC by Alexis Ballier
Modified: 2017-02-24 08:13 UTC (History)
0 users

See Also:
Package list:
=media-libs/x265-2.2
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2017-01-31 14:01:42 UTC
thx
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-02-04 12:12:29 UTC
Stable for HPPA.
Comment 2 Agostino Sarubbo gentoo-dev 2017-02-04 15:23:24 UTC
amd64 stable
Comment 3 Agostino Sarubbo gentoo-dev 2017-02-12 15:46:43 UTC
x86 stable
Comment 4 Agostino Sarubbo gentoo-dev 2017-02-12 17:03:24 UTC
ppc stable
Comment 5 Michael Weber (RETIRED) gentoo-dev 2017-02-16 23:30:23 UTC
ppc64 fails to build 2.2, 1.8-r3 builds fine.

cd /var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source-abi_ppc_64.ppc64-main12/common && /usr/lib64/ccache/bin/powerpc64-unknown-linux-gnu-g++  -DEXPORT_C_API=0 -DHAVE_ALTIVEC=1 -DHAVE_INT_TYPES_H=1 -DHIGH_BIT_DEPTH=1 -DPPC64=1 -DX265_ARCH_POWER8=1 -DX265_ARCH_POWER=1 -DX265_DEPTH=12 -DX265_NS=x265_12bit -D__STDC_LIMIT_MACROS=1 -I/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/. -I/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common -I/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/encoder -I/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source-abi_ppc_64.ppc64-main12   -DNDEBUG -O2 -mcpu=G5 -pipe -fPIC   -Wall -Wextra -Wshadow -std=gnu++98 -Wno-array-bounds -ffast-math -fno-exceptions -maltivec -mabi=altivec -flax-vector-conversions -fpermissive -mcpu=power8 -Wno-unused  -Wno-unknown-pragmas -Wno-maybe-uninitialized -o CMakeFiles/common.dir/ppc/pixel_altivec.cpp.o -c /var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:3661:37: warning: unused parameter ‘pix1’ [-Wunused-parameter]
 int sa8d_8x8_altivec(const int16_t* pix1, intptr_t i_pix1)
                                     ^
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:3661:52: warning: unused parameter ‘i_pix1’ [-Wunused-parameter]
 int sa8d_8x8_altivec(const int16_t* pix1, intptr_t i_pix1)
                                                    ^
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp: In function ‘void x265_12bit::setupPixelPrimitives_altivec(x265_12bit::EncoderPrimitives&)’:
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:4209:37: error: no matches converting function ‘sad16_altivec’ to type ‘x265_12bit::pixelcmp_t {aka int (*)(const short unsigned int*, long int, const short unsigned int*, long int)}’
     LUMA_PU(4, 4);                  
                                     ^
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:119:5: note: candidates are: template<int lx, int ly> int x265_12bit::sad16_altivec(const int16_t*, intptr_t, const int16_t*, intptr_t)
 int sad16_altivec(const int16_t* pix1, intptr_t stride_pix1, const int16_t* pix2, intptr_t stride_pix2)
     ^
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:87:12: note:                 template<int lx, int ly> int x265_12bit::sad16_altivec(const pixel*, intptr_t, const pixel*, intptr_t)
 int inline sad16_altivec(const pixel* pix1, intptr_t stride_pix1, const pixel* pix2, intptr_t stride_pix2)
            ^
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:4209:82: error: no matches converting function ‘sad16_x3_altivec’ to type ‘x265_12bit::pixelcmp_x3_t {aka void (*)(const short unsigned int*, const short unsigned int*, const short unsigned int*, const short unsigned int*, long int, int*)}’
     LUMA_PU(4, 4);                                                               
                                                                                  ^
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:431:13: note: candidate is: template<int lx, int ly> void x265_12bit::sad16_x3_altivec(const pixel*, const pixel*, const pixel*, const pixel*, intptr_t, int32_t*)
 void inline sad16_x3_altivec(const pixel* pix1, const pixel* pix2, const pixel* pix3, const pixel* pix4, intptr_t frefstride, int32_t* res)
             ^
/var/tmp/portage/media-libs/x265-2.2/work/x265_2.2/source/common/ppc/pixel_altivec.cpp:4209:130: error: no matches converting function ‘sad16_x4_altivec’ to type ‘x265_12bit::pixelcmp_x4_t {aka void (*)(const short unsigned int*, const short unsigned int*, const short unsigned int*, const short unsigned int*, const short unsigned int*, long int, int*)}’
     LUMA_PU(4, 4);
Comment 6 Alexis Ballier gentoo-dev 2017-02-17 11:10:51 UTC
(In reply to Michael Weber from comment #5)
> ppc64 fails to build 2.2, 1.8-r3 builds fine.

Should be fixed now:

Author: Alexis Ballier <aballier@gentoo.org>
Date:   Fri Feb 17 12:09:48 2017 +0100

    media-libs/x265: Disable asm/altivec on ppc64 when doing 10 or 12bits build.
    
    https://bugs.gentoo.org/show_bug.cgi?id=607802#c5
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

commit d206b9487177999c596a0d3a141df257923812fd
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Fri Feb 17 11:56:01 2017 +0100

    media-libs/x265: Use a more complete match for ppc64.
    
    Might help wrt https://bugs.gentoo.org/show_bug.cgi?id=607802#c5
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1
Comment 7 Michael Weber (RETIRED) gentoo-dev 2017-02-24 08:13:36 UTC
arm ppc64 stable, closing.