Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100602 - glibc-2.3.5 failed to emerge --> [elf/subdir_lib] Error 2
Summary: glibc-2.3.5 failed to emerge --> [elf/subdir_lib] Error 2
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-28 08:35 UTC by Felix Hammer
Modified: 2009-07-05 10:52 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 Felix Hammer 2005-07-28 08:35:28 UTC
when i try to emerge glibc-2.3.5 i get an error-message: 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h:948: 
error: can't convert between vector values of different size 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h: In 
function `_mm_storeh_pd': 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h:954: 
error: incompatible type for argument 2 of `__builtin_ia32_storehpd' 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h: In 
function `_mm_loadl_pd': 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h:960: 
error: incompatible type for argument 1 of `__builtin_ia32_loadlpd' 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h:960: 
error: can't convert between vector values of different size 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h: In 
function `_mm_storel_pd': 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h:966: 
error: incompatible type for argument 2 of `__builtin_ia32_storelpd' 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h: In 
function `_mm_movemask_pd': 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h:972: 
error: incompatible type for argument 1 of `__builtin_ia32_movmskpd' 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h: In 
function `_mm_stream_pd': 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/emmintrin.h:1440: 
error: incompatible type for argument 2 of `__builtin_ia32_movntpd' 
make[2]: *** 
[/var/tmp/portage/glibc-2.3.5/work/build-default-i686-pc-linux-gnu-linuxthreads/elf/tst-alignmod.os] 
Error 1 
make[2]: *** Waiting for unfinished jobs.... 
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5/elf' 
make[1]: *** [elf/subdir_lib] Error 2 
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5' 
make: *** [all] Error 2 
 


emerge info 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz 
Gentoo Base System version 1.6.12 
Python:              dev-lang/python-2.3.5 [2.3.5 (#2, May  4 2005, 07:53:32)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /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/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" 
LINGUAS="de" 
MAKEOPTS="-j8" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X aalib alsa apache apache2 apm arts avi berkdb bitmap-fonts cdr 
crypt cups curl divx4linux dvd emboss encode fam flac flash foomaticdb fortran 
gdbm gif gphoto2 gpm guile imagemagick imlib innodb ipv6 jack java jpeg junit 
kde ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg 
oggvorbis opengl pam pdflib perl php png python qt quicktime readline samba 
sdl slang spell sqlite ssl svga tcpd tetex theora tiff truetype truetype-fonts 
type1-fonts vhosts vorbis win32codecs wlan wxgtk1 xine xml xml2 xmms xv xvid 
zlib video_cards_radeon linguas_de userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-07-30 00:10:30 UTC
i dont think that's the whole error message

please run `emerge glibc >& log` and post the log as an attachment
Comment 2 Weedy 2005-08-02 23:20:24 UTC
a - elf/dl-profstub.os
a - elf/dl-libc.os
a - elf/dl-sym.os
a - elf/dl-tsd.os
a - elf/unwind-dw2-fde-glibc.os
a - elf/framestate.os
a - elf/unwind-pe.os
: /var/tmp/portage/glibc-2.3.5-r1/work/build-default-i586-pc-linux-gnu-
linuxthreads/libc_pic.a
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5/
elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5'
make: *** [all] Error 2
 
!!! ERROR: sys-libs/glibc-2.3.5-r1 failed.
!!! Function toolchain-glibc_src_compile, Line 226, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-
r0, 2.6.12-gentoo-r6 i586)
=================================================================
System uname: 2.6.12-gentoo-r6 i586 AMD-K6tm w/ multimedia extensions
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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.5
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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6 -Os -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/
gentoo http://gentoo.mirrors.tds.net/gentoo h
ttp://gentoo.seren.com/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--relax -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 X509 acl acpi alsa apache2 authdaemond bash-completion berkdb bzip2 
bzlib ccache chroot cluster crypt ctype curlw
rappers dba dio eds emboss encode erandom exif extensions fortran ftp gdbm gif 
gmp gpm gstreamer hardened imagemagick imap
 imlib innodb ipv6 javamail jpeg kerberos libg++ libwww maildir memlimit mhash 
mmx mp3 mpi multislot nagios-dns nagios-ntp
 nagios-ping nagios-ssh ncurses neural nis nls nptl objc ogg pam pcntl pcre perl 
pg-hier pg-intdatetime pg-vacuumdelay php
 pic pie png posix procmail python readline sasl sendfile session sftplogging 
shaper shared sharedext sharedmem simplexml
sockets softquota spell sse ssl sysvipc szip tcpd truetype unicode vda vhosts 
virtual-users virus-scan vorbis wddx xml xml
2 xmlrpc xsl zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 3 SpanKY gentoo-dev 2006-04-20 20:45:12 UTC
still not what we need
Comment 4 Marcin Lewandowski 2006-05-04 08:44:31 UTC
I submitted this bug in last year, I've updated my os many times since then so I can't submit more info. I think you can close this bug.
Comment 5 Lord_Evil 2009-07-05 10:52:57 UTC
This bug comes from LDFLAGS you've set up in your system. Here's the message

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: --relax and -r may not be used together
collect2: ld returned 1 exit status