If you need additional information, please ask. >>> Compiling source in /var/tmp/portage/cross-spu-elf/libspe2-2.3.0_p135/work/libspe2-2.3.0 ... spu-elf-gcc -O2 -Wall -I. -fPIC -I./include -fexceptions -std=gnu99 -Wformat -Wdisabled-optimization -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -Wnested-ex terns -Winline -Wformat -I./spebase -I./speevent -c -o libspe2.o libspe2.c In file included from libspe2.c:33:0: ./spebase/spebase.h:65:2: error: unknown type name 'pthread_mutex_t' In file included from libspe2.c:34:0: ./speevent/speevent.h:37:3: error: unknown type name 'pthread_mutex_t' ./speevent/speevent.h:38:3: error: unknown type name 'pthread_mutex_t' make: *** [libspe2.o] Error 1 I tried defining _POSIX_THREADS, but that leads to other problems in system headers, and thus is probably not the way to go. Reproducible: Always
Created attachment 346500 [details] build.log
I am using cross-spu-elf/newlib-2.0.0.
This affects cross-spu-elf/libspe2-2.2.80_p95-r1, too. Just that that version crosscompiles even worse, because it sets weird EXTRA_CFLAGS in make.defines.
pkg is gone from tree