From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73525 invoked by alias); 9 Feb 2017 07:19:18 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 73513 invoked by uid 89); 9 Feb 2017 07:19:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_LOTSOFHASH,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=D*br, 580, UD:by, elf2flt X-HELO: m71-131.mailgun.net Received: from m71-131.mailgun.net (HELO m71-131.mailgun.net) (166.78.71.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Feb 2017 07:19:07 +0000 X-Mailgun-Sending-Ip: 166.78.71.131 X-Mailgun-Sid: WyIwZTgzNyIsICJjcm9zc2djY0Bzb3VyY2V3YXJlLm9yZyIsICI0MGYiXQ== Received: from github.com (Unknown [192.30.252.42]) by mxa.mailgun.org with ESMTP id 589c17e7.7fc02c1184e0-smtp-out-n01; Thu, 09 Feb 2017 07:19:03 -0000 (UTC) Date: Thu, 09 Feb 2017 07:19:00 -0000 From: Alexey Neyman Reply-To: Alexey Neyman To: crossgcc@sourceware.org Message-ID: <589c17e7b4bca_6d493ffdca833c3870784@hookshot-fe1-cp1-prd.iad.github.net.mail> Subject: [crosstool-ng/crosstool-ng] 755de2: elf2flt: use CT_ARCH to set target CPU, not CT_TAR... Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_589c17e7b4800_6d493ffdca833c3870636"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00012.txt.bz2 ----==_mimepart_589c17e7b4800_6d493ffdca833c3870636 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 2249 Branch: refs/heads/master Home: https://github.com/crosstool-ng/crosstool-ng Commit: 755de234cb50aa786e7e6821e14d611775650cb6 https://github.com/crosstool-ng/crosstool-ng/commit/755de234cb50aa786e7e6821e14d611775650cb6 Author: Carlos Santos Date: 2017-02-06 (Mon, 06 Feb 2017) Changed paths: M scripts/build/binutils/binutils.sh Log Message: ----------- elf2flt: use CT_ARCH to set target CPU, not CT_TARGET CT_TARGET is composed as "${CT_ARCH}${CT_ARCH_SUFFIX}", so CT_TARGET may become something like "armv7", for example. This is used by the configure script to set the "CPU" variable in the Makefile, leading to a commad line containing -DTARGET_armv7 -DTARGET_CPU="armv7" In this case the compilation of elf2flt.c fails with "Don't know how to support your CPU architecture??". Passsing "CPU=${CT_ARCH}" in the make command line overrides the configured value and solves the problem. Signed-off-by: Carlos Santos Commit: 308c6b9a145cbfbd3e9a4b09aef5935572cce6ab https://github.com/crosstool-ng/crosstool-ng/commit/308c6b9a145cbfbd3e9a4b09aef5935572cce6ab Author: Alexey Neyman Date: 2017-02-07 (Tue, 07 Feb 2017) Changed paths: A samples/armv6-nommu-linux-uclibcgnueabi/crosstool.config A samples/armv6-nommu-linux-uclibcgnueabi/reported.by Log Message: ----------- Add a contrived ARM with elf2flt sample ... that exhibited the issue with elf2flt configuration. Original reported did not provide the config, and did not respond. Signed-off-by: Alexey Neyman Commit: df555a65dbea7aedcef462590230da639fb6a421 https://github.com/crosstool-ng/crosstool-ng/commit/df555a65dbea7aedcef462590230da639fb6a421 Author: Alexey Neyman Date: 2017-02-08 (Wed, 08 Feb 2017) Changed paths: A samples/armv6-nommu-linux-uclibcgnueabi/crosstool.config A samples/armv6-nommu-linux-uclibcgnueabi/reported.by M scripts/build/binutils/binutils.sh Log Message: ----------- Merge pull request #580 from stilor/arm-elf2flt ARM with arch suffix - elf2flt fix Compare: https://github.com/crosstool-ng/crosstool-ng/compare/18775775e53f...df555a65dbea ----==_mimepart_589c17e7b4800_6d493ffdca833c3870636--