Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116200 - kernel linux-2.4.31-gentoo-r1 does not compile with gcc 3.4.4
Summary: kernel linux-2.4.31-gentoo-r1 does not compile with gcc 3.4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 12:42 UTC by Jan Hrabe
Modified: 2005-12-21 14:19 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 Jan Hrabe 2005-12-20 12:42:15 UTC
I just went through a gcc upgrade process following the gentoo guide.  After
successful finish of the emerge -e world step, I wanted to recompile the
kernel but ended up with errors.  I then tried 

make clean
make mrproper
cp /boot/my_saved_config .config
make menuconfig
make dep
make bzImage

but still got the following error:

make[1]: Entering directory `/usr/src/linux-2.4.31-gentoo-r1/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.31-gentoo-r1/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.31-gentoo-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c: In function `resched_task':
sched.c:465: warning: unused variable `tsk'
sched.c:466: warning: unused variable `i'
sched.c:466: warning: unused variable `cpu'
sched.c: At top level:
sched.c:1445: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.31-gentoo-r1/include/linux/sched.h:631: error: previous declaration of '__wake_up_sync' was here
sched.c:1445: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.31-gentoo-r1/include/linux/sched.h:631: error: previous declaration of '__wake_up_sync' was here
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.31-gentoo-r1/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.31-gentoo-r1/kernel'
make: *** [_dir_kernel] Error 2

This leaves me kind of in the middle of the upgrade so any solution or workaround would be highly appreciated.

Thanks!
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-12-21 14:19:58 UTC
Should be fixed in 2.4.32; please try that and if you still get this problem reopen the bug. Thanks.