[erlang-bugs] gcc bug triggered by compiling R14B02 (not an erlang bug per se)

Nico Kruber <>
Thu May 5 11:52:13 CEST 2011


On Thursday 05 May 2011 11:39:29 Nico Kruber wrote:
> On Thursday 28 April 2011 09:29:26 Mikael Pettersson wrote:
> > Matthias Lang writes:
> >  > Hi,
> >  > 
> >  > > I'm unable to reproduce this with either gcc-4.5.2 or
> >  > > gcc-4.5-20110421, both vanilla unpatched FSF sources, on an x86-64
> >  > > box running Fedora 13. Looks like a Debian bug to me.
> >  > 
> >  > Thanks, agree.
> >  > 
> >  > I glanced at Debian's patches, but they're 200k lines long. Did not
> >  > feel like digging through that to try and understand what they've
> >  > done. Feels like "report and forget" time.
> >  > 
> >  > Anything more than the rest of this mail I should send to Debian?
> >  > 
> >  > --------------------
> >  > 
> >  > gcc -v:  gcc version 4.5.2 (Debian 4.5.2-11)
> > 
> > This bit looks incomplete.  'gcc -v' normally includes a list of
> > configuration options, that sometimes do matter.  Of course, Debian
> > should know what "4.5.2-11" means exactly, so it may not matter.
> > It would matter for bug reports to FSF GCC.
> > 
> > Apart from that, the bug report looks complete.
> > 
> >  > 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
> >  > 
> >  > 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.
> >  > 
> >  > MD5: 616c74a08f57cb9263a9af62d845fb19  preprocessed.i
> >  > 
> >  > Problem does not occur with "gcc version 4.4.5 (Debian 4.4.5-15)"
> >  > 
> >  > Can't find a similar problem at bugs.debian.org.
> >  > Similar problem: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48000
> >  > 
> >  > Matt
> 
> This is not only a Debian problem. Happens on openSUSE Factory, too - but
> only on x86_64 - see
> https://build.opensuse.org/package/rawlog?arch=x86_64&package=erlang&proje
> ct=home%3Atschuett&repository=openSUSE_Factory
> 
> This error did not occur with R14B01

I need to correct this - apparently, the same error occurs in R14B
but there, it happens on both, i586 and x86_64! see:
https://build.opensuse.org/package/rawlog?arch=i586&package=erlang&project=devel%3Alanguages%3Aerlang&repository=openSUSE_Factory
https://build.opensuse.org/package/rawlog?arch=x86_64&package=erlang&project=devel%3Alanguages%3Aerlang&repository=openSUSE_Factory

> Does the error still occur with the GCC patch from
> the bug report you mentioned?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110505/ed4f7061/attachment.bin>


More information about the erlang-bugs mailing list