mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Montellese Sascha <sascha.montellese@scs.ch>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] error with libfakeroot.so from LC_PRELOAD due to wrong ELF class ELFCLASS64
Date: Wed, 3 Feb 2016 08:14:23 +0100	[thread overview]
Message-ID: <E0CB834DD9BF7546A8B709A96E2ECAC3015BA1E8691C@Exchange.scs-ad.scs.ch> (raw)
In-Reply-To: <20160201142329.GD14307@pengutronix.de>

On Mon, Feb 1, 2016 at 02:23:00PM +0000, Michael Olbrich wrote:
> On Thu, Jan 28, 2016 at 03:35:53PM +0000, Sascha Montellese wrote:
> > I downloaded, built and installed ptxdist-2016.01.0 a few days ago and 
> > setup a project. Configuration works fine but when running "ptxdist 
> > go" I get a lot of the following error messages (mostly during the 
> > targetinstall step AFAICT):
> > 
> > ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be 
> > preloaded (wrong ELF class: ELFCLASS64): ignored.
> > 
> > I'm running ptxdist on an Ubuntu Desktop 14.04.3 LTS (64-bit) system 
> > which I've specifically set up for this project only so I've only 
> > installed a few additional packages (specifically bison, flex, gawk, 
> > libncurses-dev, python-dev, texinfo to be able to build ptxdist and 
> > lib32z1, lib32ncurses5, lib32bz2-1.0, lib32stdc++6 to build my cross-toolchain).
> > 
> > Any ideas what I could do to get rid of the error? Or does it not have 
> > any effect on the output?
> 
> The error means, that the 64-bit libfakeroot.so cannot be used with your 32-bit toolchain. You should use 64-bit toolchain.
> 
> Michael

Thanks for the confirmation. I figured as much after taking a closer look at the toolchain and the libfakeroot built for the host.
Unfortunately my toolchain is not available in 64-bit but only 32-bit. Is there any way to tell ptxdist to build host tools as 32-bit like specifying CFLAGS=-m32 somewhere? I only found a way to set CFLAGS for the target in platformconfig. Or would this approach not solve my problem?

Thanks for your support.
Sascha
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-02-03  7:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28 15:35 Sascha Montellese
2016-02-01 14:23 ` Michael Olbrich
2016-02-03  7:14   ` Montellese Sascha [this message]
2016-02-04 16:05     ` Marc Kleine-Budde

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=E0CB834DD9BF7546A8B709A96E2ECAC3015BA1E8691C@Exchange.scs-ad.scs.ch \
    --to=sascha.montellese@scs.ch \
    --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