public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* GCC Compiler/Linker issue (/gnu//binutils-2.23/bfd/linker.c line 2254 in _bfd_generic_link_output_symbols)
@ 2014-05-30  9:42 Vijaya Saradhi. D
  2014-05-30 13:38 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Vijaya Saradhi. D @ 2014-05-30  9:42 UTC (permalink / raw)
  To: binutils; +Cc: Hasanali Stationwala

Dear Experts,
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?

Thanks in advance,
Regards,
Saradhi



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCC Compiler/Linker issue (/gnu//binutils-2.23/bfd/linker.c line 2254 in _bfd_generic_link_output_symbols)
  2014-05-30  9:42 GCC Compiler/Linker issue (/gnu//binutils-2.23/bfd/linker.c line 2254 in _bfd_generic_link_output_symbols) Vijaya Saradhi. D
@ 2014-05-30 13:38 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2014-05-30 13:38 UTC (permalink / raw)
  To: Vijaya Saradhi. D; +Cc: Binutils, Hasanali Stationwala

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-30 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-30  9:42 GCC Compiler/Linker issue (/gnu//binutils-2.23/bfd/linker.c line 2254 in _bfd_generic_link_output_symbols) Vijaya Saradhi. D
2014-05-30 13:38 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).