public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c
@ 2004-03-12 14:15 Lalit Seth
  2004-03-12 16:17 ` Scelers, Philippe
  0 siblings, 1 reply; 4+ messages in thread
From: Lalit Seth @ 2004-03-12 14:15 UTC (permalink / raw)
  To: philippe_scelers, gcc-help; +Cc: philippe_scelers


Try this

[lalit@wo gccinstall] mkdir gcc-bin

export INSTALLATION_GCC=/home/lalit/gccinstall

export srcdir=$INSTALLATION_GCC/gcc-3.2.3

export objdir=$INSTALLATION_GCC/gcc-bin

cd $objdir

$srcdir/configure \
      --enable-languages=c,c++ \
      --enable-threads=posix \
      --with-gnu-as \
      --with-gnu-ld

gmake bootstrap-lean



>From: Eljay Love-Jensen <eljay@adobe.com>
>To: "Scelers, Philippe" <philippe_scelers@mentorg.com>, 
>gcc-help@gcc.gnu.org
>CC: "Scelers, Philippe" <philippe_scelers@mentor.com>
>Subject: Re: Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) 
>fails: Bootstrap comparison failure!
>Date: Fri, 12 Mar 2004 06:33:22 -0600
>
>Hi Philippe,
>
>GCC cannot be built in the same directory as the source code.
>
>Create a build directory
>mkdir build
>cd build
>../gcc332/configure --yadayadayada
>
>HTH,
>--Eljay
>

_________________________________________________________________
Join BharatMatrimony.com. 
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?72 Unmarried? Join 
Free.

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

* Re: Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c
  2004-03-12 14:15 Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c Lalit Seth
@ 2004-03-12 16:17 ` Scelers, Philippe
  2004-03-12 17:24   ` Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails:Bootstrap c Ernesto Freyre
  2004-03-12 18:00   ` Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c Rupert Wood
  0 siblings, 2 replies; 4+ messages in thread
From: Scelers, Philippe @ 2004-03-12 16:17 UTC (permalink / raw)
  To: Lalit Seth; +Cc: gcc-help

Lalit,
I get errors because I don't have GNU as,ld (binutils configure script 
remove "ld" build on HP-UX 11.11)
Philippe
Lalit Seth wrote:

>
> Try this
>
> [lalit@wo gccinstall] mkdir gcc-bin
>
> export INSTALLATION_GCC=/home/lalit/gccinstall
>
> export srcdir=$INSTALLATION_GCC/gcc-3.2.3
>
> export objdir=$INSTALLATION_GCC/gcc-bin
>
> cd $objdir
>
> $srcdir/configure \
>      --enable-languages=c,c++ \
>      --enable-threads=posix \
>      --with-gnu-as \
>      --with-gnu-ld
>
> gmake bootstrap-lean
>
>
>
>> From: Eljay Love-Jensen <eljay@adobe.com>
>> To: "Scelers, Philippe" <philippe_scelers@mentorg.com>, 
>> gcc-help@gcc.gnu.org
>> CC: "Scelers, Philippe" <philippe_scelers@mentor.com>
>> Subject: Re: Building gcc 3.3.2 on HPUX11.11 - make bootstrap 
>> (stage3) fails: Bootstrap comparison failure!
>> Date: Fri, 12 Mar 2004 06:33:22 -0600
>>
>> Hi Philippe,
>>
>> GCC cannot be built in the same directory as the source code.
>>
>> Create a build directory
>> mkdir build
>> cd build
>> ../gcc332/configure --yadayadayada
>>
>> HTH,
>> --Eljay
>>
>
> _________________________________________________________________
> Join BharatMatrimony.com. 
> http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?72 Unmarried? 
> Join Free.
>


-- 
Philippe Scelers

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

