Emerging xorg-x11-6.8.2-r6 under AMD 64 results in numerous errors /usr/include/linux/thread_info.h: In function `set_ti_thread_flag': /usr/include/linux/thread_info.h:30: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `clear_ti_thread_flag': /usr/include/linux/thread_info.h:35: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `test_and_set_ti_thread_flag': /usr/include/linux/thread_info.h:40: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `test_and_clear_ti_thread_flag': /usr/include/linux/thread_info.h:45: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `test_ti_thread_flag': /usr/include/linux/thread_info.h:50: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h:50: error: dereferencing pointer to incomplete type In file included from /usr/include/asm-x86_64/div64.h:1, from /usr/include/asm/div64.h:8, from /usr/include/linux/jiffies.h:9, from /usr/include/linux/sched.h:12, from /usr/include/asm-x86_64/compat.h:8, from /usr/include/asm/compat.h:4, from /usr/include/linux/compat.h:15, from /usr/include/asm-x86_64/mtrr.h:28, from /usr/include/asm/mtrr.h:8, from lnx_video.c:42: /usr/include/asm-generic/div64.h:54:3: #error do_div() does not yet support the C64 In file included from /usr/include/linux/sched.h:12, from /usr/include/asm-x86_64/compat.h:8, from /usr/include/asm/compat.h:4, from /usr/include/linux/compat.h:15, from /usr/include/asm-x86_64/mtrr.h:28, from /usr/include/asm/mtrr.h:8, from lnx_video.c:42: /usr/include/linux/jiffies.h:385:41: division by zero in #if In file included from /usr/include/linux/sched.h:12, from /usr/include/asm-x86_64/compat.h:8, from /usr/include/asm/compat.h:4, from /usr/include/linux/compat.h:15, from /usr/include/asm-x86_64/mtrr.h:28, from /usr/include/asm/mtrr.h:8, from lnx_video.c:42: /usr/include/linux/jiffies.h: In function `jiffies_to_clock_t': /usr/include/linux/jiffies.h:389: error: `USER_HZ' undeclared (first use in this function) /usr/include/linux/jiffies.h:389: error: (Each undeclared identifier is reported only once /usr/include/linux/jiffies.h:389: error: for each function it appears in.) /usr/include/linux/jiffies.h:396:18: division by zero in #if /usr/include/linux/jiffies.h: In function `clock_t_to_jiffies': /usr/include/linux/jiffies.h:404: error: `USER_HZ' undeclared (first use in this function) /usr/include/linux/jiffies.h:416:41: division by zero in #if /usr/include/linux/jiffies.h: In function `jiffies_64_to_clock_t': /usr/include/linux/jiffies.h:425: error: `USER_HZ' undeclared (first use in this function) /usr/include/linux/jiffies.h:432:28: division by zero in #if /usr/include/linux/jiffies.h: In function `nsec_to_clock_t': /usr/include/linux/jiffies.h:435: error: `USER_HZ' undeclared (first use in this function) In file included from /usr/include/linux/sched.h:36, from /usr/include/asm-x86_64/compat.h:8, from /usr/include/asm/compat.h:4, from /usr/include/linux/compat.h:15, from /usr/include/asm-x86_64/mtrr.h:28, from /usr/include/asm/mtrr.h:8, from lnx_video.c:42: /usr/include/linux/seccomp.h: In function `secure_computing': /usr/include/linux/seccomp.h:18: error: `TIF_SECCOMP' undeclared (first use in this function) /usr/include/linux/seccomp.h: In function `has_secure_computing': /usr/include/linux/seccomp.h:24: error: `TIF_SECCOMP' undeclared (first use in this function) In file included from /usr/include/asm/compat.h:4, from /usr/include/linux/compat.h:15, from /usr/include/asm-x86_64/mtrr.h:28, from /usr/include/asm/mtrr.h:8, from lnx_video.c:42: /usr/include/asm-x86_64/compat.h: At top level: /usr/include/asm-x86_64/compat.h:62: error: parse error before '.' token /usr/include/asm-x86_64/compat.h:64: error: parse error before '.' token /usr/include/asm-x86_64/compat.h:66: error: parse error before '.' token /usr/include/asm-x86_64/compat.h:70: error: parse error before '}' token /usr/include/asm-x86_64/compat.h: In function `ptr_to_compat': /usr/include/asm-x86_64/compat.h:196: error: `u32' undeclared (first use in this function) /usr/include/asm-x86_64/compat.h:196: error: parse error before "unsigned" /usr/include/asm-x86_64/compat.h: In function `compat_alloc_user_space': /usr/include/asm-x86_64/compat.h:201: error: dereferencing pointer to incomplete type In file included from /usr/include/asm-x86_64/mtrr.h:28, from /usr/include/asm/mtrr.h:8, from lnx_video.c:42: /usr/include/linux/compat.h: At top level: /usr/include/linux/compat.h:135: error: parse error before "option" make[7]: *** [lnx_video.o] Error 1 make[7]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver/hw/xfree86/os-support/linux' make[6]: *** [linux] Error 2 make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver/hw/xfree86/os-support' make[5]: *** [all] Error 2 make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver/hw/xfree86' make[4]: *** [hw/xfree86] Error 2 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc' make: *** [World] Error 2 emerge info... Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.6-r2, 2.6.13 x86_64) ================================================================= System uname: 2.6.13 x86_64 AMD Opteron(tm) Processor 250 Gentoo Base System version 1.12.0_pre15 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.22 virtual/os-headers: 2.6.15_rc6 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/config/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 apache2 avi bitmap-fonts bzip2 cdr crypt eds emboss encode expat foomaticdb gd gdbm gif gpm gstreamer imlib innodb jpeg kde libwww lm_sensors lzw lzw-tiff mhash mpeg mysql ncurses nls nptl nptlonly pam pcre pdflib perl png qt quicktime readline samba sdl slang snmp ssl tcltk tcpd udev userlocales vhosts xml2 xpm zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
That's what you get for using package.masked linux-headers... :P
True that. We won't touch this unless the headers are unmasked. Re-assigning to Tim, since he's been handling this.
confirmed, same issue here. whats the chances of this being similar/same as bug#120431 ? it looks like the overall fatal error for both varies, but they both contain the same warnings re set_ti_thread_flag etc. Portage 2.0.54 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-ck2 x86_64) ================================================================= System uname: 2.6.15-ck2 x86_64 AMD Opteron(tm) Processor 148 Gentoo Base System version 1.12.0_pre14 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 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="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages nostrip sandbox sfperms strict test" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://ftp.swin.edu.au/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa amd64 apache2 audiofile avi bash-completion berkdb big-tables bitmap-fonts bzip2 cairo canvas cdr cli crypt cups curl dba debug divx4linux dlloader dri dvd dvdr emboss encode ethereal exif expat extraengine fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 icq idn imap imlib innodb ipv6 jabber java jpeg kerberos lcms ldap libcaca lzw lzw-tiff mad mhash mng mozsvg mp3 mpeg mppe-mppc mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pcntl pcre pdflib pear perl php png posix python quicktime readline real ruby samba sdl session slang soap sockets spell sqlite ssl svg tcpd test tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis wddx xine xinerama xml xml2 xmlrpc xmms xosd xpm xsl xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
bug#119885 looks like the same issue....comments?
*** Bug 120431 has been marked as a duplicate of this bug. ***
*** Bug 119885 has been marked as a duplicate of this bug. ***
Fixed in 2.6.16.