Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124652 - ICE emerging sys-power/iasl with locale other than C
Summary: ICE emerging sys-power/iasl with locale other than C
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 08:16 UTC by Raúl Casado
Modified: 2006-03-02 10:46 UTC (History)
0 users

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


Attachments
This file is referenced in the emerge output (ccuNtJHI.out,169.73 KB, text/plain)
2006-03-02 08:17 UTC, Raúl Casado
Details
Output produced when emerging iasl (3329-iasl-20060127.log,87.99 KB, text/plain)
2006-03-02 08:18 UTC, Raúl Casado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Casado 2006-03-02 08:16:01 UTC
Trying to emerge iasl I get an error
Comment 1 Raúl Casado 2006-03-02 08:17:35 UTC
Created attachment 81111 [details]
This file is referenced in the emerge output 

The content of this file is recommended to be attached to the bug
Comment 2 Raúl Casado 2006-03-02 08:18:47 UTC
Created attachment 81112 [details]
Output produced when emerging iasl
Comment 3 Raúl Casado 2006-03-02 08:19:34 UTC
Portage 2.1_pre5-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -msse2 -msse -mmmx -mfpmath=sse -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -msse2 -msse -mmmx -mfpmath=sse -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linuv.uv.es/mirror/gentoo/"
LANG="es_ES@euro"
LINGUAS="en en_GB es es_ES"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx mng motif mozsvg mp3 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl svg svgz tcpd tiff truetype truetype-fonts type1-fonts vorbis wmf xine xinerama xml xml2 xmms xv zlib elibc_glibc kernel_linux linguas_en linguas_en_GB linguas_es linguas_es_ES userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-02 08:27:08 UTC
Uhm, I don't speak much Spanish (set your locales to C when reporting bugs), but internal compiler error is generally not application's fault. Is this reproducible (does it fail again at *exactly* the same place)? 
Comment 5 Raúl Casado 2006-03-02 08:31:18 UTC
It happens every time I try to emerge iasl.

By the way, how do I 'set my locales to C when reporting bugs'?
Comment 6 Raúl Casado 2006-03-02 10:10:22 UTC
(In reply to comment #5)
> It happens every time I try to emerge iasl.
> 
> By the way, how do I 'set my locales to C when reporting bugs'?
> 

OK!, I have no idea why but I did:
# locale
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

# export LC_ALL=CLANG=
# export LANG=C
# locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

so I did
# emerge iasl

...and everything works like a charm!

Why?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-03-02 10:13:18 UTC
(In reply to comment #6)
> ...and everything works like a charm!
> 
> Why?

Hmmm :) Can you reproduce the issue again when you switch your locales back to  es_ES?
Comment 8 Raúl Casado 2006-03-02 10:25:07 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > ...and everything works like a charm!
> > 
> > Why?
> 
> Hmmm :) Can you reproduce the issue again when you switch your locales back to 
> es_ES?
> 

OK!

Step 1
# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


Step 2
# emerge iasl
(I got the error reported)
...i686-pc-linux-gnu-gcc -march=pentium-m -msse2 -msse -mmmx -mfpmath=sse -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -Wall -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../include    -c -o ../../tables/tbrsdt.acpiexec.o ../../tables/tbrsdt.c
abcompare.c:136: aviso: `AcpiGbl_DebugFile' inicializado y declarado como `extern'
abcompare.c:137: aviso: `AcpiGbl_DbOutputFlags' inicializado y declarado como `extern'
abcompare.c: In function `AbDisplayHeader':
abcompare.c:317: aviso: se us
Comment 9 Raúl Casado 2006-03-02 10:25:07 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > ...and everything works like a charm!
> > 
> > Why?
> 
> Hmmm :) Can you reproduce the issue again when you switch your locales back to 
> es_ES?
> 

OK!

Step 1
# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


Step 2
# emerge iasl
(I got the error reported)
...i686-pc-linux-gnu-gcc -march=pentium-m -msse2 -msse -mmmx -mfpmath=sse -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -Wall -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../include    -c -o ../../tables/tbrsdt.acpiexec.o ../../tables/tbrsdt.c
abcompare.c:136: aviso: `AcpiGbl_DebugFile' inicializado y declarado como `extern'
abcompare.c:137: aviso: `AcpiGbl_DbOutputFlags' inicializado y declarado como `extern'
abcompare.c: In function `AbDisplayHeader':
abcompare.c:317: aviso: se usó
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 /var/tmp/portage/iasl-20060127/temp/ccoTWMIB.out file, please attach this to your bugreport.
make[1]: *** [abcompare.acpibinsrc.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/iasl-20060127/work/acpica-unix-20060127/tools/acpibin'
make: *** [tools/acpibin/acpibin] Error 2
make: *** Se espera a que terminen otras tareas....
...

(the translations ... more o less accurate)
i686-pc-linux-gnu-gcc -march=pentium-m -msse2 -msse -mmmx -mfpmath=sse -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -Wall -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../include    -c -o ../../tables/tbrsdt.acpiexec.o ../../tables/tbrsdt.c
abcompare.c:136: warning: `AcpiGbl_DebugFile' initializated and declared as `extern'
abcompare.c:137: aviso: `AcpiGbl_DbOutputFlags' initializated and declared as `extern'
abcompare.c: In function `AbDisplayHeader':
abcompare.c:317: warning: was used
Internal compiler error: Error when reporting feedback routines.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/iasl-20060127/temp/ccoTWMIB.out file, please attach this to your bugreport.
make[1]: *** [abcompare.acpibinsrc.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/iasl-20060127/work/acpica-unix-20060127/tools/acpibin'
make: *** [tools/acpibin/acpibin] Error 2
make: *** Waiting for other tasks to end....

Step 3
# export LC_ALL=C; export LANG=C; locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

Step 4
# emerge iasl
... and everything works fine!
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-03-02 10:37:33 UTC
Please, also try w/ some saner C[XX]FLAGS, like "-march=pentium-m -pipe -O2 -fomit-frame-pointer". If it still fails, attach the preprocessed source here and reopen.
Comment 11 Raúl Casado 2006-03-02 10:46:53 UTC
(In reply to comment #9)
> Please, also try w/ some saner C[XX]FLAGS, like "-march=pentium-m -pipe -O2
> -fomit-frame-pointer". If it still fails, attach the preprocessed source here
> and reopen.
> 

Step 1
# nano -w /etc/make.conf

Step 2
# emerge --info
Portage 2.1_pre5-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linuv.uv.es/mirror/gentoo/"
LANG="es_ES@euro"
LINGUAS="en en_GB es es_ES"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx mng motif mozsvg mp3 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl svg svgz tcpd tiff truetype truetype-fonts type1-fonts vorbis wmf xine xinerama xml xml2 xmms xv zlib elibc_glibc kernel_linux linguas_en linguas_en_GB linguas_es linguas_es_ES userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS

Step 3
# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Step 4
# emerge iasl
... Same error as before

Step 5
# export LC_ALL=C; export LANG=C; locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

Step 6
# emerge iasl
Everything compiles fine!