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]

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
settings.

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
directive:

#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
--
Roger Sayle,                         E-mail: roger@eyesopen.com
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


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