mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Crim, Jason" <jason.crim@thyssenkrupp.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Including valgrind in the configuration doesn't trigger an un-optimized build of glibc.
Date: Mon, 26 Mar 2018 07:03:21 -0500	[thread overview]
Message-ID: <2D79272AFFD75A4392ED2D3EF16D3B53A8999B@mdcxch20.na.ops.local> (raw)
In-Reply-To: <20180326063025.k67eaq7plylvrnzk@pengutronix.de>

Thanks,
   I'd tried moving over the root-debug versions of the referenced files, and was still hitting the error.  That's when I'd found the post referencing the optimization levels.  I'll take a look at getting the nfs-root running when I've got some time.

Thanks for the information and advice,
 - Jason

-----Original Message-----
From: ptxdist [mailto:ptxdist-bounces@pengutronix.de] On Behalf Of Michael Olbrich
Sent: Monday, March 26, 2018 2:30 AM
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Including valgrind in the configuration doesn't trigger an un-optimized build of glibc.

Hi,

On Thu, Mar 22, 2018 at 12:38:21PM -0500, Crim, Jason wrote:
> I'm currently using ptxdist 2015.10.0 and I've selected valgrind as a 
> built-in option in the 'Debug Tools' using menuconfig.  Valgrind is 
> then installed in my image at /usr/bin/valgrind.  However, it is 
> currently not usable since the available glibc is too optimized, 
> resulting in the following message.
[...]
> Is there a method of configuring glibc to build un-optimized ( below
> -O2) for use with the valgrind tool?
> 
> Can the valgrind selection automatically trigger this un-optimized 
> build?
> 
> Or, if there are other suggestions for addressing this issue, I'd like 
> to hear them.

The problem is not the optimization, but the missing debug symbols. With this PTXdist Version you need to use the nfsroot. The debug symbols are available there.
Or you can update to the latest PTXdist and Toolchain version. Then you can enable debug packages that can be installed on the live system.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-03-26 12:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-22 17:38 Crim, Jason
2018-03-26  6:30 ` Michael Olbrich
2018-03-26 12:03   ` Crim, Jason [this message]
2018-03-27  7:33     ` Michael Olbrich
2018-03-27 11:54       ` Crim, Jason
2018-03-28 10:01 Andrej.Gantvorg
2018-03-28 15:43 ` Crim, Jason
2018-03-29  9:20   ` Michael Olbrich
2018-04-05 19:41     ` Crim, Jason
2018-04-09  8:41       ` Michael Olbrich
2018-04-09 12:13         ` Crim, Jason
2018-04-09 13:49           ` Michael Olbrich

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=2D79272AFFD75A4392ED2D3EF16D3B53A8999B@mdcxch20.na.ops.local \
    --to=jason.crim@thyssenkrupp.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