Compiling 4.3.3 on Tru64 V5.1b

Didier Godefroy dg@ulysium.net
Tue Apr 21 14:40:00 GMT 2009


>> I'm trying to compile gcc 4.3.3 on Tru64 Unix V5.1b.
>> I haven't been able to compile any earlier version before, I always get many
>> errors.
>> I found quite some time ago a binary install of gcc 4.0.2 and I'm using that
>> to bootstrap building 4.3.3.
>> Before showing the errors I get, I need to mention that it took about 2
>> weeks of compilation to reach this point, which I think should be fairly
>> close to the end of it.
> 
> Huhhuh... Using the same approach as in the "on Linux/x86_64 for
> Solaris2.10/x86_64" case, the compilation time would be a hour or
> less...

That's why something is very odd and someone should take a look at this.
That system isn't a pc with low ram, it's a production server with enough
ram and there isn't any swapping going on during compilation, although it
does grab nearly a whole processor for itself, so the system has to function
off the rest.
I have no troubles like this compiling other packages, this only happens
with gcc. I tried gcc 4.3.1 recently and there were a lot more errors and
the same thing happened.

>> A large part of the compilation happens extremely
>> slowly. The obj directory has reached a size of about 1.6gb now. The first
>> roughly 600mb of obj is compiled in a few hours, but then when the obj/gcc
>> directory is reached, the compilation process slows to a crawl, such as
>> taking well over 30mins for some source files to be processed. Then after
>> being done with the obj/gcc directory, the compilation then speeds up again.
> 
> Maybe there isn't enough RAM? On a 512 MB PC things will work nicely,
> no swapping on disk.

There is a lot more ram than this and no swap space is getting used during
compilation, so this isn't it (I don't think so).


>> In file included from
>> /srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include/tr1/cctype:47,
>>                  from
>> /srv/build/src/libstdc++-v3/include/precompiled/stdtr1c++.h:37:
>> /srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include/tr1_impl/cctype:43
>> : error: '::isblank' has not been declared
> 
> This sounds like there would be no declaration/prototype for the
> 'isblank' in the OSF5.1b standard header 'ctype.h'...  Is there?

That's right.

Should I send the header file?

-- 
Didier Godefroy
mailto:dg@ulysium.net
Support anti-Spam legislation.
Join the fight http://www.cauce.org/




More information about the Gcc-help mailing list