On Linux/x86-64, I got

[...@gnu-6 tmp]$ cat p.c
#include <pthread.h>

int
main ()
{
pthread_create(NULL, NULL, NULL, NULL);
return 0;
}
[...@gnu-6 tmp]$ gcc p.c -g  
collect2: ld terminated with signal 11 [Segmentation fault]
/tmp/cchrlmId.o: In function `main':
/tmp/p.c:6: undefined reference to `pthread_create'
[...@gnu-6 tmp]$

-- 
           Summary: Linker crash
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11817

------- 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