Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112722 - joystick.h from linux-headers-2.6.11-r2 incompatible with gentoo-sources-2.6.14. jstest crashes
Summary: joystick.h from linux-headers-2.6.11-r2 incompatible with gentoo-sources-2.6....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 10:59 UTC by Maciek Gajewski
Modified: 2005-12-19 13:24 UTC (History)
0 users

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 Maciek Gajewski 2005-11-16 10:59:07 UTC
jstest from the 'joystick; package crashes (SIGSEGV) on start when compiled with
linux/joystick.h from linux-headers-2.6.11-r2 (currently it it the latest).
Replacing /usr/include/linux/joystick.h with
/usr/src/linux-2.6.14-gentoo/include/linux/joystick.h solves problem immediately.

Difference between those two headers are minor, and some apps compile and work
fine, like ie kcontrol joystick module.

Reproducible: Always
Steps to Reproduce:
1.install 64-bit gnetoo on 64-bit box
2.emerge jstest
3.see it dies

Actual Results:  
Driver version is 2.1.0.
Joystick (Analog 4-axis 4-button 1-hat CHF joystick) has 6 axes (X, X, X, X, X, X)
Naruszenie ochrony pamięci
(coredump)

Expected Results:  
Driver version is 2.1.0.
Joystick (Analog 4-axis 4-button 1-hat CHF joystick) has 6 axes (X, Y, Throttle,
Rudder, Hat0X, Hat0Y)
and 4 buttons (Trigger, ThumbBtn, TopBtn, TopBtn2).
Testing ... (interrupt to exit)
Axes:  0: -2354  1:     0  2: 11258  3:-16559  4:     0  5:     0 Buttons: 
0:off  1:off  2:off  3:off 

Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo x86_64)
=================================================================
System uname: 2.6.14-gentoo x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.59-r7
sys-devel/automake:  1.7.9-r1, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://src.gentoo.pl/"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LINGUAS="pl en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa amarok arts audiofile avi bash-completion berkdb
bitmap-fonts bluetooth bonobo browserplugin bzip2 bzlib cdr crypt cups
divx4linux dvd dvdr eds emboss encode esd expat fam ffmpeg flac foomaticdb
fortran gd gif glut gpm gstreamer gtk2 gtkhtml guile hal iconv idn imagemagick
imlib ipv6 joystick jpeg kde lcms lzw lzw-tiff mad mng mp3 mpeg musicbrainz
ncurses nls nvidia ogg opengl pam pcre pdflib perl plugin png python qt
quicktime readline real samba sdl spell ssl svg tcpd tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales videos visualization wmf
xine xml xml2 xpm xv zeroconf zlib linguas_pl linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-11-24 17:05:20 UTC
linux-headers issue?
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-12-19 13:24:36 UTC
Fixed, thanks! emerge sync and remerge linux-headers-2.6.11-r3.