Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134870 - freebsd-6.1 kernel fails to compile with gcc-4.1.1
Summary: freebsd-6.1 kernel fails to compile with gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 23:22 UTC by Robert Sebastian Gerus
Modified: 2006-05-31 16:46 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 Robert Sebastian Gerus 2006-05-29 23:22:30 UTC
freebsd-6.1 kernel fails to compile with gcc-4.1.1, here's the error msg:

gcc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -std=c99  -nostdinc -I-  -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -fno-stack-protector -Wno-error  ../../../kern/kern_sysctl.c
cc1: note: obsolete option -I- used, please use -iquote instead
gcc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -std=c99  -nostdinc -I-  -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -fno-stack-protector -Wno-error  ../../../kern/kern_tc.c
cc1: note: obsolete option -I- used, please use -iquote instead
../../../kern/kern_tc.c:74: error: static declaration of 'th0' follows non-static declaration
../../../kern/kern_tc.c:64: error: previous declaration of 'th0' was here
*** Error code 1
../../../kern/kern_sig.c: In function 'kern_sigtimedwait':
../../../kern/kern_sig.c:850: warning: 'ets.tv_sec' may be used uninitialized in this function
../../../kern/kern_sig.c:850: warning: 'ets.tv_nsec' may be used uninitialized in this function
1 error
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-31 16:46:43 UTC
Fixed.