Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50202 - centericq 4.9.12 internal g++ bug with gcc 3.3.2
Summary: centericq 4.9.12 internal g++ bug with gcc 3.3.2
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: 2004-05-06 03:52 UTC by Martin Zwickel
Modified: 2004-05-07 00:14 UTC (History)
0 users

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 Martin Zwickel 2004-05-06 03:52:46 UTC
the output:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libicq2000    -march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -c DirectClient.cpp
DirectClient.cpp: In member function `void ICQ2000::DirectClient::Parse()':
DirectClient.cpp:165: warning: comparison is always false due to limited range 
   of data type
g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:49205: Error: undefined symbol `.LLSDACSE5762' in operation
make[5]: *** [Client.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/work2/tmp/portage/centericq-4.9.12/work/centericq-4.9.12/libicq2000-0.1/src'

!!! ERROR: net-im/centericq-4.9.12 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! Compilation failed

[root@phoebee](0):~
# gcc --version
gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Reproducible: Didn't try
Steps to Reproduce:
1. emerge -U centericq


Actual Results:  
compile errors

Expected Results:  
compile cleanly

# emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1-mm1)
=================================================================
System uname: 2.6.6-rc1-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://localhost"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bonobo crypt encode foomaticdb gdbm gif gnome
gpm gtk gtk2 gtkhtml guile imlib java jpeg ldap libg++ libwww mad mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell sse ssl tcltk tcpd tetex truetype x86 xml2
xmms xv zlib"
Comment 1 Alex Veber (RETIRED) gentoo-dev 2004-05-06 07:29:18 UTC
Can you please try with only "-march=pentium3 -O3 -pipe -fomit-frame-pointer" in your C[XX]FLAGS ?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-05-06 22:25:17 UTC
agreed.  I'd go further and say start with CXXFLAGS="-pipe" and add flags until
it fails.  reopen when you have more info please.
Comment 3 Martin Zwickel 2004-05-07 00:14:42 UTC
I tried without optional CFLAGS and with the standard ones(-march=pentium3 -O3 -pipe -fomit-frame-pointer) and it worked both times.

So must be one of my additional flags, but I don't have the time to test all combinations...