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