Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc
Date: Fri, 14 Sep 2012 20:46:46
Message-Id: CA+czFiCH27rhdvChDxP_FPshsCw=tffU6DW=Yrxd1Ad24dQiwA@mail.gmail.com
In Reply to: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc by Nikos Chantziaras
1 On Fri, Sep 14, 2012 at 4:19 PM, Nikos Chantziaras <realnc@×××××.com> wrote:
2 > On 14/09/12 22:48, Mick wrote:
3 >>
4 >> I got this message in elog:
5 >>
6 >> * Messages for package dev-util/valgrind-3.7.0-r4:
7 >>
8 >> * Valgrind will not work if glibc does not have debug symbols.
9 >> * To fix this you can add splitdebug to FEATURES in make.conf
10 >> * and remerge glibc. See:
11 >> * https://bugs.gentoo.org/show_bug.cgi?id=214065
12 >> * https://bugs.gentoo.org/show_bug.cgi?id=274771
13 >> * https://bugs.gentoo.org/show_bug.cgi?id=388703
14 >>
15 >> but my glibc has no splitdebug USE flags
16 >
17 >
18 > What the other posters said, except that you shouldn't add "splitdebug" in
19 > your make.conf. If you do that, it will affect all packages.
20 >
21 > What you do instead is put this text into /etc/portage/env/sys-libs/glibc
22 > (yes, it must be a text file, not a directory):
23 >
24 > CFLAGS="${CFLAGS} -g"
25 > CXXFLAGS="${CXXFLAGS} -g"
26 > FEATURES="${FEATURES} splitdebug"
27
28 I'm fairly sure (I could be wrong) that splitdebug doesn't cause -g or
29 a derivative to be added to CFLAGS. Hence why I have "-ggdb" in my
30 CFLAGS.
31
32 (All in make.conf. Given splitdebug, I haven't heard a solid reason not to.)
33
34 --
35 :wq

Replies

Subject Author
Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc Mick <michaelkintzios@×××××.com>
[gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc Nikos Chantziaras <realnc@×××××.com>