From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from vwp6339.webpack.hosteurope.de ([2a01:488:42:1000:b24d:512d::]) by metis.ext.pengutronix.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bfqDT-00038a-M6 for ptxdist@pengutronix.de; Fri, 02 Sep 2016 17:17:17 +0200 References: <3f35ed88-67b8-d58b-cae6-024d2dfb7a2b@af-inventions.de> <20160902091701.s5k6n7c2o44fp6dl@pengutronix.de> From: Roland Hieber Message-ID: Date: Fri, 2 Sep 2016 17:17:08 +0200 MIME-Version: 1.0 In-Reply-To: <20160902091701.s5k6n7c2o44fp6dl@pengutronix.de> Content-Type: multipart/mixed; boundary="------------C459984D937B5B7529ABEC35" Subject: Re: [ptxdist] gobject-introspection: syntax error, unexpected typedef-names List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de This is a multi-part message in MIME format. --------------C459984D937B5B7529ABEC35 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 I'm currently rebuilding my project in a new, clean directory to see if the error goes away. - Roland --------------C459984D937B5B7529ABEC35 Content-Type: text/plain; charset=UTF-8; name="sysroot-bin-qemu-ldd" Content-Transfer-Encoding: base64 Content-Dispos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LgogICAgICBub25lbGYgIiRmaWxlIiB8 fCB7CgllY2hvICQiCW5vdCBhIGR5bmFtaWMgZXhlY3V0YWJsZSIKCXJlc3VsdD0xCiAgICAg IH0KICAgICAgOzsKICAgIDIpCiAgICAgIHRyeV90cmFjZSAiJFJUTEQiICIkZmlsZSIgfHwg cmVzdWx0PTEKICAgICAgOzsKICAgICopCiAgICAgIGVjaG8gJ2xkZDonICR7UlRMRH0gJCJl eGl0ZWQgd2l0aCB1bmtub3duIGV4aXQgY29kZSIgIigkcmV0KSIgPiYyCiAgICAgIGV4aXQg MQogICAgICA7OwogICAgZXNhYwogIGVsc2UKICAgIGVjaG8gJ2xkZDonICQiZXJyb3I6IHlv dSBkbyBub3QgaGF2ZSByZWFkIHBlcm1pc3Npb24gZm9yIiAiXGAkZmlsZSciID4mMgogICAg cmVzdWx0PTEKICBmaQpkb25lCgpleGl0ICRyZXN1bHQKIyBMb2NhbCBWYXJpYWJsZXM6CiMg IG1vZGU6a3NoCiMgRW5kOgo= --------------C459984D937B5B7529ABEC35 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --------------C459984D937B5B7529ABEC35--