Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100703 - request for linux-headers-2.6.12.5
Summary: request for linux-headers-2.6.12.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard: InCVS
Keywords:
: 115238 (view as bug list)
Depends on:
Blocks: 82243
  Show dependency tree
 
Reported: 2005-07-29 06:33 UTC by Benedikt Böhm (RETIRED)
Modified: 2006-05-02 14:21 UTC (History)
6 users (show)

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


Attachments
patch to allow gcc-4.2 to build (gcc4-compile.patch,14.91 KB, patch)
2006-01-31 17:35 UTC, richard juckes
Details | Diff
another go at a patch for gcc-4.2 (gcc42-comiler.h.patch,635 bytes, patch)
2006-02-01 21:21 UTC, richard juckes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Böhm (RETIRED) gentoo-dev 2005-07-29 06:33:56 UTC
I'd need some defines which are only available in the latest headers 
(especially personality flags), please bump linux-headers to 2.6.12 
 
Thx
Comment 1 Ian Kumlien 2005-10-29 16:14:26 UTC
I would require even newer headers since the inotify api has been stablized (i
assume, it's atleast the same as epoll now) and you have to dig in the kernel
headers directly to get that, which is not good =p.

Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-11-18 13:20:01 UTC
Ok, I'm deferring this until 2.6.15 as 2.6.14 has some issues with PPC and PPC64
which 2.6.15 might rectify and 2.6.15 will have lots of other useful additions
as well so I see no point in making 2.6.13/14 headers...
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-12-20 07:07:44 UTC
*** Bug 115238 has been marked as a duplicate of this bug. ***
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-20 12:07:29 UTC
could we have a a hardmasked set of linux-headers based on 2.6.15-r6-git1 for testing before 2.6.15 comes out?
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-12-20 13:07:59 UTC
Don't think kernel-2.eclass allows git pulls but I should be able to get it to do a 2.6.15-r6, sure...
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-20 13:08:59 UTC
Tarballs are available.
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.15-rc6-git1.bz2
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2005-12-21 16:55:50 UTC
InCVS, testing would be appreciated and comments here please :)
Comment 8 Derk W te Bokkel 2005-12-22 15:12:37 UTC
Compile of glibc-2.3.6 failed with linux-headers-2.6.15_rc6 as follows



