Summary: | x11-drivers/ati-drivers-9.7 failed to compile with patches and kernel 2.6.30-r4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Astarot <doles2> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | james, vargad88 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 277944 |
Description
Astarot
2009-08-03 20:57:35 UTC
Please paste the output of 'emerge --info' into a bugzilla comment to assist the maintainers in resolving this issue Also did you ever have it working on this system? (In reply to comment #1) > Please paste the output of 'emerge --info' into a bugzilla comment to assist > the maintainers in resolving this issue > > Also did you ever have it working on this system? > Here is my emerge --info: Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6400_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 06 Aug 2009 15:00:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1, 3.1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en pl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/wrobel /usr/local/portage/layman/sunrise /usr/local/portage/layman/kde /usr/local/portage/layman/zen-overlay /usr/local/portage/layman/x11" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 avi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt dbus djvu dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran gadu gdbm gif gimp git glx gpm gstreamer hal iconv ipv6 isdnlog java jpeg kde lame laptop ldap libnotify mad mikmod mmx mnt mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf perl phonon png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sql sse sse2 sse4 ssl ssse3 startup-notification subversion svg sysfs tcpd threads thumbnail tiff truetype unicode usb v4l vim-syntax vorbis webkit wifi x264 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS uname -a: Linux localhost 2.6.30-gentoo-r4 #6 SMP Wed Aug 5 16:10:01 CEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz GenuineIntel GNU/Linux I guess on x86 this ebuild is working very well but there are troubles on amd64, as you can see. I think everything is due to ioctl32.h header C file from linux source look at the code (kcl_ioctl.c from ati-drivers code): #ifdef __x86_64__ # include "asm/compat.h" # if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) # include "linux/ioctl32.h" # else # include "asm/ioctl32.h" # endif # endif #endif So if kernels is (mathematical notation :) ) <2.6.12, 2.6.22) include additional linux/ioctl32.h header file, if below that 2.6.12 include "asm/ioctl32.h". There should be definitions of function register_ioctl32_conversion and friends but those files are missing on my kernel (deprecated by developers, I guess). Here is output from find: #find . -name "compat.h" -print ./fs/btrfs/compat.h ./arch/arm/kernel/compat.h ./arch/x86/include/asm/compat.h ./arch/ia64/include/asm/compat.h ./arch/mips/include/asm/compat.h ./arch/s390/include/asm/compat.h ./arch/sparc/include/asm/compat.h ./arch/parisc/include/asm/compat.h ./arch/powerpc/include/asm/compat.h ./include/net/compat.h ./include/linux/compat.h ./include/config/nf/conntrack/proc/compat.h ./include/config/video/v4l1/compat.h ./include/config/sonypi/compat.h And I can`t find register_ioctl32_conversion anywhere. I`m wondering if it is possible to change this "fine" function to another code... fixed in 9.8 No it isn't fixed, I had the same problem with ati-drivers-9.8. On amd64 unregister_ioctl32_conversion is unavailable when you turn off 32 bit support. The solution is to set CONFIG_IA32_EMULATION=y in kernel config, then recompile the kernel. |