[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RHEL4 debugging symbols

From: VK Sameer <sameer_at_collab.net>
Date: 2005-07-05 07:01:37 CEST

On Mon, 2005-07-04 at 16:32 -0500, David Summers wrote:
> On Mon, 4 Jul 2005, Blair Zajac wrote:
>
> > Could we get debugging symbols in the next RHEL4 RPMs you release? Your
> > RHEL3 RPMs have them and were very useful, but the only RHEL box I have
> > access to is version 4 and I could have used the debugging symbols with the
> > core dump I've been seeing:
> >
> > http://svn.haxx.se/dev/archive-2005-07/0099.shtml
> >
>
> I'll see what I can do. I've not tried turning them on or off so I'm not
> sure why some would have them and others wouldn't. Maybe the defaults on
> the RPM buils or something.

Yes. Try rpmbuild --showrc |grep enable_debug on the build machine.

> If anyone has any ideas on how to turn them on or off then please let me
> know. I'll be researching it in the meantime.

I've actually done the reverse - turned off debug packages with this in
either ~/.rpmmacros or the spec file:

%define debug_package %{nil}

(Most people seem to want to do that, based on Google's results!)

To set the default the other way seems to require adding this:

%define _enable_debug_packages 1

based on this search:

http://groups-beta.google.com/groups?
q=_enable_debug_packages&Submit3=Search

Regards
Sameer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 5 07:02:19 2005

This is an archived mail posted to the Subversion Dev mailing list.