* [gentoo-alpha] Debugging and emerge
@ 2004-09-18 3:20 Allen Ziegenfus
2004-09-19 23:59 ` Bryan Østergaard
0 siblings, 1 reply; 3+ messages in thread
From: Allen Ziegenfus @ 2004-09-18 3:20 UTC (permalink / raw
To: gentoo-alpha
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
I've been trying to pin down some annoying crashes that I've been
experiencing so I've been trying to create debug builds of various
packages. I thought at one point that I could just say USE="debug"
emerge xfce-utils and xfce-utils would get built with debugging symbols.
I'm pretty sure this used to work in the past.
Now, however, if I do this, -g does not get added to the gcc compile
flags and the executable is stripped. I find that I can only get a debug
build if I manually change the ebuild and add a line that says:
inherit debug
Is this how things should be or is there something wrong with my system?
I've also seen some people talk about a "no strip" flag that can be
added. How is that different from USE="debug"?
Allen
--
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-alpha] Debugging and emerge
2004-09-18 3:20 [gentoo-alpha] Debugging and emerge Allen Ziegenfus
@ 2004-09-19 23:59 ` Bryan Østergaard
2004-09-21 16:22 ` Allen Ziegenfus
0 siblings, 1 reply; 3+ messages in thread
From: Bryan Østergaard @ 2004-09-19 23:59 UTC (permalink / raw
To: gentoo-alpha
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
> Now, however, if I do this, -g does not get added to the gcc compile
> flags and the executable is stripped. I find that I can only get a debug
> build if I manually change the ebuild and add a line that says:
>
Add -g to CFLAGS and nostrip to FEATURES.
Regards,
Bryan Østergaard
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-alpha] Debugging and emerge
2004-09-19 23:59 ` Bryan Østergaard
@ 2004-09-21 16:22 ` Allen Ziegenfus
0 siblings, 0 replies; 3+ messages in thread
From: Allen Ziegenfus @ 2004-09-21 16:22 UTC (permalink / raw
To: gentoo-alpha
[-- Attachment #1: Type: text/plain, Size: 414 bytes --]
On the fine day of Mon, 20 Sep 2004 01:59:36 +0200
Bryan Østergaard <kloeri@gentoo.org> said very eloquently:
> Add -g to CFLAGS and nostrip to FEATURES.
>
So is USE="debug" only for when the package itself has some debug
logging that you can turn on or off? According to the "Gentoo Linux Use
Variable Descriptions" document it is supposed to add -g but that
doesn't happen for me.
Allen
--
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-21 16:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-18 3:20 [gentoo-alpha] Debugging and emerge Allen Ziegenfus
2004-09-19 23:59 ` Bryan Østergaard
2004-09-21 16:22 ` Allen Ziegenfus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox