mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jeff Pohlmeyer <yetanothergeek@gmail.com>
To: Isaac Dunham <ibid.ag@gmail.com>
Cc: musl@lists.openwall.com, Alpine <alpine-devel@lists.alpinelinux.org>
Subject: Re: Attempting to debug C++ library and command via valgrind
Date: Wed, 9 Jul 2014 10:30:11 -0500	[thread overview]
Message-ID: <CAEuRe+2zBM3L+Vhfiqgpnq0cm7ZF1=5ZTBo-F-iP9UsNTHG-1A@mail.gmail.com> (raw)
In-Reply-To: <20140709043946.GA1787@newbook>

On Tue, Jul 8, 2014 at 11:39 PM, Isaac Dunham wrote:

> I've been trying to get Sword 1.7.3 (crosswire.org/sword) running on Alpine.
> valgrind was recommended, but I can't get valgrind to run the command properly.
> But when I do this, diatheke errors out:
> diatheke: cannot load -b: No such file or directory


I think it's a problem with the way valgrind tries to run musl's program loader.

Try adding "/lib/ld-musl-i386.so.1" to the command line, just before
the prgram name,
e.g.

valgrind --leak-check=full --track-origins=yes \
 --keep-stacktraces=alloc-and-free \
  /lib/ld-musl-i386.so.1 \
   diatheke  -b KJV -k Ps117


 - Jeff


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---



  reply	other threads:[~2014-07-09 15:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09  4:39 Isaac Dunham
2014-07-09 15:30 ` Jeff Pohlmeyer [this message]
2014-07-09 15:46   ` Jeff Pohlmeyer
2014-07-10  4:13   ` [alpine-devel] " Isaac Dunham
2014-07-10  4:47     ` Rich Felker
2014-07-10  6:50       ` Isaac Dunham
2014-07-11  3:39         ` Rich Felker
2014-07-12  4:03           ` Solved: Re: [musl]Attempting " Isaac Dunham
2014-07-12  4:09             ` Solved: Re: [musl][alpine-devel] Attempting " Rich Felker
2014-07-12  4:38               ` Solved: " Isaac Dunham
2014-07-11 12:19 ` [musl] " John Spencer
2014-07-12  3:11   ` Isaac Dunham

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='CAEuRe+2zBM3L+Vhfiqgpnq0cm7ZF1=5ZTBo-F-iP9UsNTHG-1A@mail.gmail.com' \
    --to=yetanothergeek@gmail.com \
    --cc=alpine-devel@lists.alpinelinux.org \
    --cc=ibid.ag@gmail.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).