User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060810 Firefox/1.5.0.5 Build Identifier: emerge gcc 4.1.1 wont compile and throws a error in genmddeps.c part Reproducible: Always Steps to Reproduce: 1.probably(not sure, 2 different computers got same problem) make system to use UTF8 and locale using et_EE 2.try after that update gcc to stable 4.1.1 Actual Results: http://pastebin.ca/155922 Expected Results: eemrge it:) emerge --info Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 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-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/" LC_ALL="et_EE.UTF-8" LINGUAS="en et" 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" SYNC="rsync://rsync1.ee.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi aim alsa avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd exif fam firefox fortran ftp gdbm gif gpm gstreamer hal iconv icq imagemagick ipv6 isdnlog jabber java javascript jpeg kde ldap libg++ lua mad mikmod mime mp3 mpeg msn ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff tk truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs wmf xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_et userland_GNU video_cards_nvidia video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
post files as an attachment, not as external links
(In reply to comment #1) > post files as an attachment, not as external links > build/genmodes -m > tmp-min-modes.c /bin/sh /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../move-if-change tmp-min-modes.c min-insn-modes.c build/genmodes > tmp-modes.c /bin/sh /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../move-if-change tmp-modes.c insn-modes.c echo timestamp > s-modes gcc -c -O -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/build -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include -o build/genmddeps.o /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/genmddeps.c In file included from ./tm.h:4, from /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/genmddeps.c:21: ./options.h:376: error: redeclaration of enumerator `OP___' ./options.h:375: error: previous definition of 'OP___' was here ./options.h:801: error: redeclaration of enumerator `OP__f_rap_' ./options.h:751: error: previous definition of 'OP__f_rap_' was here ./options.h:909: error: redeclaration of enumerator `OP___' ./options.h:376: error: previous definition of 'OP___' was here ./options.h:909: error: redeclaration of enumerator `OP___' ./options.h:376: error: previous definition of 'OP___' was here ./options.h:911: error: redeclaration of enumerator `OP___' ./options.h:909: error: previous definition of 'OP___' was here ./options.h:911: error: redeclaration of enumerator `OP___' ./options.h:376: error: previous definition of 'OP___' was here make[2]: *** [build/genmddeps.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1528: Called gcc_do_make toolchain.eclass, line 1402: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant.
hmm does it work with LC_ALL set to C rather than et_EE ?
(In reply to comment #3) > hmm does it work with LC_ALL set to C rather than et_EE ? > LC_ALL set to C and POSIX , same error no difference
ok ...
I couldn't update gcc 4.1.1 too. # emerge --info Portage 2.1-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.11.12-colinux-0.6.4-20060708 i686) ================================================================= System uname: 2.6.11.12-colinux-0.6.4-20060708 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r1 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-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-Os -march=i686" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/" LANG="ja_JP.UTF-8" LC_ALL="C" MAKEOPTS="-j2" 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="/opt/portage" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="x86 X apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cjk cli crypt dlloader dri eds emboss encode foomaticdb gdbm gif gnome gstreamer gtk2 hardened imlib isdnlog java jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdk session spell spl ssl truetype truetype-fonts type1-fonts ucs2 unicode userlocales vorbis xml xmms xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS * Building Log stage1/xgcc -Bstage1/ -B/usr/i386-pc-linux-gnu/bin/ -c -march=i686 -O2 -fprofi le-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-pr ototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -W missing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.1. 1/work/gcc-4.1.1/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/. -I/var/tm p/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/var/tmp/portage/gcc-4.1.1/w ork/gcc-4.1.1/gcc/../libcpp/include /var/tmp/portage/gcc-4.1.1/work/gcc-4.1. 1/gcc/ggc-common.c -o ggc-common.o cc1: stack smashing attack in function ix86_split_to_parts() xgcc: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [ggc-common.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1528: Called gcc_do_make toolchain.eclass, line 1402: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if rel evant.
I got exactly the same error on amd64. emerge --info Portage 2.1.1_rc1-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-ck1-r1 x86_64) ================================================================= System uname: 2.6.17-ck1-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.4 Last Sync: Wed, 06 Sep 2006 08:00:09 +0000 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64 ~overlay" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=k8 -fomit-frame-pointer -ffast-math -ftracer -fweb -frename-registers -funswitch-loops -fgcse-after-reload -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-pipe -O2 -march=k8 -fomit-frame-pointer -ffast-math -ftracer -fweb -frename-registers -funswitch-loops -fgcse-after-reload -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.du.se/pub/os/gentoo" LC_ALL="et_EE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags" LINGUAS="et" MAKEOPTS="-j2" 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="/mnt/portagevolume/local/portage /mnt/portagevolume/local/gentoo-php-overlay/experimental /mnt/portagevolume/local/xgl-coffee /mnt/portagevolume/local/gentoo-php-overlay/testing" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acl acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups dbus dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode exif fam ffmpeg flac foomaticdb fortran ftp gd geoip gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux ldap linguas_et lm_sensors lzw lzw-tiff matroska mime mini mng mono mp3 mpeg msn musicbrainz mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pcre pdflib perl php pic png postgres pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session skey slp smartcard sndfile speex spell spl sqlite ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l video_cards_nvidia vorbis xine xinerama xml xml2 xorg xpm xprint xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_RSYNC_EXTRA_OPTS
/bin/sh /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../move-if-change tmp-attrtab.c insn-attrtab.c insn-attrtab.c is unchanged echo timestamp > s-attrtab stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=i686 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include -c insn-attrtab.c \ -o insn-attrtab.o {standard input}: Assembler messages: {standard input}:33466: Warning: end of file not at end of a line; newline inserted {standard input}:35157: Error: suffix or operands invalid for `test' xgcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [insn-attrtab.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1529: Called gcc_do_make toolchain.eclass, line 1403: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. Gentoo Base System version 1.12.4 Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.14-hardened-r8 i686) ================================================================= System uname: 2.6.14-hardened-r8 i686 Celeron (Mendocino) Last Sync: Mon, 11 Sep 2006 05:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 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-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.netnitco.net http://mirror.mcs.anl.gov/pub/gentoo/ " LINGUAS="" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk2 hardened imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux libg++ libwww lm_sensors logrotate mad mikmod motif mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xmms xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
last comment is unrelated
I dont know exactly what im done, but one of the things worked for me. Dont know exact what helped, because those things ive done on longer period. Updating portage to latest version.(to portage-2.1.1). Restarting X. PS, locale is still et_EE@utf-8 and gcc compiled to 4.1.1 without problems
*** Bug 154355 has been marked as a duplicate of this bug. ***
I have exactly the same problem, but this solution did not work for me. I have the latest portage emerged and I have no X.
(In reply to comment #12) > I have exactly the same problem, but this solution did not work for me. > I have the latest portage emerged and I have no X. > I really dont know exactly what im done there then. I remember i got lot problems with PNG support too. Removed that flag from all libs. Maybe try exact portage version. And emerging some programs (autoconf,sgml) whose very weird(does dirs like "--dat" with autoconf, with sgml "--prefix" "--sy", all in / ) and Reemergeing wont work then. Got now fresh install. Maybe unicode is somehow problem here. You can try exact same portage version maybe.