This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld/arc: Fix linker for big-endian arc targets
- From: Alan Modra <amodra at gmail dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, Claudiu dot Zissulescu at synopsys dot com
- Cc: binutils at sourceware dot org
- Date: Thu, 7 Apr 2016 23:36:59 +0930
- Subject: Re: [PATCH] ld/arc: Fix linker for big-endian arc targets
- Authentication-results: sourceware.org; auth=none
- References: <1459442059-12298-1-git-send-email-andrew dot burgess at embecosm dot com> <5703C510 dot 3070109 at redhat dot com>
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.
It's likely that the above is responsible for breaking
--enable-targets=all builds. Please fix.
base=`echo earcv2elf.c | sed -e 's,e\(.*\).c,\1,'`; \
make run-genscripts "script_target=$base" "script_tdirname=tdir_$base"
make[5]: Entering directory '/home/alan/build/gas/all/ld'
LIB_PATH='' /bin/bash /src/binutils-gdb/ld/genscripts.sh "/src/binutils-gdb/ld" "/usr/local/lib" "/usr/local" "/usr/local" x86_64-pc-linux-gnu x86_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
--
Alan Modra
Australia Development Lab, IBM