Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29593 - ICE's with gcc-3.3.1-r3 on a lot of packages
Summary: ICE's with gcc-3.3.1-r3 on a lot of packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High critical
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-25 10:06 UTC by Lisa Seelye (RETIRED)
Modified: 2003-10-02 02:49 UTC (History)
1 user (show)

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


Attachments
Mozilla file (mozilla.cc41X1BC.out,1.03 MB, application/octet-stream)
2003-09-25 10:08 UTC, Lisa Seelye (RETIRED)
Details
Par file (par.ccPbxbW7.out,946.54 KB, application/octet-stream)
2003-09-25 10:09 UTC, Lisa Seelye (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lisa Seelye (RETIRED) gentoo-dev 2003-09-25 10:06:37 UTC
Here is from app-arch/par-2.0.3:


if g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -march=i686  -pipe -MT diskfile.o -MD -MP -MF ".deps/diskfile.Tpo" \
  -c -o diskfile.o `test -f 'diskfile.cpp' || echo './'`diskfile.cpp; \
then mv -f ".deps/diskfile.Tpo" ".deps/diskfile.Po"; \
else rm -f ".deps/diskfile.Tpo"; exit 1; \
fi
diskfile.cpp: In static member function `static std::string 
   DiskFile::GetCanonicalPathname(std::basic_string<char, 
   std::char_traits<char>, std::allocator<char> >)':
diskfile.cpp:607: internal compiler error: in cp_expr_size, at cp/cp-lang.c:312
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/par-2.0.3/temp/ccPbxbW7.out file, please attach this to your bugreport


====Mozilla====
g++ -o nsPluginHostImpl.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"  -I../../../../dist/include/xpcom -I../../../../dist/include/xpconnect -I../../../../dist/include/string -I../../../../dist/include/java -I../../../../dist/include/pref -I../../../../dist/include/necko -I../../../../dist/include/gtkxtbin -I../../../../dist/include/webshell -I../../../../dist/include/caps -I../../../../dist/include/intl -I../../../../dist/include/uconv -I../../../../dist/include/unicharutil -I../../../../dist/include/dom -I../../../../dist/include/gfx -I../../../../dist/include/content -I../../../../dist/include/widget -I../../../../dist/include/mimetype -I../../../../dist/include/oji -I../../../../dist/include/exthandler -I../../../../dist/include/docshell -I../../../../dist/include/webbrwsr -I../../../../dist/include/windowwatcher -I../../../../dist/include/imglib2 -I../../../../dist/include/layout -I../../../../dist/include/js -I../../../../dist/include/xlibxtbin -I../../../../dist/include/xlibrgb -I../../../../dist/include/plugin -I../../../../dist/include -I/var/tmp/portage/mozilla-1.4-r4/work/mozilla/dist/include/nspr      -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=i686 -pipe -s -fforce-addr -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DDEPENDENT_LIBS="\"libxpcom.so\", \"libplds4.so\", \"libplc4.so\", \"libnspr4.so\", \"libpthread.so\", \"libdl.so\", \"libgtkxtbin.so\", \"libgtksuperwin.so\", \"libXt.so\", \"libgtk.so\", \"libgdk.so\", \"libgmodule.so\", \"libglib.so\", \"libdl.so\", \"libXi.so\", \"libXext.so\", \"libX11.so\", \"libm.so\"," -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsPluginHostImpl.pp nsPluginHostImpl.cpp
nsPluginHostImpl.cpp: In member function `nsresult 
   nsPluginHostImpl::AddInstanceToActiveList(nsCOMPtr<nsIPlugin>, 
   nsIPluginInstance*, nsIURI*, int, nsIPluginInstancePeer*)':
nsPluginHostImpl.cpp:3646: internal compiler error: in cp_expr_size, at 
   cp/cp-lang.c:312
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/mozilla-1.4-r4/temp/cc41X1BC.out file, please attach this to your bugreport


====emerge info====
Portage 2.0.49-r6 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r4, 2.4.21-pfeifer-r1_pre4)
=================================================================
System uname: 2.4.21-pfeifer-r1_pre4 i686 AMD Athlon(tm) Processor
distcc 2.11 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686  -pipe"
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="-march=i686  -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox usersandbox cvs ccache distcc userpriv"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.noved.org/ ftp://gentoo.noved.org/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="cvs://lisa@cvs.gentoo.org:/home/cvsroot"
USE="x86 oss apm foomaticdb libg++ mad mikmod nls pdflib quicktime gtkhtml gdbm berkdb slang readline tetex bonobo guile sdl gpm libwww ssl python imlib motif -arts 3dnow aalib acl avi cdr crypt cups curl dga directfb doc dvd encode alsa -esd ethereal evo flash freetds gd gif gnome gphoto2 gtk ipv6 jpeg -kde -java lcms maildir mbox memlimit mmx mpeg -mozilla mysql ncurses oggvorbis opengl pam pda -pcmcia perl png qt samba sasl spell svga truetype tcpd tcltk X xml xml2 xmms xv zlib ldap"

