|
Hi,
This is not an Erlang bug, but rather a gcc bug tripped by building Erlang. Building R14B02 on an x86-64 machine with gcc 4.5.2 (Debian "testing") fails partway through with: 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. This looks like GCC bugs 48000 and 48060, though I'm not sure if they apply to 4.5.2 or only to 4.6: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48000 I worked around it by using gcc 4.4 instead. Matt _______________________________________________ erlang-bugs mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-bugs |
|
Matthias Lang writes:
> Hi, > > This is not an Erlang bug, but rather a gcc bug tripped by building Erlang. > > Building R14B02 on an x86-64 machine with gcc 4.5.2 (Debian "testing") > fails partway through with: > > 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. 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. _______________________________________________ erlang-bugs mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-bugs |
|
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) 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 _______________________________________________ erlang-bugs mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-bugs |
|
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 > _______________________________________________ erlang-bugs mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-bugs |
|
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 https://build.opensuse.org/package/rawlog?arch=x86_64&package=erlang&project=home%3Atschuett&repository=openSUSE_Factory This error did not occur with R14B01 - but the GCC packages might have been different back then. Does the error still occur with the GCC patch from the bug report you mentioned? Nico _______________________________________________ erlang-bugs mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-bugs |
|
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 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? _______________________________________________ erlang-bugs mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-bugs |
|
In reply to this post by Nico Kruber
On Thursday, May 05, Nico Kruber wrote:
> This error did not occur with R14B01 - but the GCC packages might > have been different back then. > Does the error still occur with the GCC patch from the bug report you mentioned? I didn't try. I solved my immediate problem by going back to gcc-4.4. I just checked the thread on the debian gcc bugs list where I reported the problem along with the example to reproduce it. Crickets there. Matt _______________________________________________ erlang-bugs mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-bugs |
| Powered by Nabble | Edit this page |
