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] | |
We have run into this problem when building the Xenomai 2.3-rc2 testsuite for ARM target using Gcc 4.0.0/binutils-2.16.1/uClibc-0.9.27
We were able to create a simpler testcase and tried it on some x86-based systems.
Interstingly enough, the error is gone if the libmy.so DSO is linked without the reference to libpthread1.so, i.e.:
Regards, Sergei
Attachment:
ld-kill.tgz
Description: application/compressed-tar
--- bfd/elflink.c.orig 2006-12-25 15:33:10.000000000 +0100
+++ bfd/elflink.c 2006-12-25 15:35:24.000000000 +0100
@@ -3800,7 +3800,10 @@
{
default:
break;
-
+ case bfd_link_hash_undefined:
+ case bfd_link_hash_undefweak:
+ old_bfd = h->root.u.undef.abfd;
+ break;
case bfd_link_hash_defined:
case bfd_link_hash_defweak:
old_bfd = h->root.u.def.section->owner;
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |