Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150021 - Compilation failure for dev-libs/beecrypt-3.1.0-r2
Summary: Compilation failure for dev-libs/beecrypt-3.1.0-r2
Status: VERIFIED DUPLICATE of bug 124900
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-03 18:00 UTC by Brent Baude (RETIRED)
Modified: 2007-07-19 19:00 UTC (History)
2 users (show)

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 Brent Baude (RETIRED) gentoo-dev 2006-10-03 18:00:04 UTC
I'm not able to compile dev-libs/beecrypt (required for rpm) on my system.  The failure looks like so:

blowfishopt.lo: In function `blowfishEncrypt':
: multiple definition of `blowfishEncrypt'
blowfish.lo:blowfish.c:(.text+0x520): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `blowfishEncrypt' changed from 1116 in blowfish.lo to 815 in blowfishopt.lo
blowfishopt.lo: In function `blowfishDecrypt':
: multiple definition of `blowfishDecrypt'
blowfish.lo:blowfish.c:(.text+0xc0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `blowfishDecrypt' changed from 1117 in blowfish.lo to 815 in blowfishopt.lo
mpopt.lo: In function `mpzero':
: multiple definition of `mpzero'
mp.lo:mp.c:(.text+0x0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpzero' changed from 31 in mp.lo to 15 in mpopt.lo
mpopt.lo: In function `mpfill':
: multiple definition of `mpfill'
mp.lo:mp.c:(.text+0x20): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpfill' changed from 44 in mp.lo to 17 in mpopt.lo
mpopt.lo: In function `mpeven':
: multiple definition of `mpeven'
mp.lo:mp.c:(.text+0x60): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpeven' changed from 19 in mp.lo to 18 in mpopt.lo
mpopt.lo: In function `mpodd':
: multiple definition of `mpodd'
mp.lo:mp.c:(.text+0x50): first defined here
mpopt.lo: In function `mpaddw':
: multiple definition of `mpaddw'
mp.lo:mp.c:(.text+0xb00): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpaddw' changed from 84 in mp.lo to 42 in mpopt.lo
mpopt.lo: In function `mpsubw':
: multiple definition of `mpsubw'
mp.lo:mp.c:(.text+0xc50): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpsubw' changed from 84 in mp.lo to 42 in mpopt.lo
mpopt.lo: In function `mpadd':
: multiple definition of `mpadd'
mp.lo:mp.c:(.text+0xb60): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpadd' changed from 93 in mp.lo to 41 in mpopt.lo
mpopt.lo: In function `mpsub':
: multiple definition of `mpsub'
mp.lo:mp.c:(.text+0xcb0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpsub' changed from 98 in mp.lo to 41 in mpopt.lo
mpopt.lo: In function `mpdivtwo':
: multiple definition of `mpdivtwo'
mp.lo:mp.c:(.text+0x1140): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpdivtwo' changed from 59 in mp.lo to 24 in mpopt.lo
mpopt.lo: In function `mpmultwo':
: multiple definition of `mpmultwo'
mp.lo:mp.c:(.text+0x11f0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpmultwo' changed from 62 in mp.lo to 29 in mpopt.lo
mpopt.lo: In function `mpsetmul':
: multiple definition of `mpsetmul'
mp.lo:mp.c:(.text+0xe10): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpsetmul' changed from 159 in mp.lo to 49 in mpopt.lo
mpopt.lo: In function `mpaddmul':
: multiple definition of `mpaddmul'
mp.lo:mp.c:(.text+0xeb0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpaddmul' changed from 175 in mp.lo to 55 in mpopt.lo
mpopt.lo: In function `mpaddsqrtrc':
: multiple definition of `mpaddsqrtrc'
mp.lo:mp.c:(.text+0x1080): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mpaddsqrtrc' changed from 133 in mp.lo to 50 in mpopt.lo
mpopt.lo: In function `mppndiv':
: multiple definition of `mppndiv'
mp.lo:mp.c:(.text+0x19b0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `mppndiv' changed from 99 in mp.lo to 13 in mpopt.lo
sha1opt.lo: In function `sha1Process':
: multiple definition of `sha1Process'
sha1.lo:sha1.c:(.text+0x0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: Warni ng: size of symbol `sha1Process' changed from 4168 in sha1.lo to 3290 in sha1opt .lo
collect2: ld returned 1 exit status
make[2]: *** [libbeecrypt.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/beecrypt-3.1.0-r2/work/beecrypt-3.1 .0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beecrypt-3.1.0-r2/work/beecrypt-3.1 .0'
make: *** [all] Error 2


emerge --info as follows:

emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16.19 i686)
=================================================================
System uname: 2.6.16.19 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 21:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://twmlinux.raleigh.ibm.com/gentoo-portage"
USE="x86 X aac acpi alsa arts audiofile berkdb bitmap-fonts cdr cli crypt cups dbus dlloader dri dvdr dvdread eds elibc_glibc emboss encode esd exo firefox foomaticdb fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ libnotify libwww mad madwifi meanwhile mikmod motif mp3 mpeg msn ncurses nls nptl nptlonly ogg opengl oss pam panel-plugin pcre perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl startup-notification tcpd thumbnail thunar tiff truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_radeon video_cards_vesa vorbis xcomposite xinerama xml xmms xorg xslt xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS


Any suggestions on resolving this?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 01:25:05 UTC

*** This bug has been marked as a duplicate of 124900 ***
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2006-10-04 11:34:12 UTC
Try using -march=pentium3 instead of -march=pentium-m as a temporary solution.
It seems like the same issue of bug #124900