Summary: | Internal GCC error while emerging openssh- 3.8.1_p1-r1 and LANG="es_MX" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CFuga <cfuga> |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | ||
Priority: | High | ||
Version: | 2004.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The preprocessed source referenced by the error message |
Description
CFuga
2004-06-28 18:38:30 UTC
I'm one of the translators of GCC, and I set the environment variable LANG for testing purposes. I always emerge with no problem, until now. When I emerge openssh, it causes an internal compiler error. Reproducible: Always Steps to Reproduce: 1. export LANG="es_MX" 2. emerge openssh Actual Results: Internal compiler error Expected Results: Compile openssh Error message: gcc -march=pentium3 -O3 -pipe -fprefetch-loop-arrays -fomit-frame-pointer -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -I/usr/include -DSSHDIR=\"/etc/ssh\" -DSSHCADIR=\"/etc/ssh/ca\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c session.c session.c: En la función `do_setusercontext': session.c:1301: aviso: se usó Error interno del compilador: Error al reportar rutinas reentradas. Por favor envíe un reporte completo de `bugs', con el código preprocesado si es apropiado. Vea <URL:http://bugs.gentoo.org/> para más instrucciones. Preprocessed source stored into /var/tmp/portage/openssh-3.8.1_p1-r1/temp/ccu53XIY.out file, please attach this to your bugreport. # emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-gentoo-r3) ================================================================= System uname: 2.4.26-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://128.213.5.34/gentoo/ http://www.ibiblio.org/gentoo http://gentoo.oregonstate.edu/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X X509 aalib acl acpi alsa avi berkdb caps cdr chroot crypt cscope cups curl dga directfb distribution dvd encode esd evo f77 faad fbcon flac flash foomaticdb freetds gcj gd gdbm gif gimpprint gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb ipv6 jack java javascript jbig joystick jpeg kerberos krb4 lcms ldap libg++ libwww mad mbox mcal mikmod milter mmap mmx mng motif mozilla mpeg mssql mysql ncurses net nls oav objc oggvorbis opengl oss pam pda pdflib perl pic plotutils png postgres ppds prelude python qt quicktime readline samba sasl scanner sdl slang slp snmp speex spell sse sse2 ssl tcltk tcpd tetex theora tiff truetype usb v4l v4l2 video_cards_nvidia vim-with-x virus-scan wmf x86 xchattext xfs xinerama xml xml2 xmms xv zlib" # gcc --version gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) Copyright (C) 2003 Free Software Foundation, Inc. Esto es software libre; vea el código para las condiciones de copia. NO hay garantía; ni siquiera para MERCANTIBILIDAD o IDONEIDAD PARA UN PROPÓSITO EN PARTICULAR # ldd --version ldd (GNU libc) 2.3.3 Copyright (C) 2004 Free Software Foundation, Inc. Esto es software libre; vea el código fuente para las condiciones de copia. No hay NINGUNA garantía; ni siquiera de COMERCIABILIDAD o IDONEIDAD PARA UN FIN DETERMINADO. Written by Roland McGrath and Ulrich Drepper. - I've tried with other LANG values (es, fr, fr_CA), and it just happens with es_MX. - It's not a ccache bug. It happens with or without it. Created attachment 34375 [details]
The preprocessed source referenced by the error message
this bug doesnt occur with gcc 3.4... any gcc 3.3.x experts care to comment? I had the same problem with 3.9_p1-r1 because of a % s intead of %s, so the solution is as simple as sed -i "s/% /%/" session.c I can reproduce it with spanish locales but not with C ones. there is no '% ' in session.c ... try a newer version of gcc I get the same error with LANG=es_ES@euro |