Created attachment 866880 [details] build.log (ppc, 2.2.0) Same for 2.2.1-r1. [...] powerpc-unknown-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/include" -O2 -mcpu=7450 -mtune=7450 -pipe -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DGPAC_NEED_LIBATOMIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0" -fvisibility="hidden" -c -o evg/raster_yuv.o evg/raster_yuv.c powerpc-unknown-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/include" -O2 -mcpu=7450 -mtune=7450 -pipe -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DGPAC_NEED_LIBATOMIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0" -fvisibility="hidden" -c -o evg/stencil.o evg/stencil.c evg/stencil.c: In function 'get_pix_yuyv_10': evg/stencil.c:1863:43: error: subscripted value is neither array nor pointer nor vector 1863 | #define GET_LE_10BIT_LEFT_AS_8(_ptr) (_ptr[1] ) | ^ evg/stencil.c:2220:14: note: in expansion of macro 'GET_LE_10BIT_LEFT_AS_8' 2220 | vu = GET_LE_10BIT_LEFT_AS_8(p_src + _this->off_u); | ^~~~~~~~~~~~~~~~~~~~~~ evg/stencil.c:1863:43: error: subscripted value is neither array nor pointer nor vector 1863 | #define GET_LE_10BIT_LEFT_AS_8(_ptr) (_ptr[1] ) | ^ evg/stencil.c:2222:22: note: in expansion of macro 'GET_LE_10BIT_LEFT_AS_8' 2222 | vy = GET_LE_10BIT_LEFT_AS_8(p_src + _this->off_y+4); | ^~~~~~~~~~~~~~~~~~~~~~ evg/stencil.c:1863:43: error: subscripted value is neither array nor pointer nor vector 1863 | #define GET_LE_10BIT_LEFT_AS_8(_ptr) (_ptr[1] ) | ^ evg/stencil.c:2224:22: note: in expansion of macro 'GET_LE_10BIT_LEFT_AS_8' 2224 | vy = GET_LE_10BIT_LEFT_AS_8(p_src + _this->off_y); | ^~~~~~~~~~~~~~~~~~~~~~ evg/stencil.c:1863:43: error: subscripted value is neither array nor pointer nor vector 1863 | #define GET_LE_10BIT_LEFT_AS_8(_ptr) (_ptr[1] ) | ^ evg/stencil.c:2225:14: note: in expansion of macro 'GET_LE_10BIT_LEFT_AS_8' 2225 | vv = GET_LE_10BIT_LEFT_AS_8(p_src + _this->off_v); | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [../config.mak:184: evg/stencil.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/src' make: *** [Makefile:13: all] Error 2 * ERROR: media-video/gpac-2.2.0::gentoo failed (compile phase): * emake failed
Created attachment 866881 [details] build.log (ppc, 2.2.1-r1) Looks like an endian issue to me, so sparc probably affected too?
Created attachment 866882 [details] emerge --info
Turns out to be a regression over 2.0.0. I did a git bisect and filed the issue upstream: https://github.com/gpac/gpac/issues/2758
Following upstream commit fixes the issue: https://github.com/gpac/gpac/commit/b0ad643014e567f47d1231771b473d25986c512e