X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 4EECFDC0080 for ; Thu, 10 Jul 2014 04:13:53 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id lf10so10398867pab.30 for ; Wed, 09 Jul 2014 21:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Fqq1DMuapybQ3X96qe0clWXaZ3cc/WpbDg3/Ik/IpPE=; b=KSmyGpEgaPxN9Nhfz7NEF2+6io92KIU0Dm9L4z7vZh2fXCyMRYpow4iurLSs7bJRJv F8CMDuC6keBPohu1AvOzXTDLSQIQPLNIAgpfdWQrP2nHj7MtbjrzuLmFzxrmxe9mSQai j9sm+dMN5zZC8seAQp/A7jgzCI6QzQYCYQmvTV/5Vim0fWKHSak7L/EncVHs7jI6hbB2 7kuxyaUL4Sl8+vvqxcmnYXVKTlsnkBACLdw0/6GkAVzGu2BHWlSQICynopeZzMjxpkVO v3Px2N+xlaxdD65kRAbdFArIM1AeFpH3m0+IVBvVEiIricJ7/xFGgP+RL8Ae8/teRRhZ EunA== X-Received: by 10.68.194.134 with SMTP id hw6mr44996820pbc.49.1404965632394; Wed, 09 Jul 2014 21:13:52 -0700 (PDT) Received: from newbook ([50.0.227.219]) by mx.google.com with ESMTPSA id mn2sm857489pbc.64.2014.07.09.21.13.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jul 2014 21:13:51 -0700 (PDT) Date: Wed, 9 Jul 2014 21:13:49 -0700 From: Isaac Dunham To: Jeff Pohlmeyer Cc: musl@lists.openwall.com, Alpine Subject: Re: [alpine-devel] Attempting to debug C++ library and command via valgrind Message-ID: <20140710041348.GA4689@newbook> References: <20140709043946.GA1787@newbook> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) On Wed, Jul 09, 2014 at 10:30:11AM -0500, Jeff Pohlmeyer wrote: > 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 Thanks, this works for me. Of course it really runs slow and spits out a ton of information; the log is over 400 kb at 5464 lines. (I suppose sending it to these lists might be inappropriate, given the size...) Thank you, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---