Executing on host: /xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/
xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/xxx/gnu/gcc/gcc/gcc/testsuite/
gfortran.fortran-torture/execute/intrinsic_set_exponent.f90  -w  -O0  
-L/xxx/gn
u/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs
-L/xxx/gnu/gcc/objdir/hppa
1.1-hp-hpux10.20/./libgfortran/.libs
-L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/
./libiberty  -lm   -o
/xxx/gnu/gcc/objdir/gcc/testsuite/gfortran/intrinsic_set_e
xponent.x    (timeout = 600)
PASS: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90 compilation,
-O0
Setting LD_LIBRARY_PATH to
.:/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfort
ran/.libs:/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs:/xxx/gnu/
gcc/objdir/gcc:.:/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs:/x
xx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/./libgfortran/.libs:/xxx/gnu/gcc/objdir/g
cc
FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90 execution, 
-O
0

This appears to a problem arising from the incorrect linking of
libgfortran.sl.2.0.  The first clue was the test passed if the program was
linked with -static.  Then, I realized that there isn't a shared version
of libm, only an archive version /lib/pa1.1/libm.a.  Removing -lm -lc
for the link command for libgfortran.sl.2.0 results in the test passing.


-- 
           Summary: FAIL: gfortran.fortran-
                    torture/execute/intrinsic_set_exponent.f90 execution
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa1.1-hp-hpux10.20
  GCC host triplet: hppa1.1-hp-hpux10.20
GCC target triplet: hppa1.1-hp-hpux10.20


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34699

Reply via email to