From: jin@gracie.lbl.gov (Guojun Jin[ITG])
Subject: Fatal error in: /usr/lib/cmplrs/cc/cfe compiling pthread
Date: 26 Jan 1994 17:19:58 GMT [thread overview]
Message-ID: <2i68nu$50a@overload.lbl.gov> (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 |
next reply other threads:[~1994-01-26 17:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-01-26 17:19 Guojun Jin[ITG] [this message]
1994-01-27 8:09 ` Fatal error in: /usr/lib/cmplrs/cc/cfe compiling pthread Han Pilmeyer
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