Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80552 - sys-kernel/linux26-headers-2.6.8.1-r2 fails with gcc-4.0
Summary: sys-kernel/linux26-headers-2.6.8.1-r2 fails with gcc-4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
: 80568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-03 01:48 UTC by Leo Laursen
Modified: 2005-02-08 14:40 UTC (History)
3 users (show)

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


Attachments
linux26-headers-2.6.8.1-gcc-4.patch (linux26-headers-2.6.8.1-gcc-4.patch,1.63 KB, patch)
2005-02-03 01:50 UTC, Leo Laursen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Laursen 2005-02-03 01:48:10 UTC
>>> Source unpacked.
/usr/bin/i686-pc-linux-gnu-ar
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: fejl: static declaration of s here
make[1]: *** [scripts/kconfig/mconf.o] Fejl 1
make: *** [defconfig] Fejl 2

!!! ERROR: sys-kernel/linux26-headers-2.6.8.1-r2 failed.
!!! Function src_compile, Line 111, Exitcode 2
!!! defconfig failed
!!! If you need support, post the topmost build error, NOT this status message.

ws non-static declaration
scripts/kconfig/lkc.h:63: fejl: previous declaration of rs here
make[1]: *** [scripts/kconfig/mconf.o] Fejl 1
make: *** [defconfig] Fejl 2

!!! ERROR: sys-kernel/linux26-headers-2.6.8.1-r2 failed.
!!! Function src_compile, Line 111, Exitcode 2
!!! defconfig failed
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r15 (default-linux/x86/2004.2/gcc34/2.6, gcc-4.0.0,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 14 2004, 17:41:09)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.5, 1.6.3, 1.9.4, 1.8.5-r3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="da_DK.UTF-8"
LC_ALL="da_DK.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apache2 apm artworkextra avi bash-completion berkdb c++
crypt cscope cups directfb doc encode esd f77 fam fbcon font-server foomaticdb
fortran gcj gdbm ggi gif glitz gnome gpm graphviz gstreamer gtk gtk2 guile
imagemagick imlib imlib2 ipv6 java javascript jce jpeg lcms libg++ libwww lua
mad mikmod mmx motif mozdevelop mozilla mozsvg mozxmlterm mpeg ncurses nls
no_wxgtk1 nptl nptlonly objc oggvorbis opengl pam pcre pdflib perl pic pie png
python readline ruby sdk sdl spell sse ssl svg tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts unicode userlocales uudeview vim-pager vim-with-x wmf
xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Leo Laursen 2005-02-03 01:50:16 UTC
Created attachment 50252 [details, diff]
linux26-headers-2.6.8.1-gcc-4.patch

This patch is based on linux-2.6.10
Comment 2 SpanKY gentoo-dev 2005-02-06 04:13:56 UTC
*** Bug 80568 has been marked as a duplicate of this bug. ***
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-02-07 21:47:53 UTC
Why not just bump linux26-headers to 2.6.10?  I believe a lot of fixes have gone in since 2.6.8 that would probably help, and its probably about time to bump the version up.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-02-08 14:40:11 UTC
linux-headers-2.6.10 now in CVS which fixes this issue.