This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add ld_list_options
- From: Steve Ellcey <sellcey at imgtec dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: <binutils at sourceware dot org>
- Date: Wed, 8 Apr 2015 09:32:11 -0700
- Subject: Re: [PATCH] Add ld_list_options
- Authentication-results: sourceware.org; auth=none
- References: <20150407171257 dot GA28936 at intel dot com> <1428509754 dot 30498 dot 97 dot camel at ubuntu-sellcey>
- Reply-to: <sellcey at imgtec dot com>
I have verified that this is the checkin where my linker configure
started failing.
Steve Ellcey
sellcey@imgtec.com
On Wed, 2015-04-08 at 09:15 -0700, Steve Ellcey wrote:
> On Tue, 2015-04-07 at 10:12 -0700, H.J. Lu wrote:
> > This patch adds ld_list_options for ELF targets to avoid duplicated
> > outputs from ld --help. Any comments, suggestions or objections?
> >
> > H.J.
> > --
> > * Makefile.am (ELF_CLFAGS): New.
> > (AM_CFLAGS): Add $(ELF_CLFAGS).
> > * configure.ac (elf_list_options): New. AC_SUBST.
> > (elf_shlib_list_options): Likewise.
> > (elf_plt_unwind_list_options): Likewise.
> > * lexsup.c (elf_shlib_list_options): New.
> > (elf_static_list_options): Likewise.
> > (elf_plt_unwind_list_options): Likewise.
> > (ld_list_options): Likewise.
> > (help): Call ld_list_options.
> > * Makefile.in: Regenerated.
> > * configure: Likewise.
> > * emulparams/plt_unwind.sh (PLT_UNWIND): New.
> > (PARSE_AND_LIST_OPTIONS): Removed.
> > * emultempl/elf32.em (gld_list_options): New.
> > (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
> > PARSE_AND_LIST_OPTIONS is defined.
> > (ld_${EMULATION_NAME}_emulation): Replace
> > gld${EMULATION_NAME}_list_options with ${gld_list_options.
>
> I am not entirely sure this patch is at fault (I will double check) but
> this morning when I tried to build a cross linker (running on x86 linux
> and targetting mips-mti-linux-gnu) I got this failure during the ld
> configure:
>
>
> checking whether ANSI C string concatenation works... yes
> checking size of void *... 8
> /scratch/sellcey/repos/sim-bug/src/binutils/ld/configure: unhandled
> emulation
> make: *** [configure-ld] Error 1
> Error: Make command failed, stopping build.
>
>
> Has anyone else seen this?
>
> Steve Ellcey
> sellcey@imgtec.com
>