From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] gobject-introspection: syntax error, unexpected typedef-names
Date: Mon, 5 Sep 2016 15:07:59 +0200 [thread overview]
Message-ID: <20160905130759.pko3qfyyprwaz6lm@pengutronix.de> (raw)
In-Reply-To: <e193e45e-64cc-369f-1e69-87431bbcbab3@af-inventions.de>
On Fri, Sep 02, 2016 at 05:17:08PM +0200, Roland Hieber wrote:
> On 02.09.2016 11:17, Michael Olbrich wrote:
> > I don't think the Kernel Version matters. I think the errors are caused by
> > a broken cross ldd. Please test check if .../sysroot-cross/bin/qemu/ldd
> > works correctly for target binaries. If not, then please send this file,
> > it's a shell script.
>
> The ldd script only prints "FATAL: kernel too old" and exits with return
> code 1 when called on platform/root/bin/sh. I have attached the script.
> The error actually comes from the call to qemu-cross in line 116, which I
> can reproduce:
>
> $ ./sysroot-cross/bin/qemu-cross -E \
> LD_TRACE_LOADED_OBJECTS=1,LD_WARN=,LD_BIND_NOW=,LD_VERBOSE= \
> root/bin/sh
> FATAL: kernel too old
This may be a glibc issue: When executed like this, then the target glibc
will see your host kernel version. What toolchain are you using? The
minimum kernel version for the glibc is selected at build time and verified
at runtime. So your host kernel may indeed be to old for the target
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
next prev parent reply other threads:[~2016-09-05 13:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-01 17:21 Roland Hieber
2016-09-02 9:17 ` Michael Olbrich
2016-09-02 15:17 ` Roland Hieber
2016-09-05 13:07 ` Michael Olbrich [this message]
2016-09-08 13:15 ` Roland Hieber
2016-09-09 6:38 ` Michael Olbrich
2016-09-09 10:41 ` Roland Hieber
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=20160905130759.pko3qfyyprwaz6lm@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--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