If the .config for kernel 2.4.24 contains ========= CONFIG_DRM_NEW=y CONFIG_DRM_FFB=y ========= (and you use the shortcut alias alias sparc64make='make ARCH=sparc64 CROSS_COMPILE=sparc64-unknown-linux-gnu-') Then the 'sparc64make oldconfig dep vmlinux' gets ============ sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.24-sparc/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -finline-limit=100000 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ffb_drv -c -o ffb_drv.o ffb_drv.c In file included from drmP.h:75, from ffb_drv.c:9: drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry In file included from drm_dma.h:33, from ffb_drv.c:334: drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry ffb_drv.c:386: redefinition of `ffb_options' drm_drv.h:138: `ffb_options' previously defined here make[4]: *** [ffb_drv.o] Error 1 ============== and so on. Reproducible: Always Steps to Reproduce: 1.Have 'CONFIG_DRM_NEW=y' & 'CONFIG_DRM_FFB=y' in .config 2.[sparc64]make oldconfig dep vmlinix 3. Actual Results: sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.24-sparc/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -finline-limit=100000 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ffb_drv -c -o ffb_drv.o ffb_drv.c In file included from drmP.h:75, from ffb_drv.c:9: drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry In file included from drm_dma.h:33, from ffb_drv.c:334: drm_os_linux.h:16:2: warning: #warning the author of this code needs to read up on list_entry ffb_drv.c:386: redefinition of `ffb_options' drm_drv.h:138: `ffb_options' previously defined here make[4]: *** [ffb_drv.o] Error 1 Expected Results: A new kernel. fmccor@antaresia:~ [203]% emerge info Portage 2.0.49-r20 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23-sparc-r1) ================================================================= System uname: 2.4.23-sparc-r1 sparc64 sun4u Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /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/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox" GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X arts avi berkdb crypt cups encode fbcon foomaticdb gdbm gif gpm gtk imlib java jpeg libwww mad mikmod motif mozilla mpeg mysql ncurses nls opengl oss pam pdflib perl png python qt readline ruby ruby18 slang spell ssl stroke tcltk tcpd tetex tiff truetype xml2 xmms xv zlib" ================== But it happens on any system. The one that matters is the one which actually has a Creator on it.
Created attachment 24438 [details] A config file which will generate the error This config file will generate the error, although it is not the one used on the system which has a Creator card on it.
There's already a patch for this one in sparc-dev-sources, or it's fixed upstream in later kernels if you prefer.
Uh, it's fixed in sparc-sources as well... Oops, not enough caffeine in me :(