Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104180

Summary: gentoo-sources-2.6.12-r9 fails to compile
Product: Gentoo Linux Reporter: Bruno Roggeri <bruno.roggeri>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kernel .config file
kernel compilation log

Description Bruno Roggeri 2005-08-29 13:41:09 UTC
Compilation fails, at least with the attached .config 

Reproducible: Always
Steps to Reproduce:
1. emerge =gentoo-sources-2.6.12-r9 
2. copy attached .config in source directory 
3. make &> kbuildlog 
 
Actual Results:  
Compilations goes on for a while and then fails with : 
  
drivers/built-in.o(.data+0x57778): undefined reference to `cfb_fillrect' 
drivers/built-in.o(.data+0x57780): undefined reference to `cfb_copyarea' 
drivers/built-in.o(.data+0x57788): undefined reference to `cfb_imageblit' 
drivers/built-in.o(.data+0x57790): undefined reference to `soft_cursor' 
make: *** [.tmp_vmlinux1] Error 1 
 
the full log is in the attached kbuildlog file 

Expected Results:  
a kernel's job :) 

# emerge info 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r6 x86_64) 
================================================================= 
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5 
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 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O2 -pipe" 
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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ 
ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo 
http://ds.thn.htu.se/linux/gentoo ftp://mirror.pudas.net/gentoo" 
LINGUAS="fr" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aac alsa avi berkdb bitmap-fonts cdr crypt cups curl doc dts 
dvd eds encode fam fbcon ffmpeg flac foomaticdb fortran gdbm gif gphoto2 gpm 
gstreamer gtk2 imagemagick imlib ipv6 java jpeg junit kde lzw lzw-tiff mad mng 
mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam pdflib perl 
png python qt quicktime readline sdl speex spell sqlite ssl tcltk tcpd theora 
tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xpm xv zlib 
linguas_fr userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Bruno Roggeri 2005-08-29 13:42:40 UTC
Created attachment 67202 [details]
kernel .config file
Comment 2 Bruno Roggeri 2005-08-29 13:44:02 UTC
Created attachment 67204 [details]
kernel compilation log
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-08-29 14:10:59 UTC
Is this reproducable with gentoo-sources-2.6.13?
Comment 4 Bruno Roggeri 2005-08-29 14:23:54 UTC
Well 2.6.13 doesn't have any amd64 keywords yet, but i guess i can just try. 
 
Comment 5 Bruno Roggeri 2005-08-29 15:15:40 UTC
The same error occurs. 
 
These are the steps i took : 
I edited gentoo-sources-2.6.13.ebuild to have the amd64 keywords and ran 
"ebuild gentoo-sources-2.6.13.ebuild digest". (i didn't want to 
ACCEPT_KEYWORDS="~x86" in case this would influence the ebuild behaviour - but 
maybe i'm wrong) 
Then : emerge gentoo-sources, copy former .config in the source directory and 
make oldconfig (and make menuconfig to check what were all those new 
things :) ) 
Finally : make 
 
And i ran into the same problem. I can post the "new" .config and the build 
log, but they're pretty similar to the old ones. 
 
This is just a (silly?) wild guess based on the names of the offending symbols, 
but could it be that the problem comes from me selecting both rivafb and 
nvidiafb (as modules) ? 
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-08-29 15:36:20 UTC
Ah, this is the vesafb-as-module thing again. Just build it into your kernel.

*** This bug has been marked as a duplicate of 100320 ***