bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/3351] aborting at elflink.c line 6778 in elf_link_check_versione


From: hjl at lucon dot org
Subject: [Bug ld/3351] aborting at elflink.c line 6778 in elf_link_check_versioned_symbol
Date: 17 Oct 2006 19:24:05 -0000

------- Additional Comments From hjl at lucon dot org  2006-10-17 19:24 -------
Here is a simple testcase:

address@hidden version-31]$ cat x.c
extern void bar (void);

int
_start (void)
{
  bar ();
  return 0;
}

int
__start (void)
{
  return _start ();
}
address@hidden version-31]$ cat bar.c
extern void foo (void);

void
bar (void)
{
  foo ();
}
address@hidden version-31]$ cat foo.c
void
foo (void)
{
}

asm (".symver foo,address@hidden");
address@hidden version-31]$ make
gcc -O   -c -o x.o x.c
gcc -O -fPIC   -c -o bar.o bar.c
./ld -shared -o libbar.so bar.o
gcc -O   -c -o foo.o foo.c
./ld -o x x.o libbar.so foo.o
./ld: BFD 2.17.50 20061017 assertion fail
/export/gnu/src/binutils-import/binutils/bfd/elflink.c:6755
./ld: ./ld: BFD 2.17.50 20061017 internal error, aborting at
/export/gnu/src/binutils-import/binutils/bfd/bfd.c line 506 in
_bfd_default_error_handler

./ld: Please report this bug.

make: *** [x] Error 1
address@hidden version-31]$


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|ia64-linux-gnu              |


http://sourceware.org/bugzilla/show_bug.cgi?id=3351

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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