Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 1997 17:16:20 +0400 (MSD)
From:      "Sergey S. Kosyakov" <ks@itp.ac.ru>
To:        freebsd-smp@freebsd.org
Subject:   Help with pthreads
Message-ID:  <XFMail.970822172442.ks@itp.ac.ru>

next in thread | raw e-mail | index | archive | help

Hi !

I successfully start SMP on my 2xP120 box. Things like "make -j n all" work
fine. But I met a lot of troubles while trying compile some short
program with treads using. This program do matrix multiplication
and works fine on DEC UNIX using DEC threads.
When I compile as:
        cc -o multp multp.c -lc_r
the program does not start the second thread

The next case:
        cc -nostdlib -o multp multp.c -lc_r /usr/lib/crt0.o -lgcc
it crashes with core dump (bus error).

Please, help me - does pthread library works on FreeBSD-970807-SNAP
and if so how to use it?

Regards,

Sergey Kosyakov
Landau Institute for Theoretical Physics
E-Mail: Sergey S. Kosyakov <ks@itp.ac.ru>
Date: 22-Aug-97
Time: 17:16:21
----------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970822172442.ks>