Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127190 - GCC "WARNING: converting of negative value" error with LANGUAGE=ca
Summary: GCC "WARNING: converting of negative value" error with LANGUAGE=ca
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL: http://gcc.gnu.org/ml/gcc-patches/200...
Whiteboard:
Keywords:
: 125626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-22 07:57 UTC by AnimAlf
Modified: 2006-04-06 07:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AnimAlf 2006-03-22 07:57:26 UTC
gcc-3.4.4-r1
for example with app-editors/nvu-1.0-r3 emerge
USE => -debug +gnome +ipv6 -moznoxft +truetype -xinerama -xprint

Step to Reproduce:
# LANGUAGE=ca emerge nvu
...
nsTableFrame.cpp: In member function `void BCCellBorder::Reset(PRUint32, PRUint32)':
nsTableFrame.cpp:5428: av
Comment 1 AnimAlf 2006-03-22 07:57:26 UTC
gcc-3.4.4-r1
for example with app-editors/nvu-1.0-r3 emerge
USE => -debug +gnome +ipv6 -moznoxft +truetype -xinerama -xprint

Step to Reproduce:
# LANGUAGE=ca emerge nvu
...
nsTableFrame.cpp: In member function `void BCCellBorder::Reset(PRUint32, PRUint32)':
nsTableFrame.cpp:5428: avís: converting de valor negatiu `
Error intern del compilador: Error al reportar rutines reentrades.
...

And if i emerge with LANGUAGE=es or "en" then no problem (olny [ca,es,en] locales in my system)
...
nsTableFrame.cpp: In member function `void BCCellBorder::Reset(PRUint32, PRUint32)':
nsTableFrame.cpp:5428: warning: converting of negative value `-0x00000000000000001' to `long unsigned int
...
And continue without problems

# emerge --info
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
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 /etc/conf.d /etc/rc.d /etc/wget /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://gentoo.gg3.net/"
LANG="ca_ES.utf8"
LC_ALL="ca_ES.utf8"
LINGUAS="ca es en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portageOVER"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl directfb dri dts dvd dvdr eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib java jpeg lcms ldap libcaca lzw lzw-tiff mad mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg openal opengl pam pcre pdflib perl png python quicktime readline samba scanner sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml xml2 xmms xpm xv xvid zlib linguas_ca linguas_es linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

bye
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2006-03-26 11:17:03 UTC
This seems to be a simple typo in ca.po. It's fixed with

--- gcc-3.4.6/gcc/po/ca.po
+++ gcc-3.4.6/gcc/po/ca.po
@@ -17340,7 +17340,7 @@
 
 #: cp/typeck.c:5684
 msgid "%s of negative value `%E' to `%T'"
-msgstr "%s de valor negatiu `%I' a \"%T\""
+msgstr "%s de valor negatiu `%E' a \"%T\""
 
 #: cp/typeck.c:5772
 msgid "cannot convert `%T' to `%T' for argument `%P' to `%D'"

There's not going to be a gcc 3.4.7, so maybe this should simply be added to the Gentoo patchset? (If this exists in 4.x too, though, it should of course also be reported upstream.)
Comment 3 SpanKY gentoo-dev 2006-03-28 19:44:47 UTC
ive sent the patch upstream and added to our 3.3.6/3.4.[456]/4.0.3/4.1.0 patchsets

thanks Harald
Comment 4 jordi bofill 2006-04-06 07:17:20 UTC
*** Bug 125626 has been marked as a duplicate of this bug. ***