in reply to Re^2: Perl segfaults: Why?
in thread Perl segfaults: Why?

After digging some more, I think this is a compiler problem, not a Perl problem.

Replies are listed 'Best First'.
Re^4: Perl segfaults: Why?
by FunkyMonk (Chancellor) on Sep 15, 2009 at 21:31 UTC
    These are the gcc versions from my previous tests:

    $ perl -V:gccversion # segfaults gccversion='4.3.4'; $ perl5.8.9 -V:gccversion # OK gccversion='4.3.3'; $ perl5.10.0 -V:gccversion # segfaults gccversion='4.3.4'; $ perl5.10.1 -V:gccversion # segfaults gccversion='4.3.4';

    I don't have access to gcc-4.3.3 any more, so here's the only test I can try:

    $ ./perl -Ilib -V:gccversion gccversion='4.3.4'; $ ./perl y.pl #!/usr/bin/perl 16-1

    5.8.9 still works :-(

Re^4: Perl segfaults: Why?
by Burak (Chaplain) on Sep 15, 2009 at 21:27 UTC
    Yes it seems you're right since I don't get any crash with ActivePerl 5.10.0.1004 & perl 5.8.8 on linux