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

784 unexpected failures with g77-3.3 on HP-UX 11.11 (long)

After building a copy of GCC 3.0 for HP PA-RISC systems, we
began trying to use g77 to see if it would serve as a
replacement for the obsolete HP Fortran 77. However the
compiled code did not behave as expected, so I used the
test suite to see if the problem was particular to the build
or something more general in GCC. Unfortunately the test did
not go well.

The GCC was built using binutils, bison 1.875, flex
2.5.4a, make 3.80, and m4 1.4. I built a copy on HP-UX 11.11
using the HP aC++ compiler version C.03.30, then I used that
compiled version to bootstrap another copy of GCC. The later
is the version I am using for the test. I used the following
configure options in the final build:

  ../gcc-3.3/configure \
    --with-ld=/usr/bin/ld \
    --with-gnu-as \
    --with-as=/opt/gnu/bin/as \

The gcc program has been working fine, and I've used it to
build several other open source packages.

When I performed the test using the testsuite, I used DejaGnu
1.43, tcl 8.4.3, and expect 5.39. With the SD-packaged version
of GCC 3.3 I had built, I started with a clean copy of the GCC
3.3 source and used the following configure options:

  ./configure \
    --with-ld=/usr/bin/ld \

I also set the PATH to include /opt/gnu/bin and SHLIB_PATH to
include /opt/gnu/lib. Unfortunately the g77 portion of the test
suite failed miserably. The results looked like the following...
(with most of the FAIL messages snipped out for brevity):

|=== g77 tests ===
|Schedule of variations:
|    unix
|    Running target unix
|    Using /opt/gnu/share/dejagnu/baseboards/unix.exp as
|    board description
|    file for target.
|    Using /opt/gnu/share/dejagnu/config/unix.exp as
|    generic interface file
|    for target.
|    Using /root/gcc-3.3/gcc/testsuite/config/default.exp
|    as
|    tool-and-target-specific interface file.
|    Running
|    /root/gcc-3.3/gcc/testsuite/g77.dg/bprob/bprob.exp
|    ...
|    FAIL: g77.dg/bprob/g77-bprob-1.f execution,    -g
|    -fprofile-arcs
|    FAIL: g77.dg/bprob/g77-bprob-1.f execution,    -O0
|    -fprofile-arcs
|    FAIL: g77.dg/bprob/g77-bprob-1.f execution,    -O1
|    -fprofile-arcs
|    FAIL: g77.dg/bprob/g77-bprob-1.f execution,    -O2
|    -fprofile-arcs
|    FAIL: g77.dg/bprob/g77-bprob-1.f execution,    -O3
|    -fprofile-arcs
|    FAIL: g77.f-torture/execute/cpp2.F execution,  -O3 -g
|    FAIL: g77.f-torture/execute/cpp2.F execution,  -Os
|    Running
|    === g77 Summary ===
|    # of expected passes            1031
|    # of unexpected failures        784
|    # of unresolved testcases       14
|    # of unsupported tests          8
|    /opt/gnu/bin/g77 version 3.3

I looked at the g77.log file, and saw a bunch of errors of the

|    /usr/lib/ Can't find path for shared library:
|    /usr/lib/ No such file or directory
|    FAIL: g77.dg/bprob/g77-bprob-1.f execution,    -g 

It looks like the test suite isn't finding, even
though I have it in SHLIB_PATH. The GCC lib directory does
include the libg2c.a and libraries, and a link
from to

So at this point I'm at somewhat of an impass. I'm speculating
that there is a option to configure that I need to use, or I
need to perform some type of manual tweak to the Makefile. But
I'm too much of a newbie at GCC to know.

Is there anybody that could provide some useful advice to help
me resolve this issue? Please let me know what other information
you require. Thank you.

  Bob Hall

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

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