Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198340 - sys-libs/glibc-2.7 compilation error - redefinition of 'memmove'
Summary: sys-libs/glibc-2.7 compilation error - redefinition of 'memmove'
Status: RESOLVED DUPLICATE of bug 196926
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 09:44 UTC by Jiri Baloun
Modified: 2007-11-08 07:26 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 Jiri Baloun 2007-11-07 09:44:33 UTC
during compilation glibc-2.7 I've received error:
x86_64-pc-linux-gnu-gcc warning-nop.c -c -std=gnu99  -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -Wstrict-prototypes -mpreferred-stack-boundary=2  -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES    -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h        -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o
In file included from ../include/bits/string3.h:1,
                 from ../string/string.h:428,
                 from ../include/string.h:49,
                 from warning-nop.c:53:
../string/bits/string3.h:58: error: redefinition of 'memmove'
../string/string.h:59: warning: 'memset' declared inline after being called
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.7/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/warning-nop.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7/debug'
make[1]: *** [debug/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7'
make: *** [all] Error 2
 *
 * ERROR: sys-libs/glibc-2.7 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_compile
 *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *    glibc-2.7.ebuild, line  148:  Called eblit-run 'src_compile'
 *    glibc-2.7.ebuild, line  144:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  168:  Called src_compile
 *    glibc-2.7.ebuild, line  148:  Called eblit-run 'src_compile'
 *    glibc-2.7.ebuild, line  144:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  179:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  122:  Called die
 * The specific snippet of code:
 *              make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
 *  The die message:
 *   make for x86 failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.7/temp/build.log'.
 *


Reproducible: Always

Steps to Reproduce:
1.emerge -av sys-libs/glibc
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-07 09:48:56 UTC
emerge --info please.
Comment 2 Jiri Baloun 2007-11-07 09:52:30 UTC
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.21-suspend2-r6 x86_64)
=================================================================
System uname: 2.6.21-suspend2-r6 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Wed, 07 Nov 2007 07:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r6, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LANG="czech"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS=""
LINGUAS="cs en en_GB"
MAKEOPTS="-j1"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 Xaw3d a52 aac aalib accessibility acl acpi addbookmarks aio akode alsa altcolors amd64 asf async audiofile automount bash-completion bcmath berkdb bitmap-fonts blueooth bluetooth branding browserplugin bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr cdrom chroot cli cpdflib cpudetection cracklib crypt cscope css csv ctype cups curl curlwrappers custom-cflags cvs dbus dc1394 dga dio diskio divx divx4linux dmx doc dpms dri dvb dvd dvdr dvdread elf encode erandom ethereal exif expat extensions fam fame ffmpeg firefox flac flatfile fmod fontconfig fpx freetype ftp fuse gdbm gif glistif glitz glut gnutls graphviz gs gtk2 hal hdaps hddtemp hdri hpn iconv icq ieee1394 imagemagick imlib imlib2 inline insecure-drivers iproute2 irda isdnlog ithreads jabber java javascript jbig jpeg jpeg2k kde kdehiddenvisibility kdexdeltas kdrive kerberos lame lcms ldap lesstif lha libcaca libedit libg++ libvisual libwww linuxthreads-tls lirc live lm_sensors logrotate lzo lzw lzw-tiff mad matroska mhash midi mikmod mime mmx mmx2 mng motif mp2 mp3 mp4 mpeg mplayer mudflap multicall musepack nas ncurses newspr nls no-old-linux nocardbus nojoustick nomac nomalloccheck nowebdav nptl nptlonly ntlm_unsupported_patch oav ogg oggvorbis openal openexr opengl openmp optimisememory oss pam pam_console pcmcia pcmcia-cs pcntl pcre pdf pdflib perl pertty pic png pnm posix postgres pppd pvr python q32 qt qt3 qt3support qt4 quicktime rar rdesktop readline recode reflection rtc rtsp samba sasl sdl session sha shared sharedmem silc skey slang slp smartcard smux sndfile snmp socks socks5 sox spl sql sse sse2 ssl ssse3 stream subversion svg swig syslog sysvipc szip tabs tcl tcltk tcpd test tga theora threads tidy tiff tk transcode truetype truetype-fonts twinserial type1-fonts udev unicode upnp usb userlocales v4l v4l2 vcd vdr videos vim vim-pager vim-syntax vim-with-x visualization vlm vorbis wifi winbind wmf wxwindows x264 xanim xcb xcomposite xface xine xml xml2 xorg xosd xpm xsl xv xvid xvmc yv12 zlib" ALSA_CARDS="intel8x0m" 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" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse vmmouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en en_GB" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="fglrx ati dummy vmware radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Mart Raudsepp gentoo-dev 2007-11-07 10:00:35 UTC
Same here (same error on same file compilation while compiling the x86 ABI on a multilib amd64 system).

Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 Intel(R) Pentium(R) D CPU 2.66GHz
Timestamp of tree: Wed, 07 Nov 2007 08:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks installsources metadata-transfer parallel-fetch sandbox sfperms sign splitdebug strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--as-needed"
LINGUAS="et et_EE"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 artworkextra avahi bash-completion berkdb bitmap-fonts branding bzip2 cairo cdr cli cracklib crypt dbus dri dv dvd dvdr dvdread eds emboss encode evo exif expat fam ffmpeg firefox flac fontconfig fortran gdbm gif glib glibc-omitfp gnome gnutls gstreamer gtk hal iconv isdnlog jpeg jpeg2k kde kerberos keyring lcms ldap libnotify live mad midi mikmod mmx mp3 mpeg mudflap ncurses network-cron nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection rtc sdl session smp spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode urandom vorbis wmf xattr xcb xinerama xml xorg xulrunner xv xvid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="et et_EE" USERLAND="GNU" VIDEO_CARDS="radeon r300"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-11-07 10:21:47 UTC
Duplicate of Bug 196926.
Comment 5 Hanno Böck gentoo-dev 2007-11-07 14:40:57 UTC

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