Adding 'ac_cv_header_strings_h="no"' to the ebuild (for CHOST == "*-irix*") fixes this. Without, the build process halts with: cc -c99 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip30:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035 -woff 1174,1183,1185,1552,3968,3970 -I/opt/gentoo/usr/include -I./include -D_GNU_SOURCE=1 -I/opt/gentoo/usr/include -I/opt/gentoo/usr/include -DXTHREADS -D_SGI_MP_SOURCE -c ./src/video/x11/SDL_x11dga.c -DPIC -o build/.libs/SDL_x11dga.o cc-1047 cc: WARNING File = /opt/gentoo/usr/include/X11/XlibConf.h, Line = 33 Macro "XTHREADS" has an incompatible redefinition. #define XTHREADS ^ cc-1047 cc: WARNING File = /opt/gentoo/usr/include/X11/Xlibint.h, Line = 219 Macro "_SGI_MP_SOURCE" has an incompatible redefinition. #define _SGI_MP_SOURCE /* turn this on to get MP safe errno */ ^ cc -c99 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip30:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035 -woff 1174,1183,1185,1552,3968,3970 -I/opt/gentoo/usr/include -I./include -D_GNU_SOURCE=1 -I/opt/gentoo/usr/include -I/opt/gentoo/usr/include -DXTHREADS -D_SGI_MP_SOURCE -c ./src/video/x11/SDL_x11dga.c -o build/SDL_x11dga.o >/dev/null 2>&1 /opt/gentoo/bin/bash ./libtool --mode=compile cc -c99 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip30:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035 -woff 1174,1183,1185,1552,3968,3970 -I/opt/gentoo/usr/include -I./include -D_GNU_SOURCE=1 -I/opt/gentoo/usr/include -I/opt/gentoo/usr/include -DXTHREADS -D_SGI_MP_SOURCE -c ./src/video/x11/SDL_x11dyn.c -o build/SDL_x11dyn.lo cc -c99 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip30:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035 -woff 1174,1183,1185,1552,3968,3970 -I/opt/gentoo/usr/include -I./include -D_GNU_SOURCE=1 -I/opt/gentoo/usr/include -I/opt/gentoo/usr/include -DXTHREADS -D_SGI_MP_SOURCE -c ./src/video/x11/SDL_x11dyn.c -DPIC -o build/.libs/SDL_x11dyn.o cc-1047 cc: WARNING File = /opt/gentoo/usr/include/X11/XlibConf.h, Line = 33 Macro "XTHREADS" has an incompatible redefinition. #define XTHREADS ^ cc-1047 cc: WARNING File = /opt/gentoo/usr/include/X11/Xlibint.h, Line = 219 Macro "_SGI_MP_SOURCE" has an incompatible redefinition. #define _SGI_MP_SOURCE /* turn this on to get MP safe errno */ ^ cc-1079 cc: ERROR File = /usr/include/strings.h, Line = 30 A type specifier is expected. extern void bzero(void *, size_t); ^ cc-1143 cc: ERROR File = /usr/include/strings.h, Line = 30 Declaration is incompatible with "void *memset(void *, int, size_t)" (declared at line 101 of "/usr/include/internal/string_core.h"). extern void bzero(void *, size_t); ^ cc-3421 cc: WARNING File = /usr/include/strings.h, Line = 40 expecting function name #pragma intrinsic (bzero) ^ 2 errors detected in the compilation of "./src/video/x11/SDL_x11dyn.c". make: *** [build/SDL_x11dyn.lo] Error 1 * ERROR: media-libs/libsdl-1.2.13-r1 failed: * emake failed * * Call stack: * ebuild.sh: 49: <call src_compile> * environment:2879: <call _eapi2_src_compile> * ebuild.sh: 628: emake || die "emake failed"
We are sorry to close this bug. We lack the man-power and devotion to support mips-irix in the tree.