This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Bootstrap failure on Sparc Solaris2.8


As requested:

/*
 * macros - default initializers defined as in synch.h
 * Any change here should be reflected in synch.h.
 *
 * NOTE:
 * Make sure that any change in the macros is consistent with the definition
 * of the corresponding types in sys/types.h (e.g. PTHREAD_MUTEX_INITIALIZER
 * should be consistent with the definition for pthread_mutex_t).
 */
/* = DEFAULTMUTEX */
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
#define PTHREAD_MUTEX_INITIALIZER       {{0, 0, 0, 0, 0}, {{{0}}}, 0}
#else
#define PTHREAD_MUTEX_INITIALIZER       {{0, 0, 0, 0, 0}, {{{0}}}, {0}}
#endif
 
#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
#define PTHREAD_COND_INITIALIZER        {{{0}, 0}, 0}   /* = DEFAULTCV */
#else
#define PTHREAD_COND_INITIALIZER        {{{0}, 0}, {0}} /* = DEFAULTCV */
#endif



-------Original Message-------
From: Eric Botcazou <ebotcazou@libertysurf.fr>
Sent: 05/27/03 03:06 PM
To: Josh <sundog@mindspring.com>
Subject: Re: Bootstrap failure on Sparc Solaris2.8

> 
> >   There is in fact a pthread.h header file in my $(objdir)/gcc/include
> directory

Ok, this means that at least one fix was applied to the header. Now could
you 
post the definitions of the two macros at stake, i.e 

   	PTHREAD_MUTEX_INITIALIZER

and

   	PTHREAD_COND_INITIALIZER,

as they appear in this header file, including any surrounding #if/#endif?

-- 
Eric Botcazou
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]