Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Fatal error in: /usr/lib/cmplrs/cc/cfe compiling pthread
@ 1994-01-26 17:19 Guojun Jin[ITG]
  1994-01-27  8:09 ` Han Pilmeyer
  0 siblings, 1 reply; 2+ messages in thread
From: Guojun Jin[ITG] @ 1994-01-26 17:19 UTC (permalink / raw)


alpha % more test.c

/*	test.c	*/
#define USE_PTHREAD
 
int     sub()
{}
 
main(argc, argv)
int     argc;
char**  argv;
{
#ifdef  USE_PTHREAD
#include <pthread.h>
pthread_t       pthr;
 
pthread_create(&pthr, pthread_attr_default, sub, &argc);
#endif
printf("too buggy\n");
}
/* end of the program	*/

alpha % cc -c test.c
Fatal error in: /usr/lib/cmplrs/cc/cfe Segmentation fault - core dumped

............................................................

What is the compiler doing?

-- 
/---------------------------------------v-------------------------------\
|	Jin Guojun, Imaging Technology	| Internet: g_jin@lbl.gov	|
|	Lawrence Berkeley Laboratory	| Usenet: ucbvax!g_jin@lbl.gov	|
|			| Bitnet:	jin%george.lbl.gov@Csa3.LBL.Gov	|


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

end of thread, other threads:[~1994-01-27  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-01-26 17:19 Fatal error in: /usr/lib/cmplrs/cc/cfe compiling pthread Guojun Jin[ITG]
1994-01-27  8:09 ` Han Pilmeyer

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