Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232747 - sys-kernel/gentoo-sources-2.6.25-r7: make fails when it comes to drivers/scsi/mvsas.c
Summary: sys-kernel/gentoo-sources-2.6.25-r7: make fails when it comes to drivers/scsi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://www.spinics.net/lists/linux-sc...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-07-23 12:48 UTC by Jens Gruentjes
Modified: 2008-08-18 00:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My Kernel config-File (.config,38.44 KB, text/plain)
2008-07-24 16:47 UTC, Jens Gruentjes
Details
.config file produced from "genkernel all" (2.6.25-r7.config,79.53 KB, text/plain)
2008-07-29 21:32 UTC, Stonie R. Cooper
Details
/var/log/genkernel.log (genkernel.log,326.44 KB, text/plain)
2008-07-29 21:33 UTC, Stonie R. Cooper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Gruentjes 2008-07-23 12:48:50 UTC
When I try to compile the above kernel the make-command fails with the following message:




Reproducible: Always

Steps to Reproduce:
1. make oldconfig
2. make

Actual Results:  
linux # make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  LD      drivers/scsi/built-in.o
drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
mvsas.c:(.text+0x0): multiple definition of `sas_ata_init_host_and_port'
drivers/scsi/libsas/built-in.o:(.text+0x39f8): first defined here
drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
mvsas.c:(.text+0x3): multiple definition of `sas_ata_task_abort'
drivers/scsi/libsas/built-in.o:(.text+0x39fb): first defined here
make[2]: *** [drivers/scsi/built-in.o] Fehler 1
make[1]: *** [drivers/scsi] Fehler 2
make: *** [drivers] Fehler 2

Expected Results:  
It should compile normally.

I found a solution for my bug at http://www.spinics.net/lists/linux-scsi/msg25509.html. The solution worked for me as well.

emerge --info gives this:

Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz
Timestamp of tree: Wed, 23 Jul 2008 11:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cdr cli cracklib crypt cups dri dvd firefox fortran gdbm gif gpm iconv ipv6 isdnlog java jpeg kde kdeenablefinal midi mmx mng mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia opengl openmp pam pcre perl png pppd python qt3 qt4 readline reflection samba session spl sse sse2 ssl ssse3 tcpd tetex threads tiff unicode xcomposite xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-23 15:05:31 UTC
Kernel team: Looks like this issue is upstream as well based on URL above.
Comment 2 Mike Pagano gentoo-dev 2008-07-24 16:36:20 UTC
Can you attach your .config? It will make my life easier.
Comment 3 Jens Gruentjes 2008-07-24 16:47:49 UTC
Created attachment 161278 [details]
My Kernel config-File

Here is my Kernel Config. Sorry, I forgot to attach it when I submitted the bug.
Comment 4 Mike Pagano gentoo-dev 2008-07-24 17:21:42 UTC
ok, this has been added to SVN and will be in the next -rX of the .25 version of gentoo-sources.

Comment 5 Stonie R. Cooper 2008-07-29 21:32:34 UTC
Created attachment 161664 [details]
.config file produced from "genkernel all"

.config from gentoo-sources 2.6.25-r7 attempt with "genkernel all"
Comment 6 Stonie R. Cooper 2008-07-29 21:33:24 UTC
Created attachment 161666 [details]
/var/log/genkernel.log

And, the log from genkernel.
Comment 7 Stonie R. Cooper 2008-07-29 21:35:44 UTC
I have added to attachments from similar module failure on gentoo-sources, except I used "genkernel all" as my make paradigm.  This is on x86.  My environment:

emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Tue, 29 Jul 2008 18:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.4.3-r4, 1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/fs /etc/X11/rstart /etc/X11/twm /etc/X11/xdm /etc/apache2/apache2-builtin-mods /etc/apcupsd /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/hotplug /etc/hotplug.d /etc/init.d /etc/pam.d /etc/revdep-rebuild /etc/security /etc/ssh /etc/ssl /etc/terminfo /etc/udev/rules.d /etc/vim /etc/webmin"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl arts avi berkdb bzip2 c++ cdr cli cracklib crypt cups dga dri dvd encode esd f77 fortran g++ g77 gdbm gif gimp-print gimpprint gnome gphoto2 gpm gtk gtk2 iconv ifc imlib ipv6 isdnlog java kde libusb libwww mach64 midi mmx motif mpeg mudflap ncurses nls nptl nptlonly objc oggvorbis opengl openmp pam pcre pdf perl png pppd python qt qt3 quotes r128 radeon readline reflection scanner sdl server session slang spl sse ssl sysfs tcpd tiff truetype unicode usb x86 xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 8 Mike Pagano gentoo-dev 2008-08-18 00:58:03 UTC
Included in gentoo-sources-2.6.25-r8