Hi,

I ran into an "internal compiler error" when compiling with gcc on 
Debian testing, as it was yesterday.

how to reproduce:

   cd /tmp
   wget www.corelatus.se/~matthias/preprocessed.i
   gcc -O3 -c preprocessed.i

here's what it looks like on my machine:

  >   gcc -O3 -c preprocessed.i
  beam/dist.c: In function ‘erts_do_net_exits’:
  beam/dist.c:501:1: internal compiler error: in dfs_enumerate_from, at cfganal.
+c:1207
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.5.2-11' 
--with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.5 --enable-shared --enable-multiarch 
--with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default 
--with-plugin-ld=ld.gold --enable-objc-gc --with-arch-32=i586 
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Debian 4.5.2-11) 

uname -a: Linux contorpis.corelatus.se 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07
+UTC 2011 x86_64 GNU/Linux

MD5: 616c74a08f57cb9263a9af62d845fb19  preprocessed.i

Problem does not occur with "gcc version 4.4.5 (Debian 4.4.5-15)", so
for me the easiest solution was to just use gcc-4.4.

Can't find a similar problem at bugs.debian.org.
Similar problem: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48000

I have a report (second message in link) of someone unable to
reproduce it using unpatched FSF sources:

   
http://erlang.2086793.n4.nabble.com/gcc-bug-triggered-by-compiling-R14B02-not-an-erlang-bug-per-se-td3479282.html

so this (debian-gcc) seemed the best place to report it.

Matt

----------------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110428080102.ga21...@corelatus.se

Reply via email to