This is the mail archive of the gcc-help@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]

Anyone manage to build gcc/g++ 2.95[.1] on HP-UX 10.20 hppa1.1?


I have successfully built many releases of egcs on HP-UX 10.20 running on an
hppa1.1 in the past, but I have been completely UNsuccessful w.r.t. gcc/g++
2.95[.1] (using gas v2.9.1).

I HAVE managed to build gcc/g++ 2.95[.1] on HP-UX 10.20 running on an hppa2.0
(using gas Cygnus-snapshot 990823) AND on HP-UX 11.00 running on an hppa1.1
(using gas v2.9.1).

However, when I try on HP-UX 10.20 running on an hppa1.1 (using gas v2.9.1 OR
Cygnus-snapshot 990823), the "gmake compare" fails with LOTS of .o files.

Here is a rough idea of what I did:

    # unpack, configure, build and install gas
    cd /home/fsa001/ghudspit/tools/gcc/2.95
    gzip -c -d src/binutils-2.9.1.tar.gz | tar xf -
    mkdir binutils-2.9.1-hpux10
    cd binutils-2.9.1-hpux10
    ../binutils-2.9.1/configure \
        --prefix=/home/fsa001/ghudspit/tools/gcc/2.95/HP-UX_B
    gmake all-gas
    gmake install-gas
    
    # add gas into PATH
    PATH=/home/fsa001/ghudspit/tools/gcc/2.95/HP-UX_B/bin:$PATH
    
    # unpack gcc/g++
    cd /home/fsa001/ghudspit/tools/gcc/2.95
    gzip -c -d src/gcc-core-2.95.1.tar.gz | tar xf -
    gzip -c -d src/gcc-g++-2.95.1.tar.gz | tar xf -
    
    # definitely make sure that gcc/g++ build can find gas
    mkdir -p gcc-2.95.1-hpux10/gcc
    cp /home/fsa001/ghudspit/tools/gcc/2.95/HP-UX_B/bin/as \
        gcc-2.95.1-hpux10/gcc
    
    # configure and build gcc/g++
    cd gcc-2.95.1-hpux10
    ../gcc-2.95.1/configure \
        --prefix=/home/fsa001/ghudspit/tools/gcc/2.95/HP-UX_B --with-gnu-as
    gmake bootstrap

All goes well until the "gmake compare" part of the "gmake bootstrap" command.
Then I get errors along the lines of:

    Bootstrap comparison failure!
    alias.o differs
    alloca.o differs
    bitmap.o differs
    c-aux-info.o differs
    c-common.o differs
    c-decl.o differs
    c-iterate.o differs
    ...
    cp/typeck.o differs
    cp/typeck2.o differs
    cp/xref.o differs
    gmake[1]: *** [compare] Error 1

Anyone able to shed some light on this? Anyone managed to build this
configuration (WITH gas)? Please tell me I am doing something stupid!

    Graham.
begin:vcard 
n:Hudspith;Graham
tel;fax:+44 1666 83 2925
tel;work:+44 1666 83 2372
x-mozilla-html:TRUE
org:Lucent Technologies NSUK
version:2.1
email;internet:geordie@lucent.com
title:Principal Engineer
adr;quoted-printable:;;Bldg 7, Greenways Business Park=0D=0ABellinger Close;Chippenham;Wiltshire;SN15 1BN;United Kingdom
x-mozilla-cpt:;29728
fn:Graham Hudspith
end:vcard

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