==== 
Both compiles were started with:
CCACHE_DISABLE='1' MAKEOPTS='-j1' emerge ...

to force ccache off and to force compilation to localhost.
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2003-09-25 10:08:03 UTC
Created attachment 18323 [details]
Mozilla file
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-09-25 10:09:06 UTC
Created attachment 18324 [details]
Par file
Comment 3 Luca Barbato gentoo-dev 2003-09-25 17:21:12 UTC
currently present in the gcc bugzilla as 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11295
at the end of the bug there are the patches
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-27 03:50:36 UTC
Works here:

---------------------------
nosferatu gcc-3.3.1 # CFLAGS="-march=i686  -pipe" CXXFLAGS="-march=i686 
-pipe" emerge par
Calculating dependencies ...done!
>>> emerge (1 of 1) app-arch/par-1.1 to /
>>> md5 src_uri ;-) par-v1.1.tar.gz
>>> Unpacking source...
>>> Unpacking par-v1.1.tar.gz to /space/var/tmp/portage/par-1.1/work
>>> Source unpacked.
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o backend.o backend.c
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o checkpar.o checkpar.c
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o makepar.o makepar.c
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o rwpar.o rwpar.c
backend.c: In function `hfile_add':
backend.c:104: warning: unused variable `i'
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o rs.o rs.c
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o md5.o md5.c
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o fileops.o fileops.c
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o main.o main.c
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o readoldpar.o readoldpar.c
fileops.c: In function `read_dir':
fileops.c:285: warning: unused variable `dp'
fileops.c:285: warning: unused variable `ds'
backend.c: In function `find_best_sub':
backend.c:775: warning: unused variable `str'
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o interface.o interface.c
readoldpar.c:41: warning: `read_u32' defined but not used
gcc -Wall -march=pentium4 -O2 -pipe -fprefetch-loop-arrays -floop-optimize
-funroll-loops   -c -o ui_text.o ui_text.c
gcc -o par backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o
readoldpar.o interface.o ui_text.o
 
>>> Install par-1.1 into /space/var/tmp/portage/par-1.1/image/ category app-arch
man:
prepallstrip:
strip:
strip:
   usr/bin/par
>>> Completed installing into /space/var/tmp/portage/par-1.1/image/
 
>>> Merging app-arch/par-1.1 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/par-1.1/
>>> /usr/share/doc/par-1.1/rs.doc.gz
>>> /usr/share/doc/par-1.1/AUTHORS.gz
>>> /usr/share/doc/par-1.1/COPYING.gz
>>> /usr/share/doc/par-1.1/NEWS.gz
>>> /usr/share/doc/par-1.1/README.gz
--- /usr/bin/
>>> /usr/bin/par
 
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/par-1.1/rs.doc.gz
--- !mtime obj /usr/share/doc/par-1.1/README.gz
--- !mtime obj /usr/share/doc/par-1.1/NEWS.gz
--- !mtime obj /usr/share/doc/par-1.1/COPYING.gz
--- !mtime obj /usr/share/doc/par-1.1/AUTHORS.gz
--- !mtime obj /usr/bin/par
--- !empty dir /usr/share/doc/par-1.1
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/bin
--- !empty dir /usr
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...                                      
                                              [ ok ]>>> app-arch/par-1.1
merged.
 
>>> clean: No packages selected for removal.
 
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...                                      
                                              [ ok ]>>> Auto-cleaning packages
...
 
>>> No outdated packages were found on your system.
 
 
 * GNU info directory index is up-to-date.
 
nosferatu gcc-3.3.1 #
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-27 04:03:51 UTC
Please try again but disable hardened-gcc beforehand.

Comment 6 Lisa Seelye (RETIRED) gentoo-dev 2003-09-27 08:32:00 UTC
works without hardened gcc.
Comment 7 Joshua Kinard gentoo-dev 2003-09-27 14:00:23 UTC
app-arch/par also fails with -fstack-protector.  This is the likely culprit
(since hardened-gcc also enables stack-protection).  Looks like a filter-flags
will be needed for this ebuild.  Removing -fstack-protector allows it to
build.
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2003-10-01 11:11:25 UTC
This is fixed with the most recent hgcc (2.4.0) and can be closed.
Comment 9 Joshua Kinard gentoo-dev 2003-10-02 02:49:25 UTC
Resolving as FIXED as per Comment #8.