On Friday 14 Sep 2012 21:44:43 Michael Mol wrote: > On Fri, Sep 14, 2012 at 4:19 PM, Nikos Chantziaras <rea...@gmail.com> wrote: > > On 14/09/12 22:48, Mick wrote: > >> I got this message in elog: > >> > >> * Messages for package dev-util/valgrind-3.7.0-r4: > >> * Valgrind will not work if glibc does not have debug symbols. > >> * To fix this you can add splitdebug to FEATURES in make.conf > >> * and remerge glibc. See: > >> * https://bugs.gentoo.org/show_bug.cgi?id=214065 > >> * https://bugs.gentoo.org/show_bug.cgi?id=274771 > >> * https://bugs.gentoo.org/show_bug.cgi?id=388703 > >> > >> but my glibc has no splitdebug USE flags > > > > What the other posters said, except that you shouldn't add "splitdebug" > > in your make.conf. If you do that, it will affect all packages. > > > > What you do instead is put this text into /etc/portage/env/sys-libs/glibc > > (yes, it must be a text file, not a directory): > > > > CFLAGS="${CFLAGS} -g" > > CXXFLAGS="${CXXFLAGS} -g" > > FEATURES="${FEATURES} splitdebug" > > I'm fairly sure (I could be wrong) that splitdebug doesn't cause -g or > a derivative to be added to CFLAGS. Hence why I have "-ggdb" in my > CFLAGS. > > (All in make.conf. Given splitdebug, I haven't heard a solid reason not > to.)
Thank you all for your answers. I should have slowed down to read the elog more carefully! -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.