mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] error with libfakeroot.so from LC_PRELOAD due to wrong ELF class ELFCLASS64
@ 2016-01-28 15:35 Sascha Montellese
  2016-02-01 14:23 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Montellese @ 2016-01-28 15:35 UTC (permalink / raw)
  To: ptxdist

Hey

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?

Thanks for your help!
Sascha


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] error with libfakeroot.so from LC_PRELOAD due to wrong ELF class ELFCLASS64
  2016-01-28 15:35 [ptxdist] error with libfakeroot.so from LC_PRELOAD due to wrong ELF class ELFCLASS64 Sascha Montellese
@ 2016-02-01 14:23 ` Michael Olbrich
  2016-02-03  7:14   ` Montellese Sascha
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2016-02-01 14:23 UTC (permalink / raw)
  To: ptxdist

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

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] error with libfakeroot.so from LC_PRELOAD due to wrong ELF class ELFCLASS64
  2016-02-01 14:23 ` Michael Olbrich
@ 2016-02-03  7:14   ` Montellese Sascha
  2016-02-04 16:05     ` Marc Kleine-Budde
  0 siblings, 1 reply; 4+ messages in thread
From: Montellese Sascha @ 2016-02-03  7:14 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] error with libfakeroot.so from LC_PRELOAD due to wrong ELF class ELFCLASS64
  2016-02-03  7:14   ` Montellese Sascha
@ 2016-02-04 16:05     ` Marc Kleine-Budde
  0 siblings, 0 replies; 4+ messages in thread
From: Marc Kleine-Budde @ 2016-02-04 16:05 UTC (permalink / raw)
  To: ptxdist


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

On 02/03/2016 08:14 AM, Montellese Sascha wrote:
> 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?

There are some tweaks in ptxdist, so that the pacakge generation should
work with 32 bit toolchains. As long as it works, you can ignore the error.

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: 455 bytes --]

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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-04 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 15:35 [ptxdist] error with libfakeroot.so from LC_PRELOAD due to wrong ELF class ELFCLASS64 Sascha Montellese
2016-02-01 14:23 ` Michael Olbrich
2016-02-03  7:14   ` Montellese Sascha
2016-02-04 16:05     ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox