Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[valgrind] libc6-dbg: ne trouve pas 'strlen' (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Chr0nos
Apprentice
Apprentice


Joined: 26 Feb 2010
Posts: 205

PostPosted: Sun Nov 16, 2014 12:06 pm    Post subject: [valgrind] libc6-dbg: ne trouve pas 'strlen' (résolu) Reply with quote

Bonjour,
j'ai actuelement un petit soucis avec valgrind: quand je veu debuger une application de mon cru (ou n'importe la quelle d'ailleurs)
ce dernier m'envoi sur les roses car il ne trouve pas la fonction 'strlen'

voila ce que j'obtiens:

Quote:
adamaru@StarK ~/projets/audio-transfer/build-audio-transfer-Desktop-Debug $ valgrind ./audio-transfer --server
==28237== Memcheck, a memory error detector
==28237== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==28237== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==28237== Command: ./audio-transfer --server
==28237==

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: strlen
valgrind: in an object with soname matching: ld-linux-x86-64.so.2
valgrind: was not found whilst processing
valgrind: symbols from the object with soname: ld-linux-x86-64.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.


ma glibc est compilé en version 2.20 et avec le flag "debug" rien n'y fait
quelqu'un aurais une idée ?


Last edited by Chr0nos on Mon Nov 17, 2014 11:23 am; edited 1 time in total
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Sun Nov 16, 2014 1:03 pm    Post subject: Reply with quote

Parce que ce dont tu as besoin c’est de la feature splitdebug sans oublier de mettre les CFLAGS, mais pas du USE debug :
https://blog.ramses-pyramidenbau.de/?p=252
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
Chr0nos
Apprentice
Apprentice


Joined: 26 Feb 2010
Posts: 205

PostPosted: Mon Nov 17, 2014 11:23 am    Post subject: Reply with quote

merci ca marche au poil apres la modif :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum