This is the mail archive of the
mailing list for the GCC project.
Compaq Tru64 bootstrap problems
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: <gcc at gcc dot gnu dot org>, Neil Booth <neil at daikokuya dot demon dot co dot uk>, Zack Weinberg <zack at codesourcery dot com>
- Date: Thu, 30 May 2002 13:54:58 -0600 (MDT)
- Subject: Compaq Tru64 bootstrap problems
Richard Henderson wrote:
> Roger Sayle wrote:
> > Unfortunately, CVS isn't bootstrapping for me on alphaev67-dec-osf5.1
> > at the moment.
> Really? It built for me on linux on Friday...
I've taken the time to track down the cause of my bootstrap problems
on mainline CVS. I believe its caused by the recent reorganization of
CPP predefined macros, specifically those relating to current language
The bootstrap is failing because libgcc2.c includes <time.h> via
"tsystem.h". On OSF 5.1, <time.h> includes <sys/timers.h> which
fails to compile complaining of an incomplete type for "it_interval".
The cause is that it_interval is defined as "struct timespec" and
with the recent changes timespec is no longer being defined.
Normally, <sys/timers.h> gets its definition of "struct timespec"
from <sys/timemisc.h> where the definition is guarded by the CPP
#if defined(__LANGUAGE_C__) || defined(__cplusplus)
My guess is that with the recent predefines reorganization we are
no longer defining "__LANGUAGE_C__" on alpha*-dec-osf5.1. Hopefully,
the fix is trivial, but if not I can file a GNATS bootstrap PR.
Roger Sayle, E-mail: firstname.lastname@example.org
OpenEye Scientific Software, WWW: http://www.eyesopen.com/
Suite 1107, 3600 Cerrillos Road, Tel: (+1) 505-473-7385
Santa Fe, New Mexico, 87507. Fax: (+1) 505-473-0833