This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GCC Compiler/Linker issue (/gnu//binutils-2.23/bfd/linker.c line 2254 in _bfd_generic_link_output_symbols)
- From: Ian Lance Taylor <iant at google dot com>
- To: "Vijaya Saradhi. D" <saradhi dot d at redpinesignals dot com>
- Cc: Binutils <binutils at sourceware dot org>, Hasanali Stationwala <hasanali dot stationwala at redpinesignals dot com>
- Date: Fri, 30 May 2014 06:38:27 -0700
- Subject: Re: GCC Compiler/Linker issue (/gnu//binutils-2.23/bfd/linker.c line 2254 in _bfd_generic_link_output_symbols)
- Authentication-results: sourceware.org; auth=none
- References: <53885276 dot 9020305 at redpinesignals dot com>
On Fri, May 30, 2014 at 2:42 AM, Vijaya Saradhi. D
<saradhi.d@redpinesignals.com> wrote:
>
> I am using GCC to cross compile my software. If I add a global variable
> "unsigned char myvar[4]" to my software, I am
> seeing the following issue.
>
>
> /gnu-xx-2.4.5/bin/../lib/gcc/yyy-xx-elf32/4.3.4/../../../../yyy-xx-elf32/bin/ld:
> BFD (GNU Binutils) 2.23 internal error, aborting at
> /gnu//binutils-2.23/bfd/linker.c line 2254 in
> _bfd_generic_link_output_symbols
>
> /gnu-xx-2.4.5/bin/../lib/gcc/yyy-xx-elf32/4.3.4/../../../../yyy-xx-elf32/bin/ld:
> Please report this bug.
>
> Can anyone let me know what went wrong with my compiler/linker?
You neglected to tell us what target you are using.
If it's a private port you'll need to debug your test case and figure
out how the symbol in question got into the hash table with neither a
definition nor a reference.
Ian