From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1BC316529F2@bny18.bloomberg.com> Date: Tue, 7 Oct 1997 12:17:13 EST5EDT From: Chu, Ming Subject: Any known problem with pthread on alpha? Hi, We got core dump (Segmentation fault) just for linking in the pthread lib. Any idea or suggestion? Thanks. Ming ----------------------------------------------------------------------- mchu@randy:~/bbserver2$ cat test.c #include void main(void) { fprintf(stderr,"hello world\n"); return; } mchu@randy:~/bbserver2$ mchu@randy:~/bbserver2$ gcc -o test test.c -lpthread mchu@randy:~/bbserver2$ ./test Segmentation fault (core dumped) mchu@randy:~/bbserver2$ mchu@randy:~/bbserver2$ ls -l /usr/lib/libpthread* /lib/libpthread* -rwxr-xr-x 1 root root 84081 Apr 10 16:32 /lib/libpthread-0.5.so* lrwxrwxrwx 1 root root 17 Mar 9 2017 /lib/libpthread.so.0 -> libpthread-0.5.so* -rw-r--r-- 1 root root 120024 Apr 10 16:32 /usr/lib/libpthread.a lrwxrwxrwx 1 root root 25 Mar 9 2017 /usr/lib/libpthread.so -> ../../lib/libpthread.so.0* -rw-r--r-- 1 root root 127382 Apr 10 16:32 /usr/lib/libpthread_p.a mchu@randy:~/bbserver2$ mchu@randy:~/bbserver2$ rpm -qf /lib/libpthread-0.5.so /usr/lib/libpthread.a /usr/lib/libpthread_p.a glibc-0.961212-5 glibc-static-0.961212-5 glibc-profile-0.961212-5 mchu@randy:~$ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com