Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* pthreads on DEC 8400
@ 1996-03-13  5:00 William R. Pearson
  1996-03-14  5:00 ` Dave Butenhof
  0 siblings, 1 reply; 2+ messages in thread
From: William R. Pearson @ 1996-03-13  5:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-03-14  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-13  5:00 pthreads on DEC 8400 William R. Pearson
1996-03-14  5:00 ` Dave Butenhof

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