Subject: | Debugging is automatically (sometimes forcibly) selected in old perls |
Date: | Tue, 12 Jul 2016 14:51:57 -0400 |
To: | bug-App-perlbrew [...] rt.cpan.org |
From: | Dan Collins <dcollinsn [...] gmail.com> |
Hello,
Using perlbrew's install-multiple command to install every released perl
version results in some odd behavior. I am using the flags:
-j 4 -n --noman --both thread --both ld -Doptimize='-O3 -g' -Dcc='ccache
gcc-6'
With this configuration, versions of perl less than or equal to 5.13.9 are
built with an undisclosed -DDEBUGGING.
Using -UDEBUGGING on the perlbrew command line allows a non-debugging
5.13.9 to be installed, but 5.6.0 is still debugging. perl5.6.0 -V shows
that -UDEBUGGING was passed to configure, but -DDEBUGGING was passed to gcc.
Notably, this perl is installed as 5.13.9, not 5.13.9-debug.
Presumably, running --both debug would install two debugging perls.
This is surprising and inconvenient. I'll let you know exactly where
-DDEBUGGING moves from mandatory to default once this run finishes.
Thanks,
Dan Collins