Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112411 - a newly stable ati-drivers-8.14.13-r3 fail to build DRM (fglrx.ko module)
Summary: a newly stable ati-drivers-8.14.13-r3 fail to build DRM (fglrx.ko module)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
: 114964 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-13 06:31 UTC by Christopher Zapart
Modified: 2005-12-11 03:19 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 Christopher Zapart 2005-11-13 06:31:16 UTC
/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod/firegl_public.c:568:  
warning: `inter_module_put' is deprecated (declared at  
include/linux/module.h:573)  
/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod/firegl_public.c:  
In function `__ke_verify_area':  
/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod/firegl_public.c:1453:  
warning: implicit declaration of function `verify_area'  
/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod/firegl_public.c:  
At top level:  
/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod/firegl_public.c:2662:  
warning: initialization from incompatible pointer type  
make[1]: *** No rule to make target  
`/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC9',  
needed by  
`/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod/fglrx.o'.   
Stop.  
make: ***  
[_module_/var/tmp/portage/ati-drivers-8.14.13-r3/work/lib/modules/fglrx/build_mod]  
Error 2  
make: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2'  
 * DRM module not built  
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.14.13-r3  
  
>>> Install ati-drivers-8.14.13-r3  
into /var/tmp/portage/ati-drivers-8.14.13-r3/image/ category x11-drivers  
 * Installing fglrx module  
install: cannot stat `fglrx.ko': No such file or directory  
man:  
making executable: /usr/lib/libfglrx_gamma.so.1.0  
>>> Completed installing ati-drivers-8.14.13-r3  
into /var/tmp/portage/ati-drivers-8.14.13-r3/image/  
  
 
The previous stable release of ati-drivers from the 8.14.13 series compiled 
OK on a 2.6.13-r5 kernel. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 
2.6.13-gentoo-r5 i686) 
================================================================= 
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[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.15.92.0.2-r10 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -xP -ip -mtune=pentium4 -i_dynamic 
-I /opt/intel/compiler90/include" 
CHOST="i686-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/lib/mozilla/defaults/pref /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="-O3 -xP -ip -mtune=pentium4 -i_dynamic 
-I /opt/intel/compiler90/include" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://mirror.nutsmaas.nl/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ 
http://gentoo.tiscali.nl/gentoo/" 
LANG="en_GB.UTF-8" 
LINGUAS="en_GB" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X aac acl alsa apm arts audiofile avi berkdb bitmap-fonts 
bonobo bzip2 cdr cjk crypt cups curl divx4linux dvd eds emboss encode 
esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp 
gnome gpm gstreamer gtk gtk2 gtkhtml guile idn ifc imagemagick imlib 
immqt-bc ipv6 java joystick jpeg junit kde lcms libg++ libwww lirc lua mad 
mikmod mjpeg mmx mmxext mng motif mozilla mp3 mpeg mysql nas 
ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl png 
ppds python qt quicktime readline real recode scanner sdl spell sse sse2 
sse3 ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts 
type1-fonts udev unicode usb vorbis win32codecs xine xml xml2 xmms xv 
xvid zlib video_cards_radeon linguas_en_GB userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-13 06:38:12 UTC
Are you using modular X?
Comment 2 Christopher Zapart 2005-11-13 06:40:54 UTC
No, the normal "emerge xorg-x11", not a newly introduced modular X. 
Comment 3 Christopher Zapart 2005-11-13 06:43:55 UTC
By the way, despite having emerged a newly stable kernel 2.6.14-r2, I am still working 
in 2.6.13-r5 as compiling ati-drivers against 2.6.14-r2 started producing 
"verify_area" errors. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-13 07:02:29 UTC
Reopen.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-09 02:29:57 UTC
*** Bug 114964 has been marked as a duplicate of this bug. ***
Comment 6 Christopher Zapart 2005-12-11 03:19:55 UTC
The compilation problem has been solved. It was caused by a dual gcc/icc set up. 
icc was giving the major version as "9" even though the ati-drivers were being 
compiled with gcc. 
 
icc --version 
iccbin (ICC) 9.0  20050430 
Copyright (C) 1985-2005 Intel Corporation.  All rights reserved. 
 
After temporarily removing all references to icc enviromental variables from the 
directory /etc/env.d the x86 stable ati-drivers compiled cleanly and are working OK 
with the latest stable gentoo-sources 2.6.14, the DRM is working fine too.