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

[EMAIL PROTECTED] version-31]$ cat x.c
extern void bar (void);

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

int
__start (void)
{
  return _start ();
}
[EMAIL PROTECTED] version-31]$ cat bar.c
extern void foo (void);

void
bar (void)
{
  foo ();
}
[EMAIL PROTECTED] version-31]$ cat foo.c
void
foo (void)
{
}

asm (".symver foo,[EMAIL PROTECTED]");
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to