When objects have been built with gcc's "-fasynchronous-unwind-tables" option, linking them can produce a segfault in ld. This occurred when trying to build a recent Linux kernel with frame unwinding information. I've narrowed it down to a simpler test case, which uses the kernel's link script and a couple of test C files. Enabling "-fasynchronous-unwind-tables" when building the objects causes a subsequent link to crash ld, while disabling that option causes ld to continue successfully (giving the user an error and then exiting).
ARM EABI toolchain: binutils 2.17, gcc 4.1.1, built with CrossTool 0.42 Also tried CodeSourcery's 2006q1-6 toolchain (uses binutils 2.16.91), which experiences the same problem Will follow up with test files -- Summary: Segmentation fault when using Linux kernel link script Product: binutils Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: MatthewLCreech at eaton dot com CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: arm-none-linux-gnueabi http://sourceware.org/bugzilla/show_bug.cgi?id=3206 ------- 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