When I try to emerge the new version of dietlibc ( 0.26-r1 ) the emerge fail with: ..Missing.. gcc -I. -isystem include -m64 -march=k8 -O3 -mfpmath=sse -mmmx -msse -msse2 -msse3 -m3dnow -pipe -fomit-frame-pointer -fno-stack-protector -D__dietlibc__ -c lib/sscanf.c -o bin-x86_64/sscanf.o strip -x -R .comment -R .note bin-x86_64/sscanf.o gcc -I. -isystem include -m64 -march=k8 -O3 -mfpmath=sse -mmmx -msse -msse2 -msse3 -m3dnow -pipe -fomit-frame-pointer -fno-stack-protector -D__dietlibc__ -c lib/ssp.c -o bin-x86_64/ssp.o In file included from /usr/include/linux/list.h:5, from /usr/include/linux/sysctl.h:23, from include/sys/sysctl.h:5, from lib/ssp.c:33: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:62: error: syntax error before "char" /usr/include/linux/prefetch.h:64: error: syntax error before "char" /usr/include/linux/prefetch.h:64: error: syntax error before ')' token make: *** [bin-x86_64/ssp.o] Error 1 !!! ERROR: dev-libs/dietlibc-0.26-r1 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1.emerge -uD dev-libs/dietlibc-0.26-r1 Actual Results: ..Missing.. gcc -I. -isystem include -m64 -march=k8 -O3 -mfpmath=sse -mmmx -msse -msse2 -msse3 -m3dnow -pipe -fomit-frame-pointer -fno-stack-protector -D__dietlibc__ -c lib/sscanf.c -o bin-x86_64/sscanf.o strip -x -R .comment -R .note bin-x86_64/sscanf.o gcc -I. -isystem include -m64 -march=k8 -O3 -mfpmath=sse -mmmx -msse -msse2 -msse3 -m3dnow -pipe -fomit-frame-pointer -fno-stack-protector -D__dietlibc__ -c lib/ssp.c -o bin-x86_64/ssp.o In file included from /usr/include/linux/list.h:5, from /usr/include/linux/sysctl.h:23, from include/sys/sysctl.h:5, from lib/ssp.c:33: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:62: error: syntax error before "char" /usr/include/linux/prefetch.h:64: error: syntax error before "char" /usr/include/linux/prefetch.h:64: error: syntax error before ')' token make: *** [bin-x86_64/ssp.o] Error 1 !!! ERROR: dev-libs/dietlibc-0.26-r1 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! emake failed Expected Results: Compile fine! :-) I have: kernel = 2.6.8-gentoo-r1 gcc = 3.3.4-r1 linux26-headers = 2.6.7-r4 The old version of dietlibc ( 0.26 ) works fine!
more patch work needed for ssp on sparc/sparc64. sparc64 seems building sparc32 crt files? x86_64 seems more like a gcc-3.4.x compile problem. For now we will only patch for x86 updated dietlibc-0.26-r1 so it wont cause problems on amd64's