- Package:
- perl-debug
- Source:
- perl
- Description:
- debug-enabled Perl interpreter
- Submitter:
- Andrew Shirrayev
- Date:
- 2011-12-19 20:21:06 UTC
- Severity:
- minor
*** 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";;
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?
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.