Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71578 - sys-kernel/usermode-sources-2.6.8.1-r3 fails to compile
Summary: sys-kernel/usermode-sources-2.6.8.1-r3 fails to compile
Status: RESOLVED DUPLICATE of bug 49277
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 11:41 UTC by Daniel Webert
Modified: 2005-07-17 13:06 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 Daniel Webert 2004-11-17 11:41:19 UTC
sys-kernel/usermode-sources-2.6.8.1-r3 fails to compile

compiles fine, but the last steps say sth about binutils and doesnt build the vmlinux

<snip>
porkoo linux-2.6.8.1-uml1-r3 # make linux ARCH=um
  ...
  GZIP    usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  KSYM    .tmp_kallsyms1.S
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
  AS      .tmp_kallsyms2.o
  MAIN    arch/um/main.o
  LD      vmlinux
make[1]: `arch/um/uml.lds.s' is up to date.
gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \
        -o linux arch/um/main.o vmlinux -L/usr/lib -lutil
vmlinux(.text+0xfe2a0): In function `strcpy':
lib/string.c:71: multiple definition of `strcpy'
arch/um/kernel/tt/unmap_fin.o(.text+0x19c8c): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strcpy' changed from 81 in arch/um/kernel/tt/unmap_fin.o to 32 in vmlinux
vmlinux(.text+0xfe530): In function `strrchr':
lib/string.c:273: multiple definition of `strrchr'
arch/um/kernel/tt/unmap_fin.o(.text+0x19e50): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strrchr' changed from 441 in arch/um/kernel/tt/unmap_fin.o to 48 in vmlinux
vmlinux(.text+0xfe4b0): In function `strncmp':
lib/string.c:236: multiple definition of `strncmp'
arch/um/kernel/tt/unmap_fin.o(.text+0x5b18): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strncmp' changed from 370 in arch/um/kernel/tt/unmap_fin.o to 66 in vmlinux
vmlinux(.text+0xff860): In function `sscanf':
lib/vsprintf.c:836: multiple definition of `sscanf'
arch/um/kernel/tt/unmap_fin.o(.text+0x35044): first defined here
vmlinux(.text+0xfe480): In function `strcmp':
lib/string.c:215: multiple definition of `strcmp'
arch/um/kernel/tt/unmap_fin.o(.text+0x5af0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strcmp' changed from 37 in arch/um/kernel/tt/unmap_fin.o to 39 in vmlinux
vmlinux(.text+0xfe500): In function `strchr':
lib/string.c:257: multiple definition of `strchr'
arch/um/kernel/tt/unmap_fin.o(.text+0x5980): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strchr' changed from 359 in arch/um/kernel/tt/unmap_fin.o to 34 in vmlinux
vmlinux(.text+0xfe670): In function `strpbrk':
lib/string.c:394: multiple definition of `strpbrk'
arch/um/kernel/tt/unmap_fin.o(.text+0x37540): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `strpbrk' changed from 179 in arch/um/kernel/tt/unmap_fin.o to 82 in vmlinux
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.15.92.0.2 20040927 assertion fail elf.c:3637
collect2: ld returned 1 exit status
make: *** [linux] Error 1
porkoo linux-2.6.8.1-uml1-r3 # 
</snip>

<snip>
porkoo linux-2.6.8.1-uml1-r3 # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-cko3 i686)
=================================================================
System uname: 2.6.9-cko3 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.6.6
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks loadpolicy sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="GAPING_SECURITY_HOLE X X509 Xaw3d aac aalib acl adns aim alsa amd apache2 apm arts artswrappersuid async audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bonobo bzlib calendar cddb cdparanoia cdr cdrom chroot clamav clanJavaScript clanVoice client codecs cpdflib crypt css ctype cups curl curlwrappers dba dedicated devmap dillo dio disablekernelsupport distcache distribution divx4linux dnd dts dv dvd dvdr dvdread edl encode erandom escreen esd estraier ethereal etwin evms2 exif f77 faac faad fam fbcon ffmpeg flac flash flatfile flood fmod font-server foomaticdb fortran fpx freetype fs ftp ftruncate fusion gb gd gdbm geoip ggi gif gimp gkrellm glut gphoto2 gpm gps gs gtk gtk2 gtkhtml hbci hub iconv icq ieee1394 imagemagick imap imlib imlib2 immqt immqt-bc inifile innodb intl ipv6 ipv6arpa ithreads jabber java javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice lcd lcms ldap libcaca libg++ libsamplerate libwww live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir maildrop mailwrapper matroska mbox mcal md5sum memlimit mhash mikmod mime ming mixer mmx mmx2 mng motif moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn multipleip mysql nas ncurses net network neural nis nls nntp nowin nptl nptlonly ntlm nvidia nviz oav offensive ofx oggvorbis openal opengl oscar oss pam passfile pcap pcre pdflib perl php physfs pic pie png postgres prelude procmail python qt quicktime quotes readline real rplay rtc sdl server session sftplogging silc silverxp skey slang smartcard smime sndfile snmp soap sockets socks5 softmmu speex spell sse sse2 ssl stats streamzap stroke subject-rewrite svg svga szip tcltk tcpd tga theora threads thumbnail tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1-fonts uml unicode uptimed usb userlocales uudeview v4l v4l2 vda vhosts vim-with-x virus-scan wmf wsconvert x86 xanim xchatdccserver xchattext xface xfs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xsl xv xvid xvmc yahoo yv12 zlib linguas_en linguas_de linguas_es"
</snip>
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-11-17 11:59:54 UTC

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