* RE: Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails:Bootstrap c
  2004-03-12 16:17 ` Scelers, Philippe
@ 2004-03-12 17:24   ` Ernesto Freyre
  2004-03-12 18:00   ` Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c Rupert Wood
  1 sibling, 0 replies; 4+ messages in thread
From: Ernesto Freyre @ 2004-03-12 17:24 UTC (permalink / raw)
  To: gcc-help

See at http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux11

the part saying:

"The HP linker patches PHSS_26559 and PHSS_24304 for HP-UX 11.00 and 11.11,
respectively, correct the problem of linker core dumps creating C++
libraries. Earlier patches may work but they have not been tested. "

I hope this helps...

Ernesto Freyre.



Untitled DocumentErnesto Freyre Ramírez Área de Operaciones Red Privada
Virtual S.A. Av. Paseo de la República 4675 - Lima 34 Telf.: (511) 241-4122
Anexo 2245 Fax: (511) 446-8135 Visítenos en: www.qnet.com.pe
----- Original Message -----
From: Scelers, Philippe <philippe_scelers@mentorg.com>
To: Lalit Seth <laalit_seth@hotmail.com>
Cc: <gcc-help@gcc.gnu.org>
Sent: Friday, March 12, 2004 9:15 AM
Subject: Re: Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3)
fails:Bootstrap c


> Lalit,
> I get errors because I don't have GNU as,ld (binutils configure script
> remove "ld" build on HP-UX 11.11)
> Philippe
> Lalit Seth wrote:
>
> >
> > Try this
> >
> > [lalit@wo gccinstall] mkdir gcc-bin
> >
> > export INSTALLATION_GCC=/home/lalit/gccinstall
> >
> > export srcdir=$INSTALLATION_GCC/gcc-3.2.3
> >
> > export objdir=$INSTALLATION_GCC/gcc-bin
> >
> > cd $objdir
> >
> > $srcdir/configure \
> >      --enable-languages=c,c++ \
> >      --enable-threads=posix \
> >      --with-gnu-as \
> >      --with-gnu-ld
> >
> > gmake bootstrap-lean
> >
> >
> >
> >> From: Eljay Love-Jensen <eljay@adobe.com>
> >> To: "Scelers, Philippe" <philippe_scelers@mentorg.com>,
> >> gcc-help@gcc.gnu.org
> >> CC: "Scelers, Philippe" <philippe_scelers@mentor.com>
> >> Subject: Re: Building gcc 3.3.2 on HPUX11.11 - make bootstrap
> >> (stage3) fails: Bootstrap comparison failure!
> >> Date: Fri, 12 Mar 2004 06:33:22 -0600
> >>
> >> Hi Philippe,
> >>
> >> GCC cannot be built in the same directory as the source code.
> >>
> >> Create a build directory
> >> mkdir build
> >> cd build
> >> ../gcc332/configure --yadayadayada
> >>
> >> HTH,
> >> --Eljay
> >>
> >
> > _________________________________________________________________
> > Join BharatMatrimony.com.
> > http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?72 Unmarried?
> > Join Free.
> >
>
>
> --
> Philippe Scelers
>

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

* RE: Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c
  2004-03-12 16:17 ` Scelers, Philippe
  2004-03-12 17:24   ` Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails:Bootstrap c Ernesto Freyre
@ 2004-03-12 18:00   ` Rupert Wood
  1 sibling, 0 replies; 4+ messages in thread
From: Rupert Wood @ 2004-03-12 18:00 UTC (permalink / raw)
  To: 'Scelers, Philippe'; +Cc: gcc-help

Philippe Scelers wrote:

I haven't built on HPUX for ages, and never HPUX 11, but:

>    Bootstrap comparison failure!

This is a known problem when using the system assembler. It embeds a
timestamp in all object files; the bootstrap compare is a simple
file-compare and so it'll differ even for the same assembly file compiled
two different times.

In any case, the target-specific install notes:

   http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux* 

say you must use GNU as 2.11 or better.

>     *** This configuration is not supported in the following
>         subdirectories:
>          ld
>         (Any other directories should still work fine.)

That's fine - it's the assembler that's important. The system linker's
perfectly good, and you can mix GNU assembler with the system linker.

On other platforms, e.g. Solaris, the GNU linker handles C++ common sections
better than the system linker so it may better to use the GNU linker if you
can if you're compiling C++ with GCC. As you say, GNU ld didn't build on
HPUX last time I tried but the GCC target-specific notes hint that it is
possible. Perhaps there's something in the binutils docs?

Good luck,
Rup.

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

end of thread, other threads:[~2004-03-12 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-12 14:15 Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c Lalit Seth
2004-03-12 16:17 ` Scelers, Philippe
2004-03-12 17:24   ` Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails:Bootstrap c Ernesto Freyre
2004-03-12 18:00   ` Building gcc 3.3.2 on HPUX11.11 - make bootstrap (stage3) fails: Bootstrap c Rupert Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).