ld from binutils version 2.19.1, but also from the trunk version, is failing to link some objects on mips and mipsel, o32 ABI, with the following error:
| ld: non-dynamic relocations refer to dynamic symbol pthread_cancel@@GLIBC_2.0 | ld: failed to set dynamic section sizes: Bad value This happens for example during the bootstrap of gcc 4.4 or in software such as mplayer. I have tracked down this regression between 2008-08-08 and 2008-08-09. That corresponds to the addition of plt support. I have been able to do a simple testcase from sources, so I will attach a tarball containing objects from gcc 4.4 and the command to link them. -- Summary: mips/ld: non-dynamic relocations refer to dynamic symbol Product: binutils Version: 2.20 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: aurelien at aurel32 dot net CC: bug-binutils at gnu dot org GCC build triplet: mips-unknown-linux-gnu GCC host triplet: mips-unknown-linux-gnu GCC target triplet: mips-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=10144 ------- 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