From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] gobject-introspection: syntax error, unexpected typedef-names
Date: Fri, 9 Sep 2016 08:38:30 +0200 [thread overview]
Message-ID: <20160909063830.piscnph6lskbhqxm@pengutronix.de> (raw)
In-Reply-To: <959e094e-babc-f19b-cb3e-4dc19691f0ee@af-inventions.de>
On Thu, Sep 08, 2016 at 03:15:26PM +0200, Roland Hieber wrote:
> On 05.09.2016 15:07, Michael Olbrich wrote:
> > 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...
>
> I'm using OSELAS.Toolchain-2016.06.0/arm-v7a-linux-gnueabihf/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized.
> I recently talked with Jan Lübbe on this, and as far as I understood g-i
> seems to take the target kernel version as the minimum supported version,
> also when building host-g-i. My target kernel is 4.7, my host kernel is
> 3.14.
>
> Is there any way to find out the minimum required kernel version for the
> compiled glibc? I would be able to try kernel 4.6 from jessie-backports on
> my host system, but if it is really like mentioned above, 4.6 would probably
> not help much…?
I don't know how to find out the minimum required kernel version for a
compiled glibc but I looked at the configure options used for
OSELAS.Toolchain-2016.06.0. The minimum required kernel version is set to
3.18 :-/.
You could hack ./platform-arm-hf/sysroot-cross/bin/qemu-cross to add '-r
3.18' to the qemu command-line. That may help, but could cause other issues
later, but probably not for the g-i stuff.
Btw, that script is generated in rules/host-qemu.make if you want to create
a more permanent solution.
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-09 6:38 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
2016-09-08 13:15 ` Roland Hieber
2016-09-09 6:38 ` Michael Olbrich [this message]
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=20160909063830.piscnph6lskbhqxm@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