Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114491 - ati-drivers 8.18.8-r2 failed to build fglrx.ko with gentoo-sources 2.6.13-r5
Summary: ati-drivers 8.18.8-r2 failed to build fglrx.ko with gentoo-sources 2.6.13-r5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-04 18:43 UTC by vicaya
Modified: 2006-06-03 00:09 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 vicaya 2005-12-04 18:43:17 UTC
8.18.8-r2 was marked stable for amd64 recently. emerge ati-drivers failed to
compile the kernel module. Complaining about "dereference incomplete type" at

/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2264

8.14.13's been working fine with direct rendering.

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




Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 Mobile AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
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.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -fno-enforce-eh-specs -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo/ http://gentoo.osuosl.org/
http://distfiles.gentoo.org"
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="amd64 X alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr cjk
crypt cscope cups curl dvd dvdr eds emboss encode esd ethereal exif expat fam
ffmpeg flac foomaticdb fortran gd gdbm gif glut gnome gpm graphviz gstreamer
gtk2 hal idn imagemagick imlib ithreads jpeg junit kde lcms libwww lua lzw
lzw-tiff mad maildir math mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses
nls nptl nptlonly ogg opengl pam pcre pdflib perl pic png python qt quicktime
readline real sdl slang snmp spell ssl tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xinerama xml2
xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 t35t0r 2005-12-09 15:19:37 UTC
I made my own ebuild for ati-drivers-extra-8.20.8 it fails during compile:

>>> Source unpacked.
 * Building fgl_glxgears
gcc -o fgl_glxgears -Wall -g -D USE_GLU -I/usr/X11R6/include -L/usr/X11R6/lib
-lGL -lGLU -lX11 -lm fgl_glxgears.c
 * Building the QT fglx panel...
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux
-DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I.
-I./include_dummy FGLRXExtensions.c
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux
-DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I.
-I./include_dummy ATITVOExtensions.c
g++ -c  -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux
-DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/qt/3/include -I.
-I./include_dummy main.cpp
In file included from FGLRXExtensions.c:29:
R200_extensions.h:54:28: fglrx_pp_proto.h: No such file or directory
make: *** [FGLRXExtensions.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: x11-apps/ati-drivers-extra-8.20.8 failed.
Comment 2 Luca Barbato gentoo-dev 2005-12-14 14:03:03 UTC
t35t0r adding completely unrelated issue on bugs doesn't help me solving them,
please check if there is another bug open and, since the issue should be fixed,
reemerge the ati-drivers-extra package
Comment 3 Luca Barbato gentoo-dev 2005-12-14 14:06:03 UTC
using a .14 kernel solves the issue?
Comment 4 vicaya 2005-12-15 22:48:14 UTC
Luca: I'm holding off upgrading to 2.6.14-r2 because it doesn't play nice with  
the ndiswrapper that I have to use to get wireless working.  
  
OTOH, I tried the latest ati-drivers-8.20.8. It emerged fine - dri works! and  
about 20% faster than the old driver. But it failed to read EDID information:  
  
(II) Module ddc: vendor="X.Org Foundation"  
        compiled for 6.8.2, module version = 1.0.0  
        ABI class: X.Org Video Driver, version 0.7  
(II) fglrx(0): Connected Display1: LCD on internal LVDS  
(II) fglrx(0):  Display1: No EDID information from DDC.  
(II) fglrx(0): Derived EDID from BIOS and internal tables for Display1:  
(II) fglrx(0): Display1 EDID data ---------------------------  
(II) fglrx(0): Manufacturer: MS_  Model: 0  Serial#: 0  
(II) fglrx(0): Year: 1990  Week: 0  
  
It comes up with weird resolutions( DPI 81x67) instead of the normal 75x75. I  
have to use DisplaySize to correct it. The 8.14.13 driver works with DDC just  
fine (so the resolution is automatically set correctly):  
 
(II) Module ddc: vendor="X.Org Foundation"  
        compiled for 6.8.2, module version = 1.0.0  
        ABI class: X.Org Video Driver, version 0.7  
(II) Loading sub module "i2c"  
(II) LoadModule: "i2c"  
(II) Loading /usr/lib64/modules/libi2c.a  
(II) Module i2c: vendor="X.Org Foundation"  
        compiled for 6.8.2, module version = 1.2.0  
        ABI class: X.Org Video Driver, version 0.7  
(II) fglrx(0): I2C bus "DDC" initialized.  
(II) fglrx(0): Connector Layout from BIOS --------  
(II) fglrx(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2  
(**) fglrx(0): MonitorLayout Option:  
        Monitor1--Type AUTO, Monitor2--Type AUTO  
  
  
  
  
Comment 5 vicaya 2006-06-03 00:09:57 UTC
moved on to newer driver.