First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 60775
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Benoit Izac <benoit.izac@free.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 60775 depends on: Show dependency tree
Bug 60775 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-18 07:24 0000
hello,
I would like support for Perl debugger:

% perl -D -e ''
Recompile perl with -DDEBUGGING to use -D switch

I tried to add "debug" in my USE but it has no effect.
The only way I found is to add "-g" in my CFLAGS. But I don't want this flag for other programs.

% grep '^debug' /usr/portage/profiles/use.desc
debug - Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too

Why this use flag doesn't work?

Reproducible: Always
Steps to Reproduce:
1. USE="debug" emerge dev-lang/perl
2. Perl -D -e ''

Actual Results:  
Recompile perl with -DDEBUGGING to use -D switch

Expected Results:  

EXECUTING...



Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8)
=================================================================
System uname: 2.6.8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa avi berkdb cap cdr chroot clamav crypt cscope cups
devfs26 dga directfb dvb dvd emacs encode esd fbcon foomaticdb gdbm gif gpm gtk
gtk2 guile imap imlib java jpeg ldap libg++ libwww linguas_en linguas_fr live
lm_sensors mad maildir matroska mbox mikmod mmx motif mozilla mpeg nas ncurses
nls nntp oggvorbis opengl oss pam pcre pda pdflib perl png python quicktime
radeon readline samba sasl sdl slang snmp spell sse ssl svga tcltk tcpd tetex
theora tiff truetype usb vanilla vda x86 xml2 xmms xv xvid zlib"

------- Comment #1 From Michael Cummings (RETIRED) 2004-09-27 04:36:32 0000 -------
Added to perl and libperl, all ebuilds, using the CFLAGS=-g - simply using
-DDEBUGGING resulted in a perl that had debugging in -V output, but that didn't
actually do debugging (go figure)

First Last Prev Next    No search results available      Search page      Enter new bug