Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-11-2012, 03:20 PM   #1
LQ Newbie
Registered: Mar 2011
Distribution: Sabayon
Posts: 5

Rep: Reputation: 0
Problem with valgrind on sabayon 10

Hi everybody i'm trying to use valgrind for memcheck but when launch it in terminal i got this message:

==11525== Memcheck, a memory error detector
==11525== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==11525== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==11525== Command: ./facturation

valgrind: Fatal error at startup: a function redirection
valgrind: which is mandatory for this platform-tool combination
valgrind: cannot be set up. Details of the redirection are:
valgrind: A must-be-redirected function
valgrind: whose name matches the pattern: strlen
valgrind: in an object with soname matching:
valgrind: was not found whilst processing
valgrind: symbols from the object with soname:
valgrind: Possible fixes: (1, short term): install glibc's debuginfo
valgrind: package on this machine. (2, longer term): ask the packagers
valgrind: for your Linux distribution to please in future ship a non-
valgrind: stripped (or whatever the dynamic linker .so is called)
valgrind: that exports the above-named function using the standard
valgrind: calling conventions for this platform. The package you need
valgrind: to install for fix (1) is called
valgrind: On Debian, Ubuntu: libc6-dbg
valgrind: On SuSE, openSuSE, Fedora, RHEL: glibc-debuginfo
valgrind: Cannot continue -- exiting now. Sorry.

Can i have your help please!!!!
Old 10-12-2012, 12:50 AM   #2
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
You need to compile your system with debug info. If you use emerge/portage, then this will be done using the "splitdebug" FEATURE (in make.conf) and -g in your cflags.
Old 10-12-2012, 03:58 PM   #3
LQ Newbie
Registered: Mar 2011
Distribution: Sabayon
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your answer. i think it's already configured like you say. Please check below what i have in my "make.conf".

# Compiler stuff
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
# Only enable Graphite via package.env
CFLAGS="-O2 -march=x86-64 -pipe" # -ftree-vectorize ${GRAPHITE}"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -s"

# Portage stuff
FEATURES="ccache parallel-fetch protect-owned splitdebug"

I see in many forums that i have to install "glibc-debuginfo" but i don't find this package.
Old 10-13-2012, 05:28 AM   #4
LQ Newbie
Registered: Mar 2011
Distribution: Sabayon
Posts: 5

Original Poster
Rep: Reputation: 0
i found a solution here


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem installing valgrind Ajit Gunge Linux - Newbie 7 04-05-2010 01:24 PM
Sabayon KDE AMD x86-64 2.6.29-sabayon - something worth trying. rysiekmus2 Sabayon 1 06-17-2009 04:01 AM
Memory problem detected by Valgrind for large array - C programming jbd Programming 3 04-18-2008 10:44 AM
Sound Problem in Sabayon scottie2hottie Linux - Distributions 1 02-17-2008 12:47 PM
Dual boot problem w/ Sabayon JediDrunk Linux - Newbie 13 10-28-2007 03:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration