From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp205.stejtech.net ([213.136.34.155] helo=smtp205-outgoing.stejtech.net) by metis.ext.pengutronix.de with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ZL5j2-0006zV-Cc for ptxdist@pengutronix.de; Fri, 31 Jul 2015 10:31:32 +0200 Received: from promail.crossnet.net (unknown [IPv6:2a01:2b0:3017:101:7a2b:cbff:fe63:2567]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp205.stejtech.net (Postfix) with ESMTPS id B084E171439C for ; Fri, 31 Jul 2015 12:30:26 +0200 (CEST) From: Christian Melki Message-ID: <55BB4DCF.6050901@t2data.com> Date: Fri, 31 Jul 2015 12:28:31 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010405000908050707030707" Subject: [ptxdist] [PATCH]: Correct binutils spelling misstake in ptxd_make_xpkg_pkg.sh 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 --------------010405000908050707030707 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Hi. From binutils commitdiff https://sourceware.org/git/?p=binutils.git;a=commitdiff;h=45c8411440ad1fac721a9236f2fdff47792dcf1b elf.c was changed 2012-07-01. - (_("%B: unable to initialize commpress status for section %s"), + (_("%B: unable to initialize compress status for section %s"), Thus the subsequent test in ptxd_make_xpkg_pkg.sh fails to detect this condition for newer binutils. Patch provided for the newer version. Maybe an alternative would be to include both cases in the string search. Don't know why, but I hit this error with a bog standard toolchain built by crosstools-ng on Fedora 22. For some reason this toolchain does not seem to handle compressed debug sections correctly. Regards, Christian --------------010405000908050707030707 Content-Type: text/plain; charset="UTF-8"; name="patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch" ZGlmZiAtLWdpdCBhL3NjcmlwdHMvbGliL3B0eGRfbWFrZV94cGtnX3BrZy5zaCBiL3Njcmlw dHMvbGliL3B0eGRfbWFrZV94cGtnX3BrZy5zaAppbmRleCA1M2QwMDQxLi4wYjk0NWM1IDEw MDY0NAotLS0gYS9zY3JpcHRzL2xpYi9wdHhkX21ha2VfeHBrZ19wa2cuc2gKKysrIGIvc2Ny aXB0cy9saWIvcHR4ZF9tYWtlX3hwa2dfcGtnLnNoCkBAIC0yMjksNyArMjI5LDcgQEAgcHR4 ZF9pbnN0YWxsX2ZpbGVfZXh0cmFjdF9kZWJ1ZygpIHsKICAgICAjIHRoaXMgY2FuIGZhaWwg aWYgb2JqY29weSBkb2VzIG5vdCBzdXBwb3J0IGNvbXByZXNzaW5nIGRlYnVnIHNlY3Rpb25z IG9yCiAgICAgIyBpcyBjb21waWxlZCB3aXRob3V0IHpsaWIgc3VwcG9ydAogICAgICIke0NS T1NTX09CSkNPUFl9IiAke3B0eGRfaW5zdGFsbF9maWxlX29iamNvcHlfYXJnc30gIiR7ZGly fSR7ZHN0fSIgIiR7ZGJnfSIgfCYKLQlncmVwIC1xICJcKHVucmVjb2duaXplZCBvcHRpb25c fHVuYWJsZSB0byBpbml0aWFsaXplIGNvbW1wcmVzcyBzdGF0dXNcKSIKKwlncmVwIC1xICJc KHVucmVjb2duaXplZCBvcHRpb25cfHVuYWJsZSB0byBpbml0aWFsaXplIGNvbXByZXNzIHN0 YXR1c1wpIgogICAgIGxvY2FsIC1hIHN0YXR1cz0oICIke1BJUEVTVEFUVVNbQF19IiApCiAg ICAgaWYgWyAke3N0YXR1c1swXX0gLW5lIDAgXTsgdGhlbgogCWlmIFsgJHtzdGF0dXNbMV19 IC1lcSAwIF07IHRoZW4K --------------010405000908050707030707 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --------------010405000908050707030707--