Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126871 - [3.4/ICE] GCC internal error when reporting some routines (LC_ALL="es_ES@euro.UTF-8")
Summary: [3.4/ICE] GCC internal error when reporting some routines (LC_ALL="es_ES@euro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 136418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-19 15:07 UTC by Perki Pat
Modified: 2006-07-05 10:08 UTC (History)
0 users

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


Attachments
Preprocessed source (cc1oc8nO.out,109.66 KB, text/plain)
2006-03-19 15:08 UTC, Perki Pat
Details
85_all_gcc-es-translation-ICE-workaround.patch (85_all_gcc-es-translation-ICE-workaround.patch,576 bytes, patch)
2006-04-15 15:43 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Perki Pat 2006-03-19 15:07:16 UTC
user@pc ~ $ make
gcc -c t2.c -Wall -g3 -pedantic
t2.c:19:44: aviso: "/*" within comment
t2.c:31:1: aviso: los comentarios de estilo C++ no se permiten en ISO C90
t2.c:31:1: aviso: (esto se reportar
Comment 1 Perki Pat 2006-03-19 15:07:16 UTC
user@pc ~ $ make
gcc -c t2.c -Wall -g3 -pedantic
t2.c:19:44: aviso: "/*" within comment
t2.c:31:1: aviso: los comentarios de estilo C++ no se permiten en ISO C90
t2.c:31:1: aviso: (esto se reportará solamente una vez por cada fichero de entrada)
t2.c: In function `main':

Error interno del compilador: Error al reportar rutinas reentradas.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/cc1oc8nO.out file, please attach this to your bugreport.
make: *** [t2.o] Error 1




When I remove the -pedantic flag or w/o removing it, when I do:

user@pc ~ $ LANGUAGE="en" make

I got no problem. Note that LANG="en" hasn't any effect




Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1
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=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/lib/mozilla/defaults/pref /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="-march=prescott -O2 -mtune=prescott -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LANG="es_ES@euro.UTF-8"
LC_ALL="es_ES@euro.UTF-8"
LINGUAS="es"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 3dfx X Xaw3dxanim aalib acl acpi adns alib alsa apache apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bonobo bzip2 bzlib c++ calendar caps cdda cddb cdparanoia cdr chroot cpdflib cpudetection cracklib cross crypt cscope css ctype cups curl curls curlwrappersdga directfb distribution divx4linux doc dri droproot dvb dvd dvdr dvdread dxr3 ecc ecode eds emacs emacs-w3 emboss encode escreen esd ethereal exif expat extensions fam fb fbcon ffmpeg fftw flac font-server foomaticdb fortran fping fpx ftp gcj gd gdbm gif gimpprint glut glx gmp gnome gnuplot gnutls gphoto2 gpm gps graphviz gs gssapi gstreamer gtk gtk2 gtkhtml hal high-ints howl idea idn imagemagick imlib ipv6 ithreads jabber java javacomm javascript jce jcs jikes jpeg kde kerberos krb4 latex lcms ldap leim libcaca libedit libg++ libgda libwww lingerd lirc lm_sensors lzw-tiff mad math matroska mbox mcal mem-cache memlimit mhash mikmod mime mmap mmx mmxext mng mono mozcalendar mozilla moznoirc moznomail mozp3p mozsvg mp3 mpc mpeg mpeg4 mpi mplayer mpm-leader mpm-metux mpm-peruser mpm-prefork mpm-threadpool mpm-worker msn mule multiprocess multislot mysql mysqli mythtv mzscheme nas native ncurses netbeans nfs nls nocardbus noimage nopie nossp nptl ntlm nvidia objc ogg oggvorbis openal opengl openntpd openssh pam pam_chroot pam_console pam_timestamp pcntl pcre pdflib perl php plotutils png posix private python qt quicktime quictime quotas rar readline real recode reiserfs rrdtool samba sasl sdl sftp sftplogging sharedext sharedmem simplexml slp smime snmp soap sockets socks5 softmmu speex spell spl sse sse2 sse3 ssl stats stencil-buffer subtitles svg svga svgz sysfs sysvipc szip tcpd tetex tga theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vhosts vim-pager vorbis win32codecs winbind wma123 wmf wxwindows x86 xchatdccserver xchattext xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc yahoo yaz zlib zvbi linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY

user@pc ~ $echo $LANGUAGE
es_ES@euro.UTF-8
Comment 2 Perki Pat 2006-03-19 15:08:00 UTC
Created attachment 82624 [details]
Preprocessed source
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-03-20 05:28:08 UTC
Please try with 3.4.5 and verify it for me.  I just tried it and it looks like it is still a problem.
Comment 4 Perki Pat 2006-03-20 14:31:18 UTC
Just the same. The same problem and the same solutions

I've checked out that
me@pc ~ $ LANGUAGE="es" make
also crashes like before

(In reply to comment #2)
> Please try with 3.4.5 and verify it for me.  I just tried it and it looks like
> it is still a problem.
> 

Comment 5 SpanKY gentoo-dev 2006-04-15 13:14:05 UTC
the good news is that gcc-4.1.0 works ... the bad news is that gcc-3.4.6 is broken
Comment 6 SpanKY gentoo-dev 2006-04-15 15:27:30 UTC
gcc-4.0.x works as well
Comment 7 SpanKY gentoo-dev 2006-04-15 15:43:19 UTC
Created attachment 84741 [details, diff]
85_all_gcc-es-translation-ICE-workaround.patch

this should fix the issue for gcc-3.4.[56]
Comment 8 SpanKY gentoo-dev 2006-04-15 15:56:32 UTC
ok, ive fixed up this translation and some others for 3.3.6/3.4.5/3.4.6 so next time there's a rev bump you'll get the fix ;)
Comment 9 SpanKY gentoo-dev 2006-06-11 18:10:37 UTC
*** Bug 136418 has been marked as a duplicate of this bug. ***
Comment 10 Victor Roman Archidona 2006-07-05 07:25:32 UTC
With GCC-3.4.6-r1 and 85_all_gcc-es-translation-ICE-workaround.patch applied the results are the same:

array.c: In function `array_print':

Error interno del compilador: Error al reportar rutinas reentradas.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/lib64/lighttpd\"" -I. -I. -I..   -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -march=k8 -O2 -pipe -Wall -W -Wshadow -pedantic -MT data_string.o -MD -MP -MF ".deps/data_string.Tpo" -c -o data_string.o data_string.c; \
then mv -f ".deps/data_string.Tpo" ".deps/data_string.Po"; else rm -f ".deps/data_string.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/lib64/lighttpd\"" -I. -I. -I..   -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -march=k8 -O2 -pipe -Wall -W -Wshadow -pedantic -MT data_count.o -MD -MP -MF ".deps/data_count.Tpo" -c -o data_count.o data_count.c; \
then mv -f ".deps/data_count.Tpo" ".deps/data_count.Po"; else rm -f ".deps/data_count.Tpo"; exit 1; fi
Preprocessed source stored into /var/tmp/portage/lighttpd-1.4.11/temp/ccNvUtQO.out file, please attach this to your bugreport.
make[2]: *** [array.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[2]: Leaving directory `/var/tmp/portage/lighttpd-1.4.11/work/lighttpd-1.4.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lighttpd-1.4.11/work/lighttpd-1.4.11'
make: *** [all] Error 2

!!! ERROR: www-servers/lighttpd-1.4.11 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  lighttpd-1.4.11.ebuild, line 132:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

INFO goes here:
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.15
dev-lang/python:     2.4.2
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo"
LANG="es_ES.utf8"
LC_ALL="es_ES.utf8"
LINGUAS="es"
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="/usr/local/overlays/qmr-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 apache2 avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gif gpm gstreamer imlib ipv6 isdnlog jpeg lzw lzw-tiff maildir mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode vhosts xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_es userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 11 SpanKY gentoo-dev 2006-07-05 10:08:44 UTC
search bugzilla again and you'll find Bug 138209