Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29005

Summary: internal compiler error gcc-3.3.1-r1 compiling arts-1.1.4
Product: Gentoo Linux Reporter: Axel Reimann <axel.privat>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: major CC: farcepest
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: preprocessed source

Description Axel Reimann 2003-09-17 13:54:07 UTC
mcopidl.cc: In function `std::string
   dispatchFunctionName(std::basic_string<char, std::char_traits<char>,
   std::allocator<char> >, long int)':
mcopidl.cc:1153: internal compiler error: in cp_expr_size, at cp/cp-lang.c:312



Reproducible: Always
Steps to Reproduce:
emerge arts

Actual Results:  
internal compiler error occured

Expected Results:  
compile and link application

Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.21_pre7-gss)
=================================================================
System uname: 2.4.21_pre7-gss i686 AMD Athlon(tm) XP 1800+
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang 
readline arts tetex aalib nas svga tcltk java guile ruby X sdl gpm tcpd pam libwww ssl perl 
python esd imlib oggvorbis gtk qt kde motif opengl gphoto2 ldap snmp cdr scanner aavm acl 
acpi acpi4linux apache2 cjk dga dvd gps gtk2 icc icc-pgo imap ipv6 lcms maildir mbox md5sum 
mozilla mule oci8 odbc pda pic plotutils sasl slp sse tiff trusted type1 usb v4l videos wmf 
xml xosd xvid"
Comment 1 Axel Reimann 2003-09-17 14:00:29 UTC
Created attachment 17915 [details]
preprocessed source
Comment 2 Axel Reimann 2003-09-17 14:29:32 UTC
I have found the CFLAG -fstack-protector to trigger the 
internal compiler error.
Without this flag, keeping the entire remaining setting 
as is, the emerge process finishes flawlessly.
Therefore, I've reduced the severity from 'blocker' to
'major'.
Comment 3 Andy Dustman 2003-09-17 14:57:18 UTC
I think this is the same as bug #28728. Same error, and using 
-fstack-protector, but on Mozilla. Two C++ programs, coincidence? 
Comment 4 Axel Reimann 2003-09-18 04:52:55 UTC
I didn't have mozilla emerged, but I thought
it worth trying how the stack protection 
influences the mozilla build. It turns out
that the same effect is observed for both
builds (mozilla and arts), as I added to 
bug report #28728.
Comment 5 Markus Nigbur (RETIRED) gentoo-dev 2003-09-23 06:30:31 UTC

*** This bug has been marked as a duplicate of 28728 ***