bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils-2.18 on Solaris 2.6 - ld_elf32_sparc_emulation


From: Gary E Barnes
Subject: Re: binutils-2.18 on Solaris 2.6 - ld_elf32_sparc_emulation
Date: Mon, 12 Nov 2007 16:23:39 -0800

That is what it was.  Thank you.  There is a line in genscripts.sh that 
says,

   local lineno=$[${BASH_LINENO[0]} + 1]

That line produced "../../binutils-2.18/ld/genscripts.sh: 
${BASH_LINENO[0]} + 1: bad substitution" messages but nothing failed (make 
saw no error status).  If I change that line to "local lineno=42" then 
eelf32_sparc.c is no longer empty and the linking of ld-new completes.

        Gary




Alan Modra <address@hidden> 
11/12/2007 01:42 PM

To
Gary E Barnes/Cupertino/address@hidden
cc
address@hidden
Subject
Re: binutils-2.18 on Solaris 2.6 - ld_elf32_sparc_emulation






On Mon, Nov 12, 2007 at 11:39:18AM -0800, Gary E. Barnes wrote:
> 
> The ld-new executable (module ldemul.o) expects ld_elf32_sparc_emulation 
to
> come from somewhere.  It apparently does not exist.  The only two places 
in
> the source code where that name is present are both in ldemul-list.h.
> 
> ./ld/ldemul-list.h:2:extern ld_emulation_xfer_type 
ld_elf32_sparc_emulation;
> ./ld/ldemul-list.h:5:  &ld_elf32_sparc_emulation, \

You should also find it here
ld/eelf32_sparc.c:struct ld_emulation_xfer_struct ld_elf32_sparc_emulation 
=

eelf32_sparc.c is built by genscripts.sh from emultempl/elf32.em and
other files, so it might be that genscripts.sh is not being
interpreted correctly by your shell.

-- 
Alan Modra
Australia Development Lab, IBM






reply via email to

[Prev in Thread] Current Thread [Next in Thread]