Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc
Date: Fri, 14 Sep 2012 20:30:24
Message-Id: k303hp$rua$1@ger.gmane.org
In Reply to: [gentoo-user] dev-util/valgrind-3.7.0-r4 and glibc by Mick
1 On 14/09/12 22:48, Mick wrote:
2 > I got this message in elog:
3 >
4 > * Messages for package dev-util/valgrind-3.7.0-r4:
5 >
6 > * Valgrind will not work if glibc does not have debug symbols.
7 > * To fix this you can add splitdebug to FEATURES in make.conf
8 > * and remerge glibc. See:
9 > * https://bugs.gentoo.org/show_bug.cgi?id=214065
10 > * https://bugs.gentoo.org/show_bug.cgi?id=274771
11 > * https://bugs.gentoo.org/show_bug.cgi?id=388703
12 >
13 > but my glibc has no splitdebug USE flags
14
15 What the other posters said, except that you shouldn't add "splitdebug"
16 in your make.conf. If you do that, it will affect all packages.
17
18 What you do instead is put this text into
19 /etc/portage/env/sys-libs/glibc (yes, it must be a text file, not a
20 directory):
21
22 CFLAGS="${CFLAGS} -g"
23 CXXFLAGS="${CXXFLAGS} -g"
24 FEATURES="${FEATURES} splitdebug"

Replies

Subject Author
Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc Michael Mol <mikemol@×××××.com>
Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc Alex Schuster <wonko@×××××××××.org>