Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383173 - dev-util/valgrind - Fatal startup error: function redirection missing 'index'
Summary: dev-util/valgrind - Fatal startup error: function redirection missing 'index'
Status: RESOLVED DUPLICATE of bug 214065
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 02:03 UTC by Jean-Claude Gervais
Modified: 2011-09-16 14:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Gervais 2011-09-16 02:03:54 UTC
Valgrind is unable to get its complete list of function pointers and cannot continue

Reproducible: Always

Steps to Reproduce:
1. run valgrind on an executable
2. valgrind dies with error
3. ?
4. Profit!
Actual Results:  
==21049== Memcheck, a memory error detector
==21049== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==21049== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==21049== Command: ./application
==21049== 

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:  
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      index
valgrind:  in an object with soname matching:   ld-linux.so.2
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux.so.2
valgrind:  
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 ld.so (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:  
valgrind:    On Debian, Ubuntu:                 libc6-dbg
valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind:  
valgrind:  Cannot continue -- exiting now.  Sorry.



It appears there are certain symbols missing from the aforementioned shared library. 
I tried rebuilding glibc with the debug USE flag but it doesn't change anything
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-16 14:59:10 UTC

*** This bug has been marked as a duplicate of bug 214065 ***