Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-23 Thread Ben de Groot
On 17 December 2012 18:55, Tomáš Chvátal tomas.chva...@gmail.com wrote: 2012/12/17 Ben de Groot yng...@gentoo.org: Please don't. For most users this is a waste of resources. On first look it seems like waste of resources. On second hand it makes stuff easy wrt bugreports provided by users.

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-18 Thread Sven Eden
Am Montag, 17. Dezember 2012, 11:48:12 schrieb Walter Dnes: On Mon, Dec 17, 2012 at 01:37:27PM +0100, Sven Eden wrote 1) --- kde-base/kate - Compiled with -ggdb in CFLAGS: # sum=0; for file in $(equery f kde-base/kate | grep \.debug) ; do

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-18 Thread Marcin Mirosław
W dniu 18.12.2012 12:13, Sven Eden pisze: Am Montag, 17. Dezember 2012, 11:48:12 schrieb Walter Dnes: On Mon, Dec 17, 2012 at 01:37:27PM +0100, Sven Eden wrote 1) --- kde-base/kate - Compiled with -ggdb in CFLAGS: # sum=0; for file in $(equery f kde-base/kate |

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-18 Thread Sven Eden
Am Dienstag, 18. Dezember 2012, 12:43:55 schrieb Marcin Mirosław: W dniu 18.12.2012 12:13, Sven Eden pisze: (snip, because this has nothing to do with the previous discussion.) On my 32-bit machines I have... FLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-18 Thread Marcin Mirosław
W dniu 18.12.2012 13:03, Sven Eden pisze: Am Dienstag, 18. Dezember 2012, 12:43:55 schrieb Marcin Mirosław: W dniu 18.12.2012 12:13, Sven Eden pisze: (snip, because this has nothing to do with the previous discussion.) On my 32-bit machines I have... FLAGS=-O2 -march=native

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-18 Thread viv...@gmail.com
Il 17/12/2012 11:11, Tomáš Chvátal ha scritto: Hi lads, lately I am having bit of problems from getting relevant debug info from users. Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to default profiles default enabled and add -g

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-18 Thread Pacho Ramos
El lun, 17-12-2012 a las 08:55 -0500, Rich Freeman escribió: [...] I usually keep a debug file in /etc/portage/env.d and symlink it to anything I'm working on. Rich I do the same, for example, I had end.d files for all evince related packages to get proper backtraces as I was getting

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Diego Elio Pettenò
On 17/12/2012 11:11, Tomáš Chvátal wrote: Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to default profiles default enabled and add -g to default cflags. Currently it is only enabled in the developer profile. Why, somebody

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Tomáš Chvátal
2012/12/17 Diego Elio Pettenò flamee...@flameeyes.eu: On 17/12/2012 11:11, Tomáš Chvátal wrote: Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to default profiles default enabled and add -g to default cflags. Currently it is

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Sven Eden
Am Montag, 17. Dezember 2012, 11:11:38 schrieb Tomáš Chvátal: Hi lads, lately I am having bit of problems from getting relevant debug info from users. Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to default profiles default

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Ben de Groot
On 17 December 2012 18:26, Tomáš Chvátal tomas.chva...@gmail.com wrote: 2012/12/17 Diego Elio Pettenò flamee...@flameeyes.eu: On 17/12/2012 11:11, Tomáš Chvátal wrote: Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Diego Elio Pettenò
On 17/12/2012 11:33, Sven Eden wrote: on my system I have set up everything with splitdebug enabled. My CFLAGS use - march=native, -O2 and -ggdb. That's -ggdb that increases the size. -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/ signature.asc

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Diego Elio Pettenò
On 17/12/2012 11:26, Tomáš Chvátal wrote: I silently hope they copy the default cflags to their make.conf and then set march and add more stuff, rather than starting from scratch. Also we can pop-up newsitem asking them to put it into cflags ;-) They don't, they use those coming from

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Alexandre Rostovtsev
On Mon, 2012-12-17 at 11:11 +0100, Tomáš Chvátal wrote: Hi lads, lately I am having bit of problems from getting relevant debug info from users. Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to default profiles default

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Tomáš Chvátal
2012/12/17 Sven Eden sven.e...@gmx.de: Hello Tomáš, on my system I have set up everything with splitdebug enabled. My CFLAGS use - march=native, -O2 and -ggdb. And this is the result: (Yes, I have a dedictated partition for that.) ~ $ LC_ALL=C df -h /usr/lib/debug/. Filesystem Size

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Tomáš Chvátal
2012/12/17 Alexandre Rostovtsev tetrom...@gentoo.org: The bigger problem is not disk space but memory usage at link time. Try building something like *-webkit-* or firefox with debugging CFLAGS on a machine with limited memory. That ain't problem, we acutally can patch in those packages to

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Tomáš Chvátal
2012/12/17 Ben de Groot yng...@gentoo.org: Please don't. For most users this is a waste of resources. On first look it seems like waste of resources. On second hand it makes stuff easy wrt bugreports provided by users. And believe me when I say most upstreams are pissed by gentoo reports because

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Diego Elio Pettenò
On 17/12/2012 11:54, Tomáš Chvátal wrote: That ain't problem, we acutally can patch in those packages to strip the debug by default and add there useflag to not strip those for those really needing it. No. USE=debug is for _something else_ entirely. And I'm going to kick hard whoever tries to

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread viv...@gmail.com
Il 17/12/2012 11:42, Diego Elio Pettenò ha scritto: On 17/12/2012 11:33, Sven Eden wrote: on my system I have set up everything with splitdebug enabled. My CFLAGS use - march=native, -O2 and -ggdb. That's -ggdb that increases the size. In short FEATURES=compressdebug should be stable and

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Diego Elio Pettenò
On 17/12/2012 12:37, viv...@gmail.com wrote: In short FEATURES=compressdebug should be stable and default before you (gentoo) decide for something like this. As mentioned somewhere else in this thread some packages are on the unbeareable side when compiled with debug information, those

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Dirkjan Ochtman
On Mon, Dec 17, 2012 at 11:26 AM, Tomáš Chvátal tomas.chva...@gmail.com wrote: I silently hope they copy the default cflags to their make.conf and then set march and add more stuff, rather than starting from scratch. Also we can pop-up newsitem asking them to put it into cflags ;-) You might

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Markos Chandras
On 17 December 2012 10:11, Tomáš Chvátal tomas.chva...@gmail.com wrote: Hi lads, lately I am having bit of problems from getting relevant debug info from users. Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to default

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Sven Eden
Am Montag, 17. Dezember 2012, 11:47:24 schrieb Tomáš Chvátal: 2012/12/17 Sven Eden sven.e...@gmx.de: Hello Tomáš, on my system I have set up everything with splitdebug enabled. My CFLAGS use - march=native, -O2 and -ggdb. And this is the result: (Yes, I have a dedictated partition for

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Kacper Kowalik
On 12/17/2012 11:11 AM, Tomáš Chvátal wrote: Hi lads, lately I am having bit of problems from getting relevant debug info from users. All trouble can be saved by asking user to recompile package with relevant flags on bug report, resolving the bug as NEEDINFO. Instead of forcing everybody out

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Rich Freeman
On Mon, Dec 17, 2012 at 8:43 AM, Kacper Kowalik xarthis...@gentoo.org wrote: All trouble can be saved by asking user to recompile package with relevant flags on bug report, resolving the bug as NEEDINFO. Instead of forcing everybody out there using Gentoo to have additional XGb for debug,

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Rich Freeman
On Mon, Dec 17, 2012 at 9:05 AM, Diego Elio Pettenò flamee...@flameeyes.eu wrote: So please stop giving this stupid suggestion, which causes enough grief as it is without being repeated once again. Uh, sure, insofar as it is possible to stop doing something that you've done exactly once... :)

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Diego Elio Pettenò
On 17/12/2012 15:20, Rich Freeman wrote: Uh, sure, insofar as it is possible to stop doing something that you've done exactly once... :) In general, I've heard the same suggestion touted too many times already. It's this kind of misinformation and cargo culting that often causes `strip-flags`

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Paweł Hajdan, Jr.
On 12/17/12 2:11 AM, Tomáš Chvátal wrote: Since we already have splitdebug for quite time (and I suppose quite few of us are using it) how about making it to default profiles default enabled and add -g to default cflags. Currently it is only enabled in the developer profile. Fully seconded.

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Walter Dnes
On Mon, Dec 17, 2012 at 01:37:27PM +0100, Sven Eden wrote 1) --- kde-base/kate - Compiled with -ggdb in CFLAGS: # sum=0; for file in $(equery f kde-base/kate | grep \.debug) ; do xSize=$(stat -c %s $file) ; sum=$((sum+xSize)) ; done ; echo $sum 32652140

Re: [gentoo-dev] Defaulting for debug information in profiles

2012-12-17 Thread Luca Barbato
On 12/17/2012 02:55 PM, Rich Freeman wrote: On Mon, Dec 17, 2012 at 8:43 AM, Kacper Kowalik xarthis...@gentoo.org wrote: All trouble can be saved by asking user to recompile package with relevant flags on bug report, resolving the bug as NEEDINFO. Instead of forcing everybody out there using