Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112462 - ati-drivers-8.19.10 fails to build DRM module (dereferencing pointer to incomplete type)
Summary: ati-drivers-8.19.10 fails to build DRM module (dereferencing pointer to incom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
: 112463 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-13 15:59 UTC by Maciej Paszta
Modified: 2005-11-15 00:37 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 Maciej Paszta 2005-11-13 15:59:43 UTC
New ati-drivers-8.19.10 fail to build DRM module. The error I get:

/var/tmp/portage/ati-drivers-8.18.8-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2264:
error: dereferencing pointer to incomplete type
/var/tmp/portage/ati-drivers-8.18.8-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2265:
error: dereferencing pointer to incomplete type 

I checked everything and module seems to compile directly from the ati package,
after a few whiles of investigation the thing that caused the problem appeared
to be a patch:
fglrx-2.6.14-compat_ioctl.patch 

If I remove this patch ati-drivers emerge without problems.

Reproducible: Always
Steps to Reproduce:
1.emerge ati-drivers


Actual Results:  
I get the error while compiling kernel module

Expected Results:  
Kernel module should be build

Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Turion(tm) 64 Mobile ML-28
Gentoo Base System version 1.6.13
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
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/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer -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"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en pl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2
cdr crypt cups curl dvd dvdread eds emboss encode exif expat extras fam ffmpeg
foomaticdb fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 iconv idn ieee1384
imagemagic imagemagick imlib ipv6 java jpeg junit kde lcms lua lzw lzw-tiff mad
mng mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png
python qt quicktime readline samba sdl slang spell ssl svg tcltk tcpd tiff
truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xml
xml2 xpm xv xvid zlib linguas_en linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 1 Mike Cvet 2005-11-13 16:11:52 UTC
*** Bug 112463 has been marked as a duplicate of this bug. ***
Comment 2 Gustavo Ribeiro Alves 2005-11-13 16:17:27 UTC
I can confirm this on my machine.
Comment 3 Andrew Fuller 2005-11-14 18:50:23 UTC
Confirmed here.  Removing the patch allows the driver to build. 
Comment 4 Luca Barbato gentoo-dev 2005-11-15 00:37:56 UTC
removing it then