cat > a.c <<EOF
extern int foo (void);
int
main (void)
{
return foo ();
}
EOF
gcc -fpie -pie --unresolved-symbols=ignore-all a.c -o a
segfaults in the linker on
/* Since there's no PLT entry, Validate that this is
locally defined. */
BFD_ASSERT (undef_weak_ref || sym_sec->output_section != NULL);
(sym_sec is apparently NULL).
--
Summary: --unresolved-symbols=ignore-all issues on ia64
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: jakub at redhat dot com
CC: bug-binutils at gnu dot org
GCC target triplet: ia64-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=4409
------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils