Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: 1i5t5.duncan@×××.net
Subject: Re: [gentoo-dev] Re: check-reqs* vs CFLAGS=-g
Date: Fri, 02 Aug 2013 08:05:15
Message-Id: 20130802100521.64725311@gentoo.org
In Reply to: [gentoo-dev] Re: check-reqs* vs CFLAGS=-g by Duncan <1i5t5.duncan@cox.net>
1 Dnia 2013-08-02, o godz. 02:07:18
2 Duncan <1i5t5.duncan@×××.net> napisał(a):
3
4 > Michał Górny posted on Thu, 01 Aug 2013 13:33:48 +0200 as excerpted:
5 >
6 > > LLVM has peek build space consumption around:
7 > >
8 > > - 400-550M without clang (depending on targets),
9 > > - 950-1200M with clang,
10 > > - 16G with clang & USE=debug (assertions, checks).
11 >
12 > Ouch!
13 >
14 > Thanks for the heads-up. I didn't realize -g/debug added THAT much! For
15 > sure I'll have to keep that in mind if I ever decide to build llvm with
16 > debug... and the general rule in mind for building anything else with
17 > debug.
18
19 Just to make it clear, USE=debug doesn't imply -g. It gets 16G with
20 -O2. Curious enough, -O0 -g gave me 14G but maybe I screwed something
21 up :).
22
23 --
24 Best regards,
25 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: check-reqs* vs CFLAGS=-g "Diego Elio Pettenò" <flameeyes@×××××××××.eu>