develooper Front page | perl.perl5.porters | Postings from September 2012

5.16.1 with -D usemorebits segfaulting on Darwin

From:
Rafael Kitover
Date:
September 8, 2012 08:46
Subject:
5.16.1 with -D usemorebits segfaulting on Darwin
Message ID:
8D651B0FF8B642B8BD85988D7B0E3D84@gmail.com
Hello p5p, 

I was recently installing a perl with perlbrew on my mac mini, I used this command:

perlbrew install -n -j 5 perl-5.16.1 -A cc=gcc -D DEBUGGING=both -D optimize='-ggdb3' -D usemorebits -D usethreads

After compiling, the perl would segfault for some things, for e.g. running cpan.

Here is a backtrace:

https://gist.github.com/3673556

I asked on the #p5p irc channel and was pointed to:

http://www.nntp.perl.org/group/perl.perl5.porters/2012/08/msg191384.html

and I was told to try 588c1107 on maint.

I checked out maint-5.16 and cherry-picked that commit, it applied with no conflicts except the sha in uconfig.h.

The resulting perl worked perfectly, and failed only two tests:

t/porting/regen ............................................... # Failed test 6 - generated uconfig.h is up to date at porting/regen.t line 44
# got "config_h.SH"
# expected ""
FAILED at test 6



that one because I had the wrong aha in uconfig.h

and this one (for which I have no clue:)

lib/perl5db ................................................... # Failed test 10 - [perl \#104168] at ../lib/perl5db.t line 229
# got ''
# expected /(?^:level 2)/
FAILED at test 10







nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About