../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -D_IO_MTSAFE_IO -o /mnt/bigdisk1/tmp/portage/glibc-2.3.6/work/build-default-i686-pc-linux-gnu-linuxthreads/stdio-common/reg-printf.os -MD -MP -MF /mnt/bigdisk1/tmp/portage/glibc-2.3.6/work/build-default-i686-pc-linux-gnu-linuxthreads/stdio-common/reg-printf.os.dt -MT /mnt/bigdisk1/tmp/portage/glibc-2.3.6/work/build-default-i686-pc-linux-gnu-linuxthreads/stdio-common/reg-printf.os
vfprintf.c:163: error: parse error before "__attribute__"
vfprintf.c:163: error: parse error before ')' token
vfprintf.c: In function `_IO_vfprintf':
vfprintf.c:1246: warning: implicit declaration of function `buffered_vfprintf'
vfprintf.c: At top level:
vfprintf.c:2090: error: conflicting types for 'buffered_vfprintf'
vfprintf.c:1246: error: previous implicit declaration of 'buffered_vfprintf' was here
vfprintf.c:2090: warning: 'buffered_vfprintf' defined but not used
{standard input}: Assembler messages:
{standard input}:177: Error: can't resolve `.L153' {*UND* section} - `.L154' {*UND* section}
{standard input}:178: Error: can't resolve `.L155' {*UND* section} - `.L154' {*UND* section}
{standard input}:179: Error: can't resolve `.L156' {*UND* section} - `.L154' {*UND* section}
{standard input}:180: Error: can't resolve `.L157' {*UND* section} - `.L154' {*UND* section}
{standard input}:181: Error: can't resolve `.L158' {*UND* section} - `.L154' {*UND* section}
{standard input}:182: Error: can't resolve `.L159' {*UND* section} - `.L154' {*UND* section}
{standard input}:183: Error: can't resolve `.L160' {*UND* section} - `.L154' 

<snip> <removed a lot of repetative stuff >

{*UND* section}
{standard input}:409: Error: can't resolve `.L550' {*UND* section} - `.L154' {*UND* section}
make[2]: *** [/mnt/bigdisk1/tmp/portage/glibc-2.3.6/work/build-default-i686-pc-linux-gnu-linuxthreads/stdio-common/vfprintf.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/bigdisk1/tmp/portage/glibc-2.3.6/work/glibc-2.3.6/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/bigdisk1/tmp/portage/glibc-2.3.6/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.6 failed.

emerge info
Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.6-r0, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.15_rc6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/bigdisk1/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib accessibility acl acpi alsa apm arts asf audiofile berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dbus dvd dvdr dvdread eds emboss encode esd ethereal exif expat f77 ffmpeg flac foomaticdb fortran gd gdbm gif gimp gimpprint glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde ladcca ladspa lcms libcaca libg++ libwww mad mikmod mng motif mozilla mp3 mp4live mpd-mad mpeg mpeg2 mpeg4 nas ncurses nls nsplugin ofx ogg oggvorbis openal opengl oss pam pcre pdflib perl png python qt quicktime readline recode scanner sdl slang snmp sox speex spell sqlite ssl svga sysfs tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vorbis win32codecs wmf xine xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Comment 9 Derk W te Bokkel 2005-12-24 11:29:48 UTC
glibc-2.3.6-r1 also fails same way
Comment 10 Derk W te Bokkel 2005-12-26 05:16:03 UTC
wwvstreams-4.2.1 also dies against linux-headers-2.6.15_rc6 very similar error

cp ./getopt_.h getopt.h-t
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include   -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13   -fPIC -mtune=athlon-xp -O3 -pipe -c argp-pv.c
mv getopt.h-t getopt.h
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include   -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13   -fPIC -mtune=athlon-xp -O3 -pipe -c argp-pvh.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include   -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13   -fPIC -mtune=athlon-xp -O3 -pipe -c argp-xinl.c
In file included from argp-namefrob.h:82,
                 from argp-help.c:52:
strndup.h:28: error: parse error before "__extension__"
strndup.h:28: error: parse error before "n"
strndup.h:28: error: parse error before "if"
strndup.h:28: error: conflicting types for '__retval'
strndup.h:28: error: previous declaration of '__retval' was here
strndup.h:28: error: `__len' undeclared here (not in a function)
strndup.h:28: warning: initialization makes integer from pointer without a cast
strndup.h:28: error: initializer element is not constant
strndup.h:28: warning: data definition has no type or storage class
strndup.h:28: error: parse error before "if"
strndup.h:28: error: redefinition of '__retval'
strndup.h:28: error: previous definition of '__retval' was here
strndup.h:28: error: redefinition of '__retval'
strndup.h:28: error: previous definition of '__retval' was here
strndup.h:28: error: parse error before "const"
strndup.h:28: warning: data definition has no type or storage class
strndup.h:28: warning: data definition has no type or storage class
strndup.h:28: error: parse error before '}' token
argp-help.c:1693:4: warning: #warning No reasonable value to return
make[1]: *** [argp-help.o] Error 1
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-g++ -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.2.1\"     -c configfile/wvconf.cc -o configfile/wvconf.o
i686-pc-linux-gnu-g++ -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.2.1\"     -c configfile/cfgsection.cc -o configfile/cfgsection.o
make: *** [gnulib/libgnu.a] Error 1
make: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-g++ -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.2.1\"     -M -E configfile/cfgsection.cc | perl -we '$a = '"'"'configfile/cfgsection.o'"'"'; $\ = $/; local $/; while (<>) { for (split(/(?<!\\)$/m)) { s/^[^:]+:\s*/$a: /; print; if (s/^$a: //) { map {print "$_:" unless m/^\\$/} (split(/\s+/)); } } }' >configfile/.cfgsection.d
i686-pc-linux-gnu-g++ -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -mtune=athlon-xp -O3 -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.2.1\"     -M -E configfile/wvconf.cc | perl -we '$a = '"'"'configfile/wvconf.o'"'"'; $\ = $/; local $/; while (<>) { for (split(/(?<!\\)$/m)) { s/^[^:]+:\s*/$a: /; print; if (s/^$a: //) { map {print "$_:" unless m/^\\$/} (split(/\s+/)); } } }' >configfile/.wvconf.d

!!! ERROR: net-libs/wvstreams-4.2.1 failed.
Comment 11 Tim Yamin (RETIRED) gentoo-dev 2005-12-30 11:44:12 UTC
glibc issue now fixed; wvstream unrelated (see bug #116947).
Comment 12 richard juckes 2006-01-31 17:35:34 UTC
Created attachment 78606 [details, diff]
patch to allow gcc-4.2 to build

headers-2.6.15_rc6 required this patch (which as a diff against compiler.h, list.h and prefetch.h from linux-2.6.16-rc1) to allow gcc-4.2.0-20060128 to build. No other issues so far.
Comment 13 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-01-31 18:50:26 UTC
nasty bug in asm/current.h:
#define current get_current()

And current.h is brought in by linux/wait.h and linux/sched.h and ultimately approx 25% of all headers.

This bug appears to be present in 2.6.15 final as well (your 2.6.15_pre6 patch applied cleanly to make them).
Comment 14 richard juckes 2006-02-01 21:21:36 UTC
Created attachment 78689 [details, diff]
another go at a patch for gcc-4.2

well, the last patch broke the builds of DirectFB-cvs and kbd-1.12-r5
with this one i've done an emerge -e world and "no issues so far".
Comment 15 Derk W te Bokkel 2006-02-07 15:32:24 UTC
iptraf-3.0.0-r1 dies compiling against linux-headers-2.6.15_rc6 linux-headers-2.6.11-r3 work fine.

as follows:

>>> Source unpacked.
>>> Compiling source in /mnt/bigdisk1/tmp/portage/iptraf-3.0.0-r1/work/iptraf-3.0.0 ...
make: Entering directory `/mnt/bigdisk1/tmp/portage/iptraf-3.0.0-r1/work/iptraf-3.0.0/src'
gcc -mtune=athlon-xp -O3 -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"i686-pc-linux-gnu\"     -c -o iptraf.o iptraf.c
gcc -mtune=athlon-xp -O3 -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"i686-pc-linux-gnu\"     -c -o itrafmon.o itrafmon.c
gcc -mtune=athlon-xp -O3 -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"i686-pc-linux-gnu\"     -c -o packet.o packet.c
gcc -mtune=athlon-xp -O3 -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"i686-pc-linux-gnu\"     -c -o tcptable.o tcptable.c
gcc -mtune=athlon-xp -O3 -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"i686-pc-linux-gnu\"     -c -o othptab.o othptab.c
In file included from /usr/include/sys/uio.h:24,
                 from /usr/include/sys/socket.h:27,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/netinet/ip6.h:23,
                 from othptab.c:21:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:25: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:31: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:34: error: previous declaration of 'nlink_t' was here
In file included from /usr/include/sys/types.h:216,
                 from /usr/include/sys/uio.h:24,
                 from /usr/include/sys/socket.h:27,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/netinet/ip6.h:23,
                 from othptab.c:21:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:22: error: previous declaration of 'fd_set' was here
make: *** [othptab.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/mnt/bigdisk1/tmp/portage/iptraf-3.0.0-r1/work/iptraf-3.0.0/src'

!!! ERROR: net-analyzer/iptraf-3.0.0-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile


emerge info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r3 i686)
=================================================================
System uname: 2.6.15-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.15_rc6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/bigdisk1/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac accessibility acpi alsa apm arts asf berkdb bitmap-fonts cracklib crypt cups dbus dvd dvdr dvdread eds emboss encode f77 foomaticdb fortran gdbm gif gimp gimpprint gnome gpm grammar gstreamer gtk gtk2 hal imlib ipv6 jpeg kde ladcca ladspa libg++ libgda libwww mad math mikmod motif mp3 mp4live mpd-mad mpeg mpeg2 mpeg4 ncurses nls nsplugin ofx ogg oggvorbis opengl oss pam pdf pdflib perl png ppds python qt quicktime readline samba sdl sox spell ssl sysfs tcpd theora thesaurus truetype truetype-fonts type1-fonts v4l v4l2 vorbis win32codecs wordperfect xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 16 Derk W te Bokkel 2006-03-15 10:42:42 UTC
FYI as I assume this is a linux-headers issue not a gcc issue

I've managed to compile gcc-4.1 with linux-headers-2.6.11-r4 however it will not work with linux-headers-2.6.15_rc6. From googling it appears that gcc-4.1 compile grabs the " kernel inline assembly macros and tries to use them and promptly dies"

end of compile stuff ....

stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c   -mtune=athlon-xp -O2 -pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute     -DHAVE_CONFIG_H -I. -I. -I/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc -I/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/. -I/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/../include -I/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/../libcpp/include     /home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c -o tree-ssa-pre.o
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c: In function 'compute_avail':
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2041: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2050: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2088: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2097: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2041: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2050: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2088: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2097: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2041: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2050: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2088: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2097: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2041: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2050: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2088: sorry, unimplemented: called from here
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:1994: sorry, unimplemented: inlining failed in call to 'create_value_expr_from': recursive inlining
/home/extrabig/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/tree-ssa-pre.c:2097: sorry, unimplemented: called from here
make[2]: *** [tree-ssa-pre.o] Error 1
make[2]: Leaving directory `/home/extrabig/tmp/portage/gcc-4.1.0/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/home/extrabig/tmp/portage/gcc-4.1.0/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.0 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
  ebuild.sh, line 1272:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1482:   Called gcc_do_make

emerge --info
Portage 2.1_pre6-r2 (!/usr/portage/profiles/default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.15_rc6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -O3 -pipe"
DISTDIR="/home/extrabig/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/home/extrabig/portage/packages"
PORTAGE_TMPDIR="/home/extrabig/tmp"
PORTDIR="/home/extrabig/portage"
PORTDIR_OVERLAY="/home/derk/portage"
SYNC="rsync://zwift.zapville.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa amr ao aotuv arts asf avi ax25 berkdb bitmap-fonts crypt cups dbus dri dv dvb dvd dvdread eds emboss encode f77 foomaticdb fortran fuse gb gdbm gif gimp gimpprint glx gnome gpm gstreamer gtk gtk2 guile hal imlib ipv6 jpeg kde ladcca ladspa libg++ libwww mad mikmod motif mp3 mp4live mpd-mad mpeg mpeg2 mpeg4 ncurses nls nptl nptlonly nsplugin ofx ogg oggvorbis opengl oss pam pdflib perl player png ppds python qt quicktime readline scanner sdl snmp sox spell ssl tcpd theora truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis win32codecs xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS


Comment 17 Markus Rothe (RETIRED) gentoo-dev 2006-03-20 09:22:21 UTC
plasmaroo: would you mind adding linux-headers-2.6.16 to the tree. There have been some major changed regarding PPC and PPC64 (as you said before). Seems like things have been stabilized upstream a bit.
Comment 18 Tim Yamin (RETIRED) gentoo-dev 2006-03-25 14:06:03 UTC
2.6.16 InCVS... file new bugs for any issues please. Thanks.
Comment 19 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-02 14:21:17 UTC
FYI: the final kernel-header changes for sys-process/audit have finally gone into linus's 2.6.17-rc3-git6.
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=532f57da408c5a5710075d17047e2d97bdfd22f3