Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Chu, Ming <mchu@bny18.bloomberg.com>
Subject: Any known problem with pthread on alpha?
Date: Tue, 7 Oct 1997 12:17:13 EST5EDT	[thread overview]
Message-ID: <1BC316529F2@bny18.bloomberg.com> (raw)

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 <stdio.h>

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

             reply	other threads:[~1997-10-07 17:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-07 17:17 Chu, Ming [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-10-08 15:53 Any known problem with pthread on alpha? Chu, Ming
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox