Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258001 - sys-libs/libstdc++-v3-3.3.6 emerged failed
Summary: sys-libs/libstdc++-v3-3.3.6 emerged failed
Status: RESOLVED DUPLICATE of bug 259215
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-07 10:53 UTC by Mathieu Z
Modified: 2009-02-17 19:25 UTC (History)
2 users (show)

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


Attachments
build.log (libstdc++-v3-3.3.6_build.log.lzma,21.35 KB, application/octet-stream)
2009-02-17 07:53 UTC, Philipp Psurek
Details
emerge --info (emerge_info,3.03 KB, text/plain)
2009-02-17 07:55 UTC, Philipp Psurek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Z 2009-02-07 10:53:08 UTC
After patching collect2.c per bug #256638, libstdc++-v3-3.3.6 proceed to fail at gentype.c

Reproducible: Always

Steps to Reproduce:
1. patch with patch of bug #256638
2. ebuild libstdc++-v3-3.3.6 compile

Actual Results:  
gcc -c   -march=x86-64 -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/. -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/config -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/../include \                                                                                      
          /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c -o gengtype.o                                                                                              
gcc -c   -march=x86-64 -O2 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/. -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/config -I/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/../include \                                                                                      
          /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c -o gengtype.o                                                                                              
In file included from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:24:                                                                                            
./gtyp-gen.h:1: error: expected identifier or ‘(’ before string constant                        
./gtyp-gen.h:24: warning: ISO C does not allow extra ‘;’ outside of a function                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘error_at_line’:                                                                                        
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:38: warning: traditional C rejects ISO C style function definitions                                                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘xasprintf’:                                                                                            
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:70: warning: traditional C rejects ISO C style function definitions                                                  
In file included from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:24:                                                                                            
./gtyp-gen.h:1: error: expected identifier or ‘(’ before string constant                        
./gtyp-gen.h:24: warning: ISO C does not allow extra ‘;’ outside of a function                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘error_at_line’:                                                                                        
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:38: warning: traditional C rejects ISO C style function definitions                                                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘xasprintf’:                                                                                            
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:70: warning: traditional C rejects ISO C style function definitions                                                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘oprintf’:                                                                                              
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1075: warning: traditional C rejects ISO C style function definitions                                                
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘get_base_file_bitmap’:                                                                                 
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: ‘lang_files’ undeclared (first use in this function)                                                    
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: (Each undeclared identifier is reported only once                                                       
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: for each function it appears in.)                                                                       
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘oprintf’:/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1218: error: ‘langs_for_lang_files’ undeclared (first use in this function)                                        

/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1075: warning: traditional C rejects ISO C style function definitions                                                
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘get_base_file_bitmap’:                                                                                 
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: ‘lang_files’ undeclared (first use in this function)                                                    
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: (Each undeclared identifier is reported only once                                                       
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: for each function it appears in.)                                                                       
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1218: error: ‘langs_for_lang_files’ undeclared (first use in this function)                                          
In file included from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:24:                                                                                            
./gtyp-gen.h:1: error: expected identifier or ‘(’ before string constant                        
./gtyp-gen.h:24: warning: ISO C does not allow extra ‘;’ outside of a function                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘error_at_line’:                                                                                        
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:38: warning: traditional C rejects ISO C style function definitions                                                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘xasprintf’:                                                                                            
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:70: warning: traditional C rejects ISO C style function definitions                                                  
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘main’: 
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:2581: error: ‘srcdir’ undeclared (first use in this function)                                                        
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘main’: 
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:2581: error: ‘srcdir’ undeclared (first use in this function)                                                        
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘oprintf’:make[3]: *** [gengtype.o] Error 1                                                             
make[3]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make[2]: *** [crtbegin.o] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [gengtype.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make[2]: *** [crtbeginS.o] Error 2

/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1075: warning: traditional C rejects ISO C style function definitions
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘get_base_file_bitmap’:
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: ‘lang_files’ undeclared (first use in this function)
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1212: error: for each function it appears in.)
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:1218: error: ‘langs_for_lang_files’ undeclared (first use in this function)
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c: In function ‘main’:
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/gengtype.c:2581: error: ‘srcdir’ undeclared (first use in this function)
make[3]: *** [gengtype.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make[2]: *** [crtbeginT.o] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make: *** [all-gcc] Error 2
 *
 * ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3178:  Called die
 * The specific snippet of code:
 *       S="${WORKDIR}/build" emake all-target-libstdc++-v3 LIBPATH="${LIBPATH}" BOOT_CFLAGS="${CFLAGS}" STAGE1_CFLAGS="-O" || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-libs:libstdc++-v3-3.3.6:20090207-084117.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/environment'.
 *
Comment 1 Mathieu Z 2009-02-07 10:54:28 UTC
# emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)                                                                                        
=================================================================                               
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5   
Timestamp of tree: Wed, 04 Feb 2009 03:00:01 +0000                                              
app-shells/bash:     3.2_p48                                                                    
dev-java/java-config: 1.3.7-r1, 2.1.7                                                           
dev-lang/python:     2.5.4-r2                                                                   
dev-util/cmake:      2.6.2-r1                                                                   
sys-apps/baselayout: 2.0.0                                                                      
sys-apps/openrc:     0.4.2                                                                      
sys-apps/sandbox:    1.3.3                                                                      
sys-devel/autoconf:  2.13, 2.63                                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                  
sys-devel/binutils:  2.19                                                                       
sys-devel/gcc-config: 1.4.1                                                                     
sys-devel/libtool:   2.2.6a                                                                     
virtual/os-headers:  2.6.28-r1                                                                  
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                    
CFLAGS="-march=athlon64 -O2 -pipe"                                                              
CHOST="x86_64-pc-linux-gnu"                                                                     
CONFIG_PROTECT="/etc /usr/share/config"                                                         
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                  
CXXFLAGS="-march=athlon64 -O2 -pipe"                                                            
DISTDIR="/usr/portage/distfiles"                                                                
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ja zh zh_CN zh_TW en_US en_GB"
MAKEOPTS="-j3 --load-average"
PKGDIR="/usr/portage//packages"
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 /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile avahi bash-completion bcmath berkdb bidi bittorrent blas bluetooth bzip2 cairo calendar canna caps cdaudio cddb cdparanoia cdr cjk clamav cli cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbus dbx dga directfb djvu dri dts dv dvb dvd dvdr dvdread dvi eds encode evo exif expat fam fastcgi fbcon ffmpeg fftw firefox flac flash fontconfig foomaticdb fortran freetds freewnn ftp fuse gd gdbm ginac git glib glitz glut gnome gnome-keyring gnuplot gnutls gphoto2 gpm gps gsl gstreamer gtk gtkhtml gzip hal htmlhandbook httpd iconv icq idn ieee1394 imagemagick imap imlib immqt-bc innodb ipod ipv6 isdnlog jabber java java5 java6 javascript jingle joystick jpeg jpeg2k kde4 kpathsea lame lash latex lcms libcaca libgda libnotify libwww lm_sensors lyx lzo m17n-lib mad midi mime mmx mmxext modplug motif mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses neXt netboot nis nls nntp nptl nptlonly nsplugin odbc ofx ogg openal openexr opengl openmp osc oscar pae pam pch pcre pda pdf perl php plasma plotutils png posix postgres ppds pppd python qq qt3support qt4 quicktime readline recode reflection rss ruby samba scanner sdl semantic-desktop session simplexml slang sndfile sockets socks5 speex spell spl sqlite sqlite3 sse sse2 ssl subversion svg sysfs t1lib taglib tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype tta unicode upnp usb v4l v4l2 vcd vhosts videos vim-syntax vorbis wavepack wddx webkit wlm wma wmf wmp wxwindows x264 x86emu xcb xcomposite xforms xft xine xinerama xml xmlrpc xorg xosd xsl xulrunner xv xvid yahoo yaz zip zlib" ALSA_CARDS="emu10k1 emu10k1x" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cachecharset_lite dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiationproxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse wacom virtualbox vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja zh zh_CN zh_TW en_US en_GB" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fbdev virtualbox vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS,PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Mathieu Z 2009-02-11 09:08:26 UTC
successfully emerged by going into /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc and deleting gtyp-gen.h and running make again.

For some reason, it was incorrectly generated from tmp-gtyp.h the first time around.
Comment 3 Marian Kyral 2009-02-17 06:45:47 UTC
I got a different error:

rm -rf 32/libgcc.a                                                                                                                                                                 
ar  rc 32/libgcc.a libgcc/32/_muldi3.oS libgcc/32/_negdi2.oS libgcc/32/_lshrdi3.oS libgcc/32/_ashldi3.oS libgcc/32/_ashrdi3.oS libgcc/32/_ffsdi2.oS libgcc/32/_clz.oS libgcc/32/_cmpdi2.oS libgcc/32/_ucmpdi2.oS libgcc/32/_floatdidf.oS libgcc/32/_floatdisf.oS libgcc/32/_fixunsdfsi.oS libgcc/32/_fixunssfsi.oS libgcc/32/_fixunsdfdi.oS libgcc/32/_fixdfdi.oS libgcc/32/_fixunssfdi.oS libgcc/32/_fixsfdi.oS libgcc/32/_fixxfdi.oS libgcc/32/_fixunsxfdi.oS libgcc/32/_floatdixf.oS libgcc/32/_fixunsxfsi.oS libgcc/32/_fixtfdi.oS libgcc/32/_fixunstfdi.oS libgcc/32/_floatditf.oS libgcc/32/_clear_cache.oS libgcc/32/_trampoline.oS libgcc/32/__main.oS libgcc/32/_exit.oS libgcc/32/_absvsi2.oS libgcc/32/_absvdi2.oS libgcc/32/_addvsi3.oS libgcc/32/_addvdi3.oS libgcc/32/_subvsi3.oS libgcc/32/_subvdi3.oS libgcc/32/_mulvsi3.oS libgcc/32/_mulvdi3.oS libgcc/32/_negvsi2.oS libgcc/32/_negvdi2.oS libgcc/32/_ctors.oS libgcc/32/_divdi3.oS libgcc/32/_moddi3.oS libgcc/32/_udivdi3.oS libgcc/32/_umoddi3.oS libgcc/32/_udiv_w_sdiv.oS libgcc/32/_udivmoddi4.oS libgcc/32/_eprintf.oS libgcc/32/_bb.oS libgcc/32/__gcc_bcmp.oS                                                                                                                                                            
if [ -f ranlib ] || ( [ x86_64-pc-linux-gnu = x86_64-pc-linux-gnu ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \                                                         
          ranlib 32/libgcc.a ; \
        else true; fi;
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/xgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1.tmp  -m32  libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o libgcc/32/_ashldi3.o libgcc/32/_ashrdi3.o libgcc/32/_ffsdi2.o libgcc/32/_clz.o libgcc/32/_cmpdi2.o libgcc/32/_ucmpdi2.o libgcc/32/_floatdidf.o libgcc/32/_floatdisf.o libgcc/32/_fixunsdfsi.o libgcc/32/_fixunssfsi.o libgcc/32/_fixunsdfdi.o libgcc/32/_fixdfdi.o libgcc/32/_fixunssfdi.o libgcc/32/_fixsfdi.o libgcc/32/_fixxfdi.o libgcc/32/_fixunsxfdi.o libgcc/32/_floatdixf.o libgcc/32/_fixunsxfsi.o libgcc/32/_fixtfdi.o libgcc/32/_fixunstfdi.o libgcc/32/_floatditf.o libgcc/32/_clear_cache.o libgcc/32/_trampoline.o libgcc/32/__main.o libgcc/32/_exit.o libgcc/32/_absvsi2.o libgcc/32/_absvdi2.o libgcc/32/_addvsi3.o libgcc/32/_addvdi3.o libgcc/32/_subvsi3.o libgcc/32/_subvdi3.o libgcc/32/_mulvsi3.o libgcc/32/_mulvdi3.o libgcc/32/_negvsi2.o libgcc/32/_negvdi2.o libgcc/32/_ctors.o libgcc/32/_divdi3.o libgcc/32/_moddi3.o libgcc/32/_udivdi3.o libgcc/32/_umoddi3.o libgcc/32/_udiv_w_sdiv.o libgcc/32/_udivmoddi4.o  libgcc/32/unwind-dw2.o libgcc/32/unwind-dw2-fde-glibc.o libgcc/32/unwind-sjlj.o libgcc/32/unwind-c.o -lc && rm -f libgcc_s_32.so && if [ -f 32/libgcc_s.so.1 ]; then mv -f 32/libgcc_s.so.1 32/libgcc_s.so.1.backup; else true; fi && mv 32/libgcc_s.so.1.tmp 32/libgcc_s.so.1 && ln -s 32/libgcc_s.so.1 libgcc_s_32.so

collect2: ld terminated with signal 11 [Neoprávněný přístup do paměti (SIGSEGV)]

/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/../lib/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/../lib/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/../lib/crti.o' is incompatible with i386 output
/usr/x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/../lib/crtn.o' is incompatible with i386 output
make[2]: *** [32/libgcc_s_32.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc'
make: *** [all-gcc] Error 2
Comment 4 Marian Kyral 2009-02-17 06:47:24 UTC
Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 x86_64)                                                                  
=================================================================                                                                                                                  
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5                                                                                 
Timestamp of tree: Tue, 17 Feb 2009 06:00:01 +0000                                                                                                                                 
app-shells/bash:     3.2_p48-r1                                                                                                                                                    
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                                                                              
dev-lang/python:     2.5.4-r2                                                                                                                                                      
dev-util/cmake:      2.6.2-r1                                                                                                                                                      
sys-apps/baselayout: 2.0.0                                                                                                                                                         
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.7
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ http://gentoo.supp.name/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/layman/arcon /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss encode evo exif fam firefox flac foomaticdb fortran ftp gdbm gif glib gpm gstreamer hal htmlhandbook iconv ipv6 isdnlog jabber jpeg kde kdeenablefinal kdehiddenvisibility kipi lcms ldap libnotify mad matroska midi mikmod mine mmx mmxext mng mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly ogg openal opengl openmp oracle oss pam pcmcia pcre pdf perl png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session slang sox spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs tcpd theora threads tiff truetype unicode usb vcd vorbis wavpack wifi wmf xcomposite xinerama xml xorg xosd xulrunner xv zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" FOO2ZJS_DEVICES="oki3200" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Marian Kyral 2009-02-17 06:51:09 UTC
I re-emerged and now finished without problem.
Comment 6 Philipp Psurek 2009-02-17 07:53:49 UTC
Created attachment 182306 [details]
build.log

make[3]: Entering directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/xgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I32 -I. -I./32 -I./config -I./../include -m32 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
	   -c ./crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O \
	  -o 32/crtbeginT.o
crtstuff.c: In function `__do_global_dtors_aux':
crtstuff.c:280: warning: passing arg 1 of `__deregister_frame_info' discards qualifiers from pointer target type
crtstuff.c: In function `frame_dummy':
crtstuff.c:316: warning: passing arg 1 of `__register_frame_info' discards qualifiers from pointer target type
make[3]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc'
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/xgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1.tmp  -m32  libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o libgcc/32/_ashldi3.o libgcc/32/_ashrdi3.o libgcc/32/_ffsdi2.o libgcc/32/_clz.o libgcc/32/_cmpdi2.o libgcc/32/_ucmpdi2.o libgcc/32/_floatdidf.o libgcc/32/_floatdisf.o libgcc/32/_fixunsdfsi.o libgcc/32/_fixunssfsi.o libgcc/32/_fixunsdfdi.o libgcc/32/_fixdfdi.o libgcc/32/_fixunssfdi.o libgcc/32/_fixsfdi.o libgcc/32/_fixxfdi.o libgcc/32/_fixunsxfdi.o libgcc/32/_floatdixf.o libgcc/32/_fixunsxfsi.o libgcc/32/_fixtfdi.o libgcc/32/_fixunstfdi.o libgcc/32/_floatditf.o libgcc/32/_clear_cache.o libgcc/32/_trampoline.o libgcc/32/__main.o libgcc/32/_exit.o libgcc/32/_absvsi2.o libgcc/32/_absvdi2.o libgcc/32/_addvsi3.o libgcc/32/_addvdi3.o libgcc/32/_subvsi3.o libgcc/32/_subvdi3.o libgcc/32/_mulvsi3.o libgcc/32/_mulvdi3.o libgcc/32/_negvsi2.o libgcc/32/_negvdi2.o libgcc/32/_ctors.o libgcc/32/_divdi3.o libgcc/32/_moddi3.o libgcc/32/_udivdi3.o libgcc/32/_umoddi3.o libgcc/32/_udiv_w_sdiv.o libgcc/32/_udivmoddi4.o  libgcc/32/unwind-dw2.o libgcc/32/unwind-dw2-fde-glibc.o libgcc/32/unwind-sjlj.o libgcc/32/unwind-c.o -lc && rm -f libgcc_s_32.so && if [ -f 32/libgcc_s.so.1 ]; then mv -f 32/libgcc_s.so.1 32/libgcc_s.so.1.backup; else true; fi && mv 32/libgcc_s.so.1.tmp 32/libgcc_s.so.1 && ln -s 32/libgcc_s.so.1 libgcc_s_32.so
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/../lib/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/../lib/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/../lib/crti.o' is incompatible with i386 output
/usr/x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/../lib/crtn.o' is incompatible with i386 output
make[2]: *** [32/libgcc_s_32.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc'
make: *** [all-gcc] Error 2
Comment 7 Philipp Psurek 2009-02-17 07:55:27 UTC
Created attachment 182307 [details]
emerge --info
Comment 8 Rafał Mużyło 2009-02-17 17:18:01 UTC
It's probably fixed in the tree, resync.
Comment 9 Martin Jansa 2009-02-17 19:20:37 UTC
(In reply to comment #8)
> It's probably fixed in the tree, resync.
> 

Yes that removed crap works for me..
Comment 10 SpanKY gentoo-dev 2009-02-17 19:25:32 UTC

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