[elbe-devel] [PATCH 7/8] makofiles toolchain-shar-extract.sh.mako: improve the relocation code
Torben Hohn
torben.hohn at linutronix.de
Wed May 15 16:41:54 CEST 2019
On Wed, May 15, 2019 at 04:32:05PM +0200, John Ogness wrote:
> On 2019-05-14, Torben Hohn <torben.hohn at linutronix.de> wrote:
> > +# TODO: target_executable files do not exist yet,
> > +# to handle these we would need proper identification
> > +# of the target interpreter.
> > +#
> > +# the difference to the native interpreter is, that the
> > +# target interpreter does not necessarily exist.
> > +#
> > +# do not skip the interpreter, and do not handle target_executable
> > +# files yet.
>
> Why are target elf files being patched? Is this necessary for building
> executables/libraries?
the host sdk contains this package:
https://packages.debian.org/stretch/all/libc6-dev-armel-cross/filelist
i am patching the rpaths because its not in the sysroot, but its
relocated.
> If the target binaries should be emulated on the
> host, qemu-user has the "-L" option.
we try to not execute arm binaries, because that does not work
on windows. Also .. specifying -L would require, that we
>
> I would expect that it is enough to patch the ld scripts.
>
> By the way, what about things like pkg-config files?
there are no pkg-config files here. pkg-config files are in the target
sysroot. And pkg-config is configured to look in the sysroot via the
generated environment setup script.
>
> John Ogness
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190515/e564a58d/attachment.sig>
More information about the elbe-devel
mailing list