Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Building GCC 3.0 on Tru64 5.0
@ 2001-07-26 10:30 Thomas Weber
  2001-07-26 23:56 ` Tobias Ernst
  2001-08-04 14:31 ` Raptorfan
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Weber @ 2001-07-26 10:30 UTC (permalink / raw)


Hallo !

I have problems compiling the gcc 3.0 on Tru64 5.0.
It seems that the build produces an non working c++ compiler.

I followed the insallation instruction and made a "gmake bootstrap" in a 
separate directory. Configure has run without any options.

The GNU C Compiler seems to work, but testing the g++ failed.

This is the output from the configure.log:

configure:2576: checking for g++ that will successfully compile libstdc++-v3
configure:2597: /scratch/root/keep/objdir/gcc/xgcc 
-B/scratch/root/keep/objdir/gcc/ -nostdinc++  
-L/scratch/root/keep/objdir/alphaev67-dec-osf5.0/libstdc++-v3/src 
-L/scratch/root/
keep/objdir/alphaev67-dec-osf5.0/libstdc++-v3/src/.libs 
-B/usr/local/alphaev67-dec-osf5.0/bin/ 
-B/usr/local/alphaev67-dec-osf5.0/lib/ -isystem 
/usr/local/alphaev67-dec-osf5.0/incl
ude -c -g -O2 -mieee  conftest.C 1>&5
<internal>:0: Internal error #536854000.
<internal>:0: Internal compiler error in , at ^A:536853984
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
configure: failed program was:
#line 2586 "configure"
#include "confdefs.h"

int main() {

  #if __GNUC__ < 3
    not_ok
  #endif
  
; return 0; }

-----

Any suggestions ?

so long
Thomas.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Building GCC 3.0 on Tru64 5.0
  2001-07-26 10:30 Building GCC 3.0 on Tru64 5.0 Thomas Weber
@ 2001-07-26 23:56 ` Tobias Ernst
  2001-07-27 16:45   ` Thomas Weber
  2001-08-04 14:31 ` Raptorfan
  1 sibling, 1 reply; 6+ messages in thread
From: Tobias Ernst @ 2001-07-26 23:56 UTC (permalink / raw)


Hallo Thomas!

 TW> I followed the insallation instruction and made a "gmake 
 TW> bootstrap" in a
 TW> separate directory. Configure has run without any options.

Which C compiler did you use to bootstrap gcc 3.0? I had lots of 
problems when bootstrapping with an older version of gcc. I then 
bootstrapped with DEC cc on a Tru64 4.0g box, and that worked.

Viele Gr��e,
Tobias



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building GCC 3.0 on Tru64 5.0
  2001-07-26 23:56 ` Tobias Ernst
@ 2001-07-27 16:45   ` Thomas Weber
  2001-07-28 10:25     ` Tobias Ernst
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Weber @ 2001-07-27 16:45 UTC (permalink / raw)


Tobias Ernst wrote:

> Hallo Thomas!
> 
>  TW> I followed the insallation instruction and made a "gmake
>  TW> bootstrap" in a
>  TW> separate directory. Configure has run without any options.
> 
> Which C compiler did you use to bootstrap gcc 3.0? I had lots of
> problems when bootstrapping with an older version of gcc. I then
> bootstrapped with DEC cc on a Tru64 4.0g box, and that worked.

I used the cc. The gcc was never installed.

Thomas.


 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building GCC 3.0 on Tru64 5.0
  2001-07-27 16:45   ` Thomas Weber
@ 2001-07-28 10:25     ` Tobias Ernst
  0 siblings, 0 replies; 6+ messages in thread
From: Tobias Ernst @ 2001-07-28 10:25 UTC (permalink / raw)


Hallo Thomas!

 >> Which C compiler did you use to bootstrap gcc 3.0? I had lots 
 >> of problems when bootstrapping with an older version of gcc. I
 >>  then bootstrapped with DEC cc on a Tru64 4.0g box, and that 
 >> worked.

 TW> I used the cc. The gcc was never installed.

Hmm. I remeber I also ended up in bootstrapping this on 4.0g because it 
did not work on 5.0. However I did not investigate about the details of 
this (the problem was *not*, as with gcc 2.95.x, however, that the 
configure script just did not recognise 5.0 as an OSF1 variant - *this* 
problem is fixed in 3.0).

Too bad ... I don't even have a 4.0 box left now to compile gcc in case 
I'd ever need to do it again.

Viele Gr��e,
Tobias



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building GCC 3.0 on Tru64 5.0
  2001-07-26 10:30 Building GCC 3.0 on Tru64 5.0 Thomas Weber
  2001-07-26 23:56 ` Tobias Ernst
@ 2001-08-04 14:31 ` Raptorfan
  2001-08-06 10:04   ` LEUNGH2
  1 sibling, 1 reply; 6+ messages in thread
From: Raptorfan @ 2001-08-04 14:31 UTC (permalink / raw)


After fighting with GCC compilation on a few boxes at work (2100 & my
desktop 500/333) for a few months, I FINALLY got GCC3.0 to build. The two
things I did (keeping in mind I've admin-ed Tru64 for only ~7 months now):

- build gcc outside it's source tree. I could never get far building it
within it's source tree (tar xvf gcc*; mkdir foo; cd foo;
../gcc-3.0/configure <options> )

- in many places I've seen mention the 5.x assembler does things differently
than the 4.x one.. so you force the assembler to old behavior using
the -oldas option. Best way I saw this implemented was a shell script that
was basically (sorry, at home so I don't have the exact script):

#!/bin/ksh
# i think as is in /usr/bin but as I'm not on the box now I'm not saying for
sure
# the @* may also be $*; I'm having a brain fart right now
<path_to_as>/as -oldas @*

.. then setting --with-as=<as_shellscript> with configure.

- Binutils v2.11.2 is out there: build and install this first. I dunno why,
I dunno what it does, but after building and making this availabe to gcc's
configure my gcc FINALLY bootstrapped.

- it will take a while (it took around an hour on our quad-processor 300mhz
2100 with gmake -j 4). patience, grasshopper.

I'm now fighting with dejagnu building so I can run the gcc testsuite and
see what actually works vs. what may still be hosed, but I appear to have a
'mostly-functional' gcc-3.0. I say 'mostly functional' because the app I
really want to build (ddd) still bombs with the c++ compiler, but I haven't
made it that far yet.

Oh, if it matters.. I'm doing this all on 5.1 and with the cc (installed the
DEC-built gcc but it didn't work either), but what I've gathered all the 5.x
variants have similar types of issues. Of course, gcc built fine the first
time on my IRIX box. :/

-r




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building GCC 3.0 on Tru64 5.0
  2001-08-04 14:31 ` Raptorfan
@ 2001-08-06 10:04   ` LEUNGH2
  0 siblings, 0 replies; 6+ messages in thread
From: LEUNGH2 @ 2001-08-06 10:04 UTC (permalink / raw)


Didn't you read the INSTALL file? It did say 
(1) don't build gcc inside the source tree - do "( mkdir objdir; cd objdir;
../configure ...)" rather than just "./configure".
(2) if you are using a non-gcc compiler (like you are using DEC's cc) 
to build gcc, do "make bootstrap" or even "make bootstrap4" (the former 
does a 3-stage bootstrap, the 2nd does a 4 stage bootstrap).  

In article <tmo1peasa93827@corp.supernews.com>,
 "Raptorfan" <raptorfan@earthlink.net> writes:
>After fighting with GCC compilation on a few boxes at work (2100 & my
>desktop 500/333) for a few months, I FINALLY got GCC3.0 to build. The two
>things I did (keeping in mind I've admin-ed Tru64 for only ~7 months now):
>
>- build gcc outside it's source tree. I could never get far building it
>within it's source tree (tar xvf gcc*; mkdir foo; cd foo;
>../gcc-3.0/configure <options> )
>
>- in many places I've seen mention the 5.x assembler does things differently
>than the 4.x one.. so you force the assembler to old behavior using
>the -oldas option. Best way I saw this implemented was a shell script that
>was basically (sorry, at home so I don't have the exact script):
>
>#!/bin/ksh
># i think as is in /usr/bin but as I'm not on the box now I'm not saying for
>sure
># the @* may also be $*; I'm having a brain fart right now
><path_to_as>/as -oldas @*
>
>.. then setting --with-as=<as_shellscript> with configure.
>
>- Binutils v2.11.2 is out there: build and install this first. I dunno why,
>I dunno what it does, but after building and making this availabe to gcc's
>configure my gcc FINALLY bootstrapped.
>
>- it will take a while (it took around an hour on our quad-processor 300mhz
>2100 with gmake -j 4). patience, grasshopper.
>
>I'm now fighting with dejagnu building so I can run the gcc testsuite and
>see what actually works vs. what may still be hosed, but I appear to have a
>'mostly-functional' gcc-3.0. I say 'mostly functional' because the app I
>really want to build (ddd) still bombs with the c++ compiler, but I haven't
>made it that far yet.
>
>Oh, if it matters.. I'm doing this all on 5.1 and with the cc (installed the
>DEC-built gcc but it didn't work either), but what I've gathered all the 5.x
>variants have similar types of issues. Of course, gcc built fine the first
>time on my IRIX box. :/
>
>-r
>
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-08-06 10:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-26 10:30 Building GCC 3.0 on Tru64 5.0 Thomas Weber
2001-07-26 23:56 ` Tobias Ernst
2001-07-27 16:45   ` Thomas Weber
2001-07-28 10:25     ` Tobias Ernst
2001-08-04 14:31 ` Raptorfan
2001-08-06 10:04   ` LEUNGH2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox