Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103312 - linux-2.4.31-gentoo-r1 compile failure
Summary: linux-2.4.31-gentoo-r1 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 02:03 UTC by Andrei Ivanov
Modified: 2005-12-18 16:06 UTC (History)
0 users

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


Attachments
Config file (.config,17.94 KB, text/plain)
2005-08-22 02:07 UTC, Andrei Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2005-08-22 02:03:07 UTC
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=i686
-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



Portage 2.0.51.22-r2 (default-linux/x86/2005.0/2.4, gcc-3.4.4, glibc-2.3.5-r1,
2.4.28-gentoo-r9 i686)
=================================================================
System uname: 2.4.28-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr
-mfpmath=sse -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math
-fforce-addr -mfpmath=sse -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.math.bme.hu http://ftp.iasi.roedu.net/mirrors/gentoo.org/
http://gentoo.spb.ru/rsync"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl acpi alsa apache2 apm arts avi bcmath berkdb bitmap-fonts bzlib caps
cdr crypt ctype cups curl dio dvd eds emboss encode exif foomaticdb fortran ftp
gd gif gpm gstreamer imlib innodb java javamail jpeg junit libg++ libwww mad
mailwrapper mikmod mmap mmx mp3 mpeg mysql mysqli ncurses nls ogg oggvorbis
opengl oss pam pdflib pg-hier pg-intdatetime pg-vacuumdelay png postgres
quicktime readline ruby samba slang sockets spell sse ssl svga sysvipc tcpd tidy
tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Andrei Ivanov 2005-08-22 02:07:50 UTC
Created attachment 66530 [details]
Config file
Comment 2 Andrei Ivanov 2005-09-25 04:51:44 UTC
Any suggestions?
Comment 3 FlyLM 2005-12-13 02:26:37 UTC
I have exactly the same error when i want to re-compile kernel gentoo-sources
2.4.31-gentoo-r1 after upgrading GCC 3.3.6 to 3.4.4

For information, compilation of vanilla-sources 2.4.31 or gentoo-sources
2.4.28-gentoo-r9 works fine.

Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.4.4, 
glibc-2.3.5-r2, 2.4.28-gentoo-r9 i686)
=================================================================
System uname: 2.4.28-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://gentoo.math.bme.hu http://mirror.switch.ch/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds 
emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib 
ipv6 jpeg libg++ libwww mad mhash mikmod motif mp3 mpeg mysql ncurses nls 
ogg oggvorbis opengl oss pam pcre pdflib perl php png postgres python 
quicktime readline samba sdl slang snmp spell ssl tcpd tiff truetype 
truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY
Comment 4 R Ross Gore 2005-12-14 10:51:51 UTC
This appears to be a problem with CONFIG_SMP for this kernel.  Turning off 
symmetric multi-processing support allows me to compile.  This does need to be 
fixed, however, due to our use of hyperthreading as well as SMP machines.
Comment 5 Andrei Ivanov 2005-12-14 11:40:44 UTC
Maybe an upgrade to gentoo-sources-2.4.32 will apear this year :(
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2005-12-18 16:06:28 UTC
Fixed in 2.4.32-r1; if you have any issues with that please reopen this bug. Thanks and sorry for the delay!