Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368119 - sys-libs/glibc-2.12.2: running local sln during install fails with SIGSEGV (due to LDFLAGS=-s)
Summary: sys-libs/glibc-2.12.2: running local sln during install fails with SIGSEGV (d...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 01:47 UTC by Matt
Modified: 2019-04-26 02:37 UTC (History)
1 user (show)

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


Attachments
emerge --info =sys-libs/glibc-2.12.2 (emerge_info_glibc-2.12.2,6.38 KB, text/plain)
2011-05-20 01:48 UTC, Matt
Details
build.log (build.log.bz2,179.95 KB, application/x-bzip2)
2011-05-20 01:49 UTC, Matt
Details
environment (environment,152.39 KB, text/plain)
2011-05-20 01:50 UTC, Matt
Details
My build log (cross-i686-pc-linux-gnu:glibc-2.12.2:20110520-163746.log.gz,855.18 KB, application/x-gzip)
2011-05-20 17:11 UTC, Siim Ainsaar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2011-05-20 01:47:19 UTC
* ERROR: sys-libs/glibc-2.12.2 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *           ebuild.sh, line   56:  Called src_install
 *         environment, line 3819:  Called eblit-run 'src_install'
 *         environment, line 1152:  Called eblit-glibc-src_install
 *   src_install.eblit, line  238:  Called toolchain-glibc_src_install
 *   src_install.eblit, line   22:  Called die
 * The specific snippet of code:
 *      emake install_root="${install_root}" install || die
 * 


Reproducible: Always




(Attachments to follow)
Comment 1 Matt 2011-05-20 01:48:09 UTC
Created attachment 274043 [details]
emerge --info =sys-libs/glibc-2.12.2
Comment 2 Matt 2011-05-20 01:49:32 UTC
Created attachment 274045 [details]
build.log
Comment 3 Matt 2011-05-20 01:50:26 UTC
Created attachment 274047 [details]
environment
Comment 4 Matt 2011-05-20 02:10:35 UTC
Just thought I'd quick mention I've now gotten this exact same issue on two other machines as well.  They are x86/Linux as well.


M.
Comment 5 Quasimodo 2011-05-20 06:21:50 UTC
I second that. I have the same error on amd64 with 2 machines and also in cross-i686-pc-linux-gnu.
Comment 6 Kostas Kavourakis 2011-05-20 09:05:52 UTC
Add me to the list, same problem on an amd64 multilib machine.

unexpected reloc type in static binaryrm -f /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/stubs.h
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sln /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/symlink.list
make[1]: *** [install-symbolic-link] Error 139
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
make: *** [install] Error 2
emake failed
 * ERROR: sys-libs/glibc-2.12.2 failed (install phase):
 *   (no error message)
 *
Comment 7 mack1 2011-05-20 09:23:45 UTC
The same issue here... removing -s (--strip-all) from LDFLAGS permit to build correctly glibc-2.12.2.
Comment 8 mAhdi 2011-05-20 14:47:08 UTC
(In reply to comment #7)
> The same issue here... removing -s (--strip-all) from LDFLAGS permit to build
> correctly glibc-2.12.2.

Same here, removing -s from LDFLAGS et voila it works.
Comment 9 Siim Ainsaar 2011-05-20 17:01:57 UTC
Mine errs exactly at the same place, but with a different error:

/var/tmp/portage/cross-i686-pc-linux-gnu/glibc-2.12.2/work/build-amd64-i686-pc-linux-gnu-nptl/elf/sln /var/tmp/portage/cross-i686-pc-linux-gnu/glibc-2.12.2/work/build-amd64-i686-pc-linux-gnu-nptl/elf/symlink.list
make[1]: /var/tmp/portage/cross-i686-pc-linux-gnu/glibc-2.12.2/work/build-amd64-i686-pc-linux-gnu-nptl/elf/sln: Command not found
make[1]: *** [install-symbolic-link] Error 127
make[1]: Leaving directory `/var/tmp/portage/cross-i686-pc-linux-gnu/glibc-2.12.2/work/glibc-2.12.2'
make: *** [install] Error 2
emake failed
 * ERROR: cross-i686-pc-linux-gnu/glibc-2.12.2 failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *           ebuild.sh, line   56:  Called src_install
 *         environment, line 3838:  Called eblit-run 'src_install'
 *         environment, line 1171:  Called eblit-glibc-src_install
 *   src_install.eblit, line  229:  Called eblit-glibc-src_install
 *   src_install.eblit, line  238:  Called toolchain-glibc_src_install
 *   src_install.eblit, line   22:  Called die
 * The specific snippet of code:
 *      emake install_root="${install_root}" install || die
 *
 * If you need support, post the output of 'emerge --info =cross-i686-pc-linux-gnu/glibc-2.12.2',
 * the complete build log and the output of 'emerge -pqv =cross-i686-pc-linux-gnu/glibc-2.12.2'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/log/portage/cross-i686-pc-linux-gnu:glibc-2.12.2:20110520-163746.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-i686-pc-linux-gnu/glibc-2.12.2/temp/environment'.
 * S: '/var/tmp/portage/cross-i686-pc-linux-gnu/glibc-2.12.2/work/glibc-2.12.2'
Comment 10 Siim Ainsaar 2011-05-20 17:11:28 UTC
Created attachment 274119 [details]
My build log

Note that this is a cross-compile.

$ emerge --info =cross-i686-pc-linux-gnu/glibc-2.12.2
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, libc-0-r0, 2.6.37-tuxonice x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-tuxonice-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 20 May 2011 15:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -O2 -pipe -ftracer -maccumulate-outgoing-args"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/nspluginwrapper/i386/linux/npviewer /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -O2 -pipe -ftracer -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://gentoo.supp.name/ http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/"
LANG=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=900"
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"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/sunrise /var/lib/layman/esteid"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aalib ace acpi alsa amd64 amr animgif apng archive ares artworkextra asf aspell ass asyncdns asyncns atlas audacious autotrace bash-completion berkdb bidi binary-drivers blas bluetooth boost bs2b bzip2 cairo caps cblas-external cdda cddb cdparanoia cdr cdrom cg chardet chm cjk cleartype cli cln colordiff compress consolekit corefonts cpio cracklib crypt cscope css cuda cue cups cxx dbus dell dga dirac djbfft djvu doc double-precision dri dts dv dvd dvdnav dvdr dvi dvipdfm ebook ee emboss emf enca encode equalizer exceptions exif expat fasttrack fat fbcon ffmpeg fftw firefox firefox3 fits flac flash fontconfig fortran ftp gcj gd gdbm gdu geoip geolocation gif gimp gkrellm glib glitz glut gmail gmp gnome gnuplot gnutella gopher gpm gpu grammar graphicsmagick graphviz gs gsl gtalk gtk gucharmap handbook hardcoded-tables hdf hdf5 hdri highlight history hpijs hpn iconv icu id3 id3tag idn ieee1394 image-cache imagemagick imlib inkjar ipv6 irc iso14755 jabber java java6 javascript jbig jpeg jpeg2k kate kde keyscrub kpathsea kqemu ladspa lame lapack lapack-atlas laptop largeterminal lasi latex lcdfilter lcms ldap libcaca libnl libnotify libsamplerate libssh2 libvisual live lm_sensors loop-aes lzma lzo mac mad matroska mbox mbrola memlimit metric mime mjpeg mkl mmx mmxext mng models modules monolithic-build mp3 mp4 mpeg mplayer msn mudflap multilib multiprocess multiuser musepack music nautilus ncurses netpbm network-cron nls nntp nocd nodrm nptl nptlonly ntfs ntp ntpd nvidia ogg ogg123 ogm okteta okular opencv openexr opengl openmp openssl openstreetmap openvg optimization optimize-cflags optimized-qmake pam pango pch pcmcia pcre pdf perl pgf phonon pidgin pm-utils png pnm policykit postproc postscript povray ppds pppd prediction ps pstoedit pulseaudio python qt3support qt4 quesoglc quicktime rar raw readline reiserfs replaygain rle romio rpm rtc sbcl scanner schroedinger screen sdl session sftp sha512 shaders sift skype slang smp sndfile solver sound sounds sox speex spell srt sse sse2 sse3 ssh ssl ssse3 stars startup-notification static-ppds strong-optimization subtitles svg sysfs syslog system-sqlite szip t1lib taglib tcpd templates themes theora thesaurus thin-splines threads threadsafe thumbnail tiff timezone timidity truetype type3 udev umfpack unicode usb userlocales utempter uuencode v4l v4l2 vaapi vamp vcd vcdx videos vim vim-pager vim-syntax vorbis vpx wav wavpack webcam wifi wma wmf wps wv2 x264 xattr xcb xcf xcomposite xext xinerama xml xmp xorg xosd xpm xrandr xrender xscreensaver xulrunner xv xvid xvmc youtube zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 11 Siim Ainsaar 2011-05-20 17:18:58 UTC
$ emerge -pqv =cross-i686-pc-linux-gnu/glibc-2.12.2
[ebuild     U ] cross-i686-pc-linux-gnu/glibc-2.12.2 [2.11.3] USE="gd (multilib) nls -debug -glibc-omitfp -hardened -profile (-selinux) -vanilla"
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-21 16:24:06 UTC
(In reply to comment #9)
> Mine errs exactly at the same place, but with a different error:

Wait, so that's in fact a different bug? File a new bug report, please.
Comment 13 Kostas Kavourakis 2011-05-21 17:33:21 UTC
Reporting back that removing my custom LDFlag options made it build and install correctly. I also do have -s in my LDflags normaly...
Comment 14 Siim Ainsaar 2011-05-21 19:03:02 UTC
OK, I just filed bug 368283 about my issue. But it seems probable that the fix for one bug will fix also the other one.
Comment 15 Damian Krasowski 2011-05-22 12:01:29 UTC
I reproduce bug on my 2 machines.

2.6.37-gentoo-r4 #1 SMP Thu Apr 14 19:47:44 CEST 2011 x86_64 Dual Core AMD Opteron(tm) Processor 170 AuthenticAMD GNU/Linux
and
2.6.37-gentoo-r4 #3 SMP Sat May 21 19:41:53 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz GenuineIntel GNU/Linux

Fix this bug is:

crossdev -C i686-pc-linux-gnu
emerge libtool
emerge binutils
crossdev -S i686-pc-linux-gnu

everything compiled and installed successfull

cat /var/log/portage/cross-i686-pc-linux-gnu-info.log 

-------------------------------------------------------------------------------------------------------------------------------------------------------------
 * crossdev version:      20110310
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   x86
 * Target System:         i686-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[stable]
 * gcc:                   gcc-[stable]
 * headers:               linux-headers-[stable]
 * libc:                  glibc-[stable]

 * PORTDIR_OVERLAY:       /var/lib/layman/sunrise
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  - 
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
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 mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
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 cgi cgid 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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=opteron -O2 -pipe"
DCCC_PATH="/usr/lib64/distcc/bin"
DEFAULT_ABI="amd64"
DISTCC_LOG=""
DISTCC_VERBOSE=""
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="pl_PL.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="pl"
LIRC_DEVICES="devinput leadtek_0010"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j4"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/man:/etc/java-config/system-vm/man/:/usr/lib64/php5.3/man/:/opt/vmware/server/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OLDPWD="/"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/lib64/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5:/usr/lib64/subversion/bin:/opt/vmware/server/bin:/opt/vmware/vix/bin"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/"
PYTHONDONTWRITEBYTECODE="1"
QEMU_SOFTMMU_TARGETS="i386 arm armeb mips x86_64 ppc"
QEMU_USER_TARGETS="i386 arm armeb mips x86_64 ppc"
QT_PLUGIN_PATH="/usr/lib64/kde4/plugins"
RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5:/usr/lib64/subversion/bin:/opt/vmware/server/bin:/opt/vmware/vix/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby18"
R_HOME="/usr/lib64/R"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="192.168.100.102 48567 22"
SSH_CONNECTION="192.168.100.102 48567 192.168.100.100 22"
SSH_TTY="/dev/pts/1"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://192.168.100.50/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VBOX_APP_HOME="/opt/VirtualBox"
VIDEO_CARDS="nvidia vesa"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_SESSION_COOKIE="368305cf828bf4d77908ebb0000000a1-1306058937.943593-1237989250"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
_="/usr/bin/emerge"
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_170-with-gentoo-2.0.2
Timestamp of tree: Fri, 20 May 2011 00:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
USE="32bit 3dnow 3dnowext 64bit X a52 aac aacs aalib accessibility acl acpi adplug akonadi alsa amd64 amr analogtv apache2 artist-screen aspell bash-completion berkdb bluetooth bluray bs2b bzip2 cairo cdda cddb cdio cdparanoia cdr cdrom cdrtools cgi cli color-console console consolekit cracklib crypt css ctype cue cups cxx dbus declarative device-mapper dlz dmraid dri dts dv dvb dvbplayer dvbsetup dvd dvdnav dvdr edit embedded emerald emovix encode exif extensions extras faad fat ffmpeg filter firefox3 flac flash fluidsynth fontconfig fortran games gcj gd gdbm geoip gif glib glibc-omitfp gnutls gpm graphviz gtk gts guionly hddtemp hfs hpn httpd icecast iconv icotools icu idn ieee1394 imagemagick imq ios ios-vout ipod ipv6 jack jadetex java java6 jfs jpeg jpeg2k kde kdm key-screen kqemu kvm l7filter lame lcms ldap libmms libsamplerate libv4l libv4l2 lirc lm_sensors lua lvm lyrics-screen lzma lzo mad maps mdadm melt midi mikmod mjpeg mmx mng modules moonlight mozilla mp3 mp4 mpeg mplayer mtp mudflap multilib musepack music mysql mysqli ncurses nfs nfsv3 nls nocd nonfsv4 nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc ofx ogg openal openexr opengl openmp openssl optimized-qmake osgapps pam pch pcre perl php plasma png policykit pppd projectm python python-bindings python3 qemu qt3support qt4 quicktime readline reiser4 reiserfs resolvconf rtsp ruby samba scanner scrobbler scsi sdl search-screen semantic-desktop sensord session sid slang slp smbclient sndfile song-screen sounds sox spell sql sqlite sse sse2 ssl stream subtitles subversion svg swig sysfs taglib tcpd teletext test-programs theora threads tiff tk tls truetype tvtime twolame udev udis86 unicode unsupported usb v4l v4l2 vaapi vcd vhosts videos vorbis wav wavpack webinterface webkit webserver wma x264 xanim xcomposite xfs xinetd xml xorg xrandr xscreensaver xv xvid xvmc zeroconf zip zlib zvbi" 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 mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" LIRC_DEVICES="devinput leadtek_0010" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 arm armeb mips x86_64 ppc" QEMU_USER_TARGETS="i386 arm armeb mips x86_64 ppc" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 16 SpanKY gentoo-dev 2011-05-24 03:53:04 UTC
LDFLAGS=-s or LDFLAGS=--strip-all makes absolutely no sense.  portage already automatically strips everything.

if this failure only happens with LDFLAGS=-s, then i cant say i particularly care ...