Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335213 - <dev-lang/perl-5.12.1-r2: -g in CFLAGS adds perl internal debugging code
Summary: <dev-lang/perl-5.12.1-r2: -g in CFLAGS adds perl internal debugging code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 329339 343049 343405 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-30 11:02 UTC by Torsten Veller (RETIRED)
Modified: 2014-01-19 19:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2010-08-30 11:02:22 UTC
A "*-g*" in CFLAGS (and no DEBUGGING setting) results in a perl built with -DDEBUGGING in CFLAGS ("internal debugging code","bigger and will run more slowly").

This is fixed in perl-5.12.1-r2. The additional debugging code will only be added if USE=debug is set.

Problem:
========
Modules built for    perl-5.12.1-r1 with -g in CFLAGS and USE=-debug
will *not* work with perl-5.12.1-r2 with -g in CFLAGS and USE=-debug 


Solution:
=========
You have to uninstall perl-core/File-Spec (if installed) run perl-cleaner:

  emerge -C perl-core/File-Spec && emerge -1 perl-core/File-Spec
  perl-cleaner --modules ; perl-cleaner --force --libperl
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-08-30 11:03:01 UTC
*** Bug 329339 has been marked as a duplicate of this bug. ***
Comment 2 Patrick Lauer gentoo-dev 2010-08-30 13:03:26 UTC
[ebuild   R   ] dev-lang/perl-5.12.1-r2  USE="berkdb gdbm ithreads -build -debug -doc" 0 kB

#  perl -V:ccflags | grep DEBUGGING
# 

seems to be working well here. 
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2010-08-31 07:29:21 UTC
(In reply to comment #0)
> Solution:
> =========
> You have to uninstall perl-core/File-Spec (if installed) run perl-cleaner:
> 
>   emerge -C perl-core/File-Spec && emerge -1 perl-core/File-Spec
>   perl-cleaner --modules ; perl-cleaner --force --libperl

Should be:
    perl-cleaner --allmodules ; perl-cleaner --force --libperl
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2010-10-31 08:11:47 UTC
*** Bug 343405 has been marked as a duplicate of this bug. ***
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2010-11-03 20:24:27 UTC
*** Bug 343049 has been marked as a duplicate of this bug. ***
Comment 6 Martini peres 2012-03-05 12:08:29 UTC
This comment has been removed because it contained spam. -- idl0r
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-01-19 19:53:06 UTC
There is no packages who still have this bug.