Re: [gentoo-dev] check-reqs* vs CFLAGS=-g

2013-08-02 Thread Diego Elio Pettenò
On Fri, Aug 2, 2013 at 1:08 PM, Andreas K. Huettel wrote: > I thought -O0 was generally discouraged, even for debugging?! As Michał said, it all depends on what you want to debug. I would say that for 90% of issues you *do not* want to use -O0. Your code might not even compile (libav for instanc

Re: [gentoo-dev] check-reqs* vs CFLAGS=-g

2013-08-02 Thread Michał Górny
Dnia 2013-08-02, o godz. 14:08:46 "Andreas K. Huettel" napisał(a): > Am Donnerstag 01 August 2013, 13:33:48 schrieb Michał Górny: > > > > - 1.2G for -O2 (as shown above), > > - 12G for -O0 -g. > > > > I thought -O0 was generally discouraged, even for debugging?! Depends on what you want to ach

Re: [gentoo-dev] check-reqs* vs CFLAGS=-g

2013-08-02 Thread Andreas K. Huettel
Am Donnerstag 01 August 2013, 13:33:48 schrieb Michał Górny: > > - 1.2G for -O2 (as shown above), > - 12G for -O0 -g. > I thought -O0 was generally discouraged, even for debugging?! -- Andreas K. Huettel Gentoo Linux developer kde, sci, arm, tex, printing

[gentoo-dev] check-reqs* vs CFLAGS=-g

2013-08-01 Thread Michał Górny
Hello, Since LLVM builds have grown in size lately, I wanted to add some of check-reqs-r1 checks to it. However, I'm having real trouble guessing what the correct sizes should be. Most importantly, as bug #479356 points out, using '-g' greatly increases the build size. My small measures show that