Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120431 - [[ 2.6 headers ]] xorg-server-1.0.1-r2 fails in /usr/include/linux/thread_info.h
Summary: [[ 2.6 headers ]] xorg-server-1.0.1-r2 fails in /usr/include/linux/thread_info.h
Status: RESOLVED DUPLICATE of bug 120107
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 08:18 UTC by Jose daLuz
Modified: 2006-03-25 11:35 UTC (History)
1 user (show)

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 Jose daLuz 2006-01-26 08:18:48 UTC
Trying to update xorg-server from 1.0.1-r1 to r2, I get the following error:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/xfree86 -I../../../hw/xfree86/include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../os -I./../ddc -I./../i2c -I./../loader -I./../rac -I./../parser -I./../scanpci -I./../vbe -I./../int10 -I./../vgahw -I./../dixmods/extmod   -DHAVE_XORG_CONFIG_H  -DXFree86Server  -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT   -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -I../../../lbx   -march=athlon64 -O2 -pipe -MT xf86KbdLnx.o -MD -MP -MF ".deps/xf86KbdLnx.Tpo" \
  -c -o xf86KbdLnx.o `test -f 'xf86KbdLnx.c' || echo './'`xf86KbdLnx.c; \
then mv -f ".deps/xf86KbdLnx.Tpo" ".deps/xf86KbdLnx.Po"; \
else rm -f ".deps/xf86KbdLnx.Tpo"; exit 1; \
fi
In file included from /usr/include/linux/preempt.h:10,
                 from /usr/include/linux/spinlock.h:50,
                 from /usr/include/linux/wait.h:23,
                 from /usr/include/linux/keyboard.h:20,
                 from xf86KbdLnx.c:169:
/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
make[5]: *** [xf86KbdLnx.o] Error 1

Is this another linux-headers-2.6.15_rc6 related issue?

emerge --info
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-ck1-r1 x86_64)
=================================================================
System uname: 2.6.15-ck1-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
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, 2.16.91.0.3, 2.16.91.0.5
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="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LC_ALL="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr crypt cups curl dbus debug dvd dvdr eds emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl idn imagemagick imlib ipv6 jack java jpeg junit kde lcms ldap libwww lua lzw lzw-tiff mad mikmod mng mono motif mozilla mp3 mpeg ncurses nls nptl ogg openal opengl pam pcre pdflib perl pic png python qt quicktime readline recode ruby samba sdl speex spell sqlite ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xml2 xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-26 10:28:11 UTC
Yep.
Comment 2 Jose daLuz 2006-01-26 11:05:46 UTC
Should this bug block the xorg-x11-7.0 Tracker (Bug # 112004)?
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-01-26 11:08:48 UTC
(In reply to comment #2)
> Should this bug block the xorg-x11-7.0 Tracker (Bug # 112004)?

No, you're using masked headers so that doesn't count :P
Comment 4 Jose daLuz 2006-01-28 16:23:03 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Should this bug block the xorg-x11-7.0 Tracker (Bug # 112004)?
> 
> No, you're using masked headers so that doesn't count :P
> 

Yes, I love the bleeding edge 8-}.

Actually, I do -- finding problems like these to help make Linux work better is one of the reasons I chose Gentoo in the first place. Anyway, I'm downgrading the headers, building xorg-server and upgrading the headers back. I'm assuming there are really good reasons for not slotting headers, so if this causes any problems it's my own fault...
Comment 5 Jose daLuz 2006-02-13 07:33:04 UTC
Not surprisingly, the new headers break 1.0.1-r3 in exactly the same place.
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2006-03-25 11:35:09 UTC

*** This bug has been marked as a duplicate of 120107 ***