mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: jon.bird@generaldynamics.uk.com
Subject: Re: [ptxdist] How to get valgrind working in ptx build
Date: Wed, 07 Aug 2013 15:04:22 +0200	[thread overview]
Message-ID: <520245D6.50207@pengutronix.de> (raw)
In-Reply-To: <94D4A88F8AC34646A5288D11318F5D5B0D723E9F@GDUKADH841.uk1.r-org.net>


[-- Attachment #1.1: Type: text/plain, Size: 1170 bytes --]

On 08/07/2013 02:32 PM, jon.bird@generaldynamics.uk.com wrote:
> I am trying to get valgrind enabled under Ptxdist. I can build the
> package ok and deploy it however when I attempt to run an app on the
> target system it fails complaining that it needs debugging symbols
> from glibc. The suggesion from online is that I either need a
> non-stripped glibc or an additional file which holds the symbols but
> it isn't clear from online searching what this file is called or
> where to locate it in the file system. The toolchain I am using is
> the OSELAS.Toolchain-2012.12.1 x86 toolchain (prebuilt Debian
> package), I am hoping I just need to lift the relevant file(s) from
> there.

Yes you have to use the unstripped version of the glibc, or even better
a completely unstripped system. I suggest to use platform-*/root-debug
as your NFS root file system.

regards,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2013-08-07 13:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07 12:32 jon.bird
2013-08-07 13:04 ` Marc Kleine-Budde [this message]
2013-08-07 13:10 ` Jürgen Beisert
2013-08-07 13:47   ` jon.bird
2013-08-07 14:20     ` Marc Kleine-Budde
2013-08-08  9:21       ` jon.bird

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=520245D6.50207@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=jon.bird@generaldynamics.uk.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox