From: wrp@alpha0.bioch.virginia.edu (William R. Pearson)
Subject: pthreads on DEC 8400
Date: 1996/03/13 [thread overview]
Message-ID: <kjzq9lkp70.fsf@alpha0.bioch.Virginia.EDU> (raw)
I have a threaded program that runs fine on a dual processor DEC Alpha
2100 4/275 under OSF/1 3.0B. Unfortunately, when I compile, link and
run the program on an Alpha 8400 under DIGITAL UNIX 3.2C, I get the
following message:
================
> dbx t_compfa
dbx version 3.11.8
Type 'help' for help.
main: 102 unsigned char *aa0=NULL, *aa1, *aa1ptr;
(dbx) stop in h_init
[2] stop in h_init
(dbx) run mchu.aa protein_test.lib
signal Segmentation fault at >*[port_allocate, 0x3ff82808f5c] stq r26, 0(sp)
(dbx)
================
This happens before anything interesting (or threaded) happens in the program,
so I assume that I am linking something wrong. Here is the relevant part of
the Makefile:
================
CC= cc -g
HFLAGS= -o
THR_LIBS = -lcmalib -lpthreads
$(CC) $(HFLAGS) t_compfa (lots of .o files) -lm $(THR_LIBS)
================
Could someone tell me the correct link options and libraries to use for
a pthread'ed program on a DEC Alpha 8400 using V3.2C?
Bill Pearson
next reply other threads:[~1996-03-13 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-13 5:00 William R. Pearson [this message]
1996-03-14 5:00 ` pthreads on DEC 8400 Dave Butenhof
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