Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61122 - dev-libs/dietlibc-0.26-r1 don't compile
Summary: dev-libs/dietlibc-0.26-r1 don't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-21 02:38 UTC by Lucio Tarantino
Modified: 2004-08-21 14:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucio Tarantino 2004-08-21 02:38:43 UTC
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!
Comment 1 solar (RETIRED) gentoo-dev 2004-08-21 14:26:33 UTC
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