This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Compiler/Linker issue (/gnu//binutils-2.23/bfd/linker.c line 2254 in _bfd_generic_link_output_symbols)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]