From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48889 invoked by alias); 7 Apr 2016 15:20:20 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 48878 invoked by uid 89); 7 Apr 2016 15:20:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=andrews, Andrews, se, H*c:HHH X-HELO: smtprelay.synopsys.com Received: from us01smtprelay-2.synopsys.com (HELO smtprelay.synopsys.com) (198.182.60.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 07 Apr 2016 15:20:09 +0000 Received: from dc8secmta2.synopsys.com (dc8secmta2.synopsys.com [10.13.218.202]) by smtprelay.synopsys.com (Postfix) with ESMTP id E3B7810C1106; Thu, 7 Apr 2016 08:20:07 -0700 (PDT) Received: from dc8secmta2.internal.synopsys.com (dc8secmta2.internal.synopsys.com [127.0.0.1]) by dc8secmta2.internal.synopsys.com (Service) with ESMTP id D7E20A4117; Thu, 7 Apr 2016 08:20:07 -0700 (PDT) Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by dc8secmta2.internal.synopsys.com (Service) with ESMTP id 9E2C5A4116; Thu, 7 Apr 2016 08:20:07 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 8591B1CD; Thu, 7 Apr 2016 08:20:07 -0700 (PDT) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 7C1101CB; Thu, 7 Apr 2016 08:20:07 -0700 (PDT) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 7 Apr 2016 08:20:05 -0700 Received: from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099]) by DE02WEHTCB.internal.synopsys.com ([::1]) with mapi id 14.03.0195.001; Thu, 7 Apr 2016 17:20:05 +0200 From: Claudiu Zissulescu To: Alan Modra , Andrew Burgess CC: "binutils@sourceware.org" Subject: RE: [PATCH] ld/arc: Fix linker for big-endian arc targets Date: Thu, 07 Apr 2016 15:20:00 -0000 Message-ID: <098ECE41A0A6114BB2A07F1EC238DE896617D79D@DE02WEMBXB.internal.synopsys.com> References: <1459442059-12298-1-git-send-email-andrew.burgess@embecosm.com> <5703C510.3070109@redhat.com> <20160407140659.GL18129@bubble.grove.modra.org> In-Reply-To: <20160407140659.GL18129@bubble.grove.modra.org> Content-Type: multipart/mixed; boundary="_002_098ECE41A0A6114BB2A07F1EC238DE896617D79DDE02WEMBXBinter_" MIME-Version: 1.0 X-SW-Source: 2016-04/txt/msg00127.txt.bz2 --_002_098ECE41A0A6114BB2A07F1EC238DE896617D79DDE02WEMBXBinter_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 1950 Indeed the Andrew's patch breaks the build. Attached my solution for the p= roblem.=20 Ok to commit? Claudiu > -----Original Message----- > From: Alan Modra [mailto:amodra@gmail.com] > Sent: Thursday, April 07, 2016 4:07 PM > To: Andrew Burgess; Claudiu.Zissulescu@synopsys.com > Cc: binutils@sourceware.org > Subject: Re: [PATCH] ld/arc: Fix linker for big-endian arc targets >=20 > On Tue, Apr 05, 2016 at 03:00:48PM +0100, Nick Clifton wrote: > > > * emulparams/arc-endianness.sh: New file. > > > * emulparams/arcebelf.sh: Deleted. > > > * emulparams/arcebelf_prof.sh: Deleted. > > > * emulparams/arceblinux.sh: Deleted. > > > * emulparams/arceblinux_prof.sh: Deleted. > > > * emulparams/arcelf.sh: Include arc-endinness.sh. > > > * emulparams/arcelf_prof.sh: Include arc-endinness.sh. > > > * emulparams/arclinux.sh: Include arc-endinness.sh. > > > * emulparams/arclinux_prof.sh: Include arc-endinness.sh. > > > * emulparams/arcv2elf.sh: Include arc-endinness.sh. > > > * emulparams/arcv2elfx.sh: Include arc-endinness.sh. >=20 > It's likely that the above is responsible for breaking > --enable-targets=3Dall builds. Please fix. >=20 > base=3D`echo earcv2elf.c | sed -e 's,e\(.*\).c,\1,'`; \ > make run-genscripts "script_target=3D$base" "script_tdirname=3Dtdir_$base" > make[5]: Entering directory '/home/alan/build/gas/all/ld' > LIB_PATH=3D'' /bin/bash /src/binutils-gdb/ld/genscripts.sh "/src/binutils- > gdb/ld" "/usr/local/lib" "/usr/local" "/usr/local" x86_64-pc-linux-gnu x8= 6_64- > pc-linux-gnu x86_64-linux "elf_x86_64 elf_i386 elf32_x86_64 elf_l1om > elf_k1om" "/usr/local/lib /lib /usr/lib" yes yes arcv2elf "" > Makefile:2200: recipe for target 'run-genscripts' failed > make[5]: *** [run-genscripts] Error 1 > make[5]: Leaving directory '/home/alan/build/gas/all/ld' > Makefile:2205: recipe for target 'earcv2elf.c' failed > make[4]: *** [earcv2elf.c] Error 2 >=20 > -- > Alan Modra > Australia Development Lab, IBM --_002_098ECE41A0A6114BB2A07F1EC238DE896617D79DDE02WEMBXBinter_ Content-Type: application/octet-stream; name="fix.patch" Content-Description: fix.patch Content-Disposition: attachment; filename="fix.patch"; size=362; creation-date="Thu, 07 Apr 2016 15:14:30 GMT"; modification-date="Thu, 07 Apr 2016 15:13:04 GMT" Content-Transfer-Encoding: base64 Content-length: 493 ZGlmZiAtLWdpdCBhL2xkL2VtdWxwYXJhbXMvYXJjLWVuZGlhbm5lc3Muc2gg Yi9sZC9lbXVscGFyYW1zL2FyYy1lbmRpYW5uZXNzLnNoCmluZGV4IDRkNjE1 OGIuLmI5NzA0NjAgMTAwNjQ0Ci0tLSBhL2xkL2VtdWxwYXJhbXMvYXJjLWVu ZGlhbm5lc3Muc2gKKysrIGIvbGQvZW11bHBhcmFtcy9hcmMtZW5kaWFubmVz cy5zaApAQCAtMiw5ICsyLDcgQEAgY2FzZSAke3RhcmdldH0gaW4KICAgICBh cmNlYi0qKQogICAgICAgICBBUkNfRU5ESUFOPSJiaWciCiAgICAgICAgIDs7 Ci0gICAgYXJjLSopCisgICAgKikKICAgICAgICAgQVJDX0VORElBTj0ibGl0 dGxlIgogICAgICAgICA7OwotICAgICopCi0gICAgICAgIGV4aXQgMQogZXNh Ywo= --_002_098ECE41A0A6114BB2A07F1EC238DE896617D79DDE02WEMBXBinter_--