#332629 perl-debug: incorect $Config::Config{usemymalloc} value.

Package:
perl-debug
Source:
perl
Description:
debug-enabled Perl interpreter
Submitter:
Andrew Shirrayev
Date:
2011-12-19 20:21:06 UTC
Severity:
minor
#332629#5
Date:
2005-10-07 11:10:40 UTC
From:
To:
*** Please type your report below this line ***

Get "usemymalloc" from Config.

$debugperl -MConfig -le 'print "usemymalloc is ".$Config::Config{usemymalloc}'
usemymalloc is n

Review debian perl source:

$ grep -A6 debugperl perl-5.8.4/debian/config.debian
    --debug) # debugperl
        build_type=debug
        optimize=-g
        ccflags="$ccflags -DPERL_DEBUGGING_MSTATS"
        opts="-Dusemymalloc -Uuseshrplib";;

#332629#10
Date:
2005-10-08 01:50:41 UTC
From:
To:
This is a side-effect of there being only one Config.pm shipped which is
used by both perl and debugperl:

  $ perl -MConfig -le 'print $INC{"Config.pm"}'
  /usr/lib/perl/5.8/Config.pm
  $ debugperl -MConfig -le 'print $INC{"Config.pm"}'
  /usr/lib/perl/5.8/Config.pm

Potentially confusing perhaps, but is this actually causing you a
problem?

#332629#17
Date:
2011-12-19 20:16:58 UTC
From:
To:
I just ran into this bug when I tried to run the Apache Lucy valgrind
tests. The test suite checks ccflags for -DDEBUGGING which fails with
debugperl. So this does cause at least minor problems for developers but
I understand that a fix would not be trivial.