Created attachment 898458 [details] build.log [...] ../x264-c196240409e4d7c01b47448d93b1f9683aaa7cf7/common/ppc/pixel.c:1009:1: note: in expansion of macro 'PIXEL_SAD_X4_ALTIVEC' 1009 | PIXEL_SAD_X4_ALTIVEC( pixel_sad_x4_8x16_altivec, 8 ) | ^~~~~~~~~~~~~~~~~~~~ ../x264-c196240409e4d7c01b47448d93b1f9683aaa7cf7/common/ppc/pixel.c:1009:1: warning: no return statement in function returning non-void [-Wreturn-type] ../x264-c196240409e4d7c01b47448d93b1f9683aaa7cf7/common/ppc/pixel.c: In function 'x264_8_pixel_init_altivec': ../x264-c196240409e4d7c01b47448d93b1f9683aaa7cf7/common/ppc/pixel.c:1576:31: error: assignment to 'x264_pixel_cmp_x3_t' {aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} from incompatible pointer type 'int (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' {aka 'int (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} [-Wincompatible-pointer-types] 1576 | pixf->sad_x3[PIXEL_8x16] = pixel_sad_x3_8x16_altivec; | ^ ../x264-c196240409e4d7c01b47448d93b1f9683aaa7cf7/common/ppc/pixel.c:1578:31: error: assignment to 'x264_pixel_cmp_x3_t' {aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} from incompatible pointer type 'int (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' {aka 'int (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} [-Wincompatible-pointer-types] 1578 | pixf->sad_x3[PIXEL_8x8] = pixel_sad_x3_8x8_altivec; | ^ ../x264-c196240409e4d7c01b47448d93b1f9683aaa7cf7/common/ppc/pixel.c:1581:31: error: assignment to 'x264_pixel_cmp_x4_t' {aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} from incompatible pointer type 'int (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' {aka 'int (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} [-Wincompatible-pointer-types] 1581 | pixf->sad_x4[PIXEL_8x16] = pixel_sad_x4_8x16_altivec; | ^ ../x264-c196240409e4d7c01b47448d93b1f9683aaa7cf7/common/ppc/pixel.c:1583:31: error: assignment to 'x264_pixel_cmp_x4_t' {aka 'void (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} from incompatible pointer type 'int (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, uint8_t *, intptr_t, int *)' {aka 'int (*)(unsigned char *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, long int, int *)'} [-Wincompatible-pointer-types] 1583 | pixf->sad_x4[PIXEL_8x8] = pixel_sad_x4_8x8_altivec; | ^ make: *** [Makefile:310: common/ppc/pixel-8.o] Error 1 * ERROR: media-libs/x264-0.0.20231114-r1::gentoo failed (compile phase): * emake failed
Created attachment 898459 [details] emerge --info
Issue was already reported and patched upstream: https://code.videolan.org/videolan/x264/-/commit/de1bea534ff74195d1205cb5d50dab815bb7bc23 The patch applies cleanly on x264-0.0.20231114-r1 and works fine.