public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
@ 2011-12-19  0:28 danglin at gcc dot gnu.org
  2011-12-19  1:04 ` [Bug fortran/51616] " kargl at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-12-19  0:28 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51616
           Summary: [4.7 Regression] gfortran.dg/quad_2.f90 fails on
                    hppa*-*-hpux*
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org


Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/quad_
2.f90    -O0   -pedantic-errors 
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./
libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.li
bs -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs  -lm   -o
./quad_2.exe    (timeout = 300)/usr/ccs/bin/ld: Unsatisfied symbols:   sqrtl
(first referenced in /var/tmp//cc8hxOpo.o) (code)collect2: error: ld returned 1
exit statuscompiler exited with status 1output is:
/usr/ccs/bin/ld: Unsatisfied symbols:
   sqrtl (first referenced in /var/tmp//cc8hxOpo.o) (code)
collect2: error: ld returned 1 exit status

FAIL: gfortran.dg/quad_2.f90  -O0  (test for excess errors)


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
@ 2011-12-19  1:04 ` kargl at gcc dot gnu.org
  2011-12-19  1:29 ` dave.anglin at bell dot net
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-12-19  1:04 UTC (permalink / raw)
  To: gcc-bugs

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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2011-12-19 00:55:56 UTC ---
(In reply to comment #0)
> Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
> -B
> /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
> -B/test/gnu/gcc/objdir/hppa2.
> 0w-hp-hpux11.11/./libgfortran/
> /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/quad_
> 2.f90    -O0   -pedantic-errors 
> -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./
> libgfortran/.libs
> -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.li
> bs -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
> -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
> -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
> -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs  -lm   -o
> ./quad_2.exe    (timeout = 300)/usr/ccs/bin/ld: Unsatisfied symbols:   sqrtl
> (first referenced in /var/tmp//cc8hxOpo.o) (code)collect2: error: ld returned 1
> exit statuscompiler exited with status 1output is:
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    sqrtl (first referenced in /var/tmp//cc8hxOpo.o) (code)
> collect2: error: ld returned 1 exit status
> 
> FAIL: gfortran.dg/quad_2.f90  -O0  (test for excess errors)

Well, the obvious questions is "Does hpux11 have a sqrtl() in libm?"

Possibly, relates to PR 51057


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
  2011-12-19  1:04 ` [Bug fortran/51616] " kargl at gcc dot gnu.org
@ 2011-12-19  1:29 ` dave.anglin at bell dot net
  2011-12-19  1:45 ` sgk at troutmask dot apl.washington.edu
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave.anglin at bell dot net @ 2011-12-19  1:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from dave.anglin at bell dot net 2011-12-19 01:03:44 UTC ---
On 18-Dec-11, at 7:55 PM, kargl at gcc dot gnu.org wrote:

> Well, the obvious questions is "Does hpux11 have a sqrtl() in libm?"

No.  It only has basic quad arithmetic.  Previously, the libquadmath  
version was
used.

>
> Possibly, relates to PR 51057

I filed a separate bug because I thought it was a different issue.

Dave
--
John David Anglin    dave.anglin@bell.net


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
  2011-12-19  1:04 ` [Bug fortran/51616] " kargl at gcc dot gnu.org
  2011-12-19  1:29 ` dave.anglin at bell dot net
@ 2011-12-19  1:45 ` sgk at troutmask dot apl.washington.edu
  2011-12-19  1:49 ` danglin at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2011-12-19  1:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-12-19 01:30:19 UTC ---
On Mon, Dec 19, 2011 at 01:03:44AM +0000, dave.anglin at bell dot net wrote:
> >
> > Possibly, relates to PR 51057
> 
> I filed a separate bug because I thought it was a different issue.
> 

I said 'related' not 'duplicate'.  In both cases, sqrtl() is
not found.


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-12-19  1:45 ` sgk at troutmask dot apl.washington.edu
@ 2011-12-19  1:49 ` danglin at gcc dot gnu.org
  2011-12-19  2:24 ` sgk at troutmask dot apl.washington.edu
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-12-19  1:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2011-12-19 01:45:16 UTC ---
Possibly, you referred to the wrong PR.  PR 51057 is about the precision
of IBM long double.


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-12-19  1:49 ` danglin at gcc dot gnu.org
@ 2011-12-19  2:24 ` sgk at troutmask dot apl.washington.edu
  2011-12-19  9:23 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2011-12-19  2:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-12-19 02:21:34 UTC ---
On Mon, Dec 19, 2011 at 01:45:16AM +0000, danglin at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51616
> 
> --- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2011-12-19 01:45:16 UTC ---
> Possibly, you referred to the wrong PR.  PR 51057 is about the precision
> of IBM long double.
> 

Read the entire PR.  You'll eventually find the thread
starting at

http://gcc.gnu.org/ml/fortran/2011-11/msg00051.html

hpux11 appears to be yet another OS that has sufficient quad
support that gfortran detects a REAL(16) type, but the OS
lacks the basic libm functions.


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-12-19  2:24 ` sgk at troutmask dot apl.washington.edu
@ 2011-12-19  9:23 ` rguenth at gcc dot gnu.org
  2011-12-19 13:13 ` dave.anglin at bell dot net
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-19  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-12-19  9:23 ` rguenth at gcc dot gnu.org
@ 2011-12-19 13:13 ` dave.anglin at bell dot net
  2011-12-30 15:49 ` danglin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave.anglin at bell dot net @ 2011-12-19 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from dave.anglin at bell dot net 2011-12-19 13:05:34 UTC ---
On 18-Dec-11, at 9:21 PM, sgk at troutmask dot apl.washington.edu wrote:

> http://gcc.gnu.org/ml/fortran/2011-11/msg00051.html
>
> hpux11 appears to be yet another OS that has sufficient quad
> support that gfortran detects a REAL(16) type, but the OS
> lacks the basic libm functions.


Yes.

--
John David Anglin    dave.anglin@bell.net


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-12-19 13:13 ` dave.anglin at bell dot net
@ 2011-12-30 15:49 ` danglin at gcc dot gnu.org
  2012-01-12  6:56 ` burnus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-12-30 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> 2011-12-30 15:40:59 UTC ---
(In reply to comment #5)
> hpux11 appears to be yet another OS that has sufficient quad
> support that gfortran detects a REAL(16) type, but the OS
> lacks the basic libm functions.

Except possibly for hpux11.31, the OS only provides support for
basic arithmetic operations.  These are soft implementations.
GCC has supported these operations for many years.  This is why
gfortran detects a REAL(16) type. The support is sufficient to
build libquadmath.  As far as I know, it works correctly (no
errors in testsuite).

There was some discussion last year about adding support
to provide `l' aliases to the `q' routines in libquadmath.


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2011-12-30 15:49 ` danglin at gcc dot gnu.org
@ 2012-01-12  6:56 ` burnus at gcc dot gnu.org
  2012-01-12  7:58 ` burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-12  6:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-12 06:54:04 UTC ---
Author: burnus
Date: Thu Jan 12 06:53:59 2012
New Revision: 183121

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183121
Log:
2012-01-12  Dominique d'Humieres  <dominiq@lps.ens.fr>
            Tobias Burnus  <burnus@net-b.de>

        PR fortran/51057
        PR fortran/51616
        * lib/target-supports.exp
        (check_effective_target_fortran_largest_fp_has_sqrt): New.
        * gfortran.dg/quad_2.f90: Use it, add pattern for IBM's
        real(16).


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/quad_2.f90
    trunk/gcc/testsuite/lib/target-supports.exp


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2012-01-12  6:56 ` burnus at gcc dot gnu.org
@ 2012-01-12  7:58 ` burnus at gcc dot gnu.org
  2012-01-13 18:55 ` steven at gcc dot gnu.org
  2012-01-15 20:26 ` burnus at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-12  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-12 07:57:53 UTC ---
Please confirm that it no longer fails.

There is now a dg-effective-target check which does not run the test case if
for the highest available floating-point data type (here: REAL(16)) no sqrt
function is available.

Thus, the test case will no longer fail as it is not run.


(In reply to comment #7)
> There was some discussion last year about adding support
> to provide `l' aliases to the `q' routines in libquadmath.

I think one could add - for HPUX - a configure test whether (a) libquadmath can
be build, (b) whether "long double" and __float128 are the same, and (c)
whether "sqrtl" is not available. If this is fulfilled, one could provide the
symbols in libquadmath. But that's a different issue and should be started by
someone who has access to such a system.


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2012-01-12  7:58 ` burnus at gcc dot gnu.org
@ 2012-01-13 18:55 ` steven at gcc dot gnu.org
  2012-01-15 20:26 ` burnus at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: steven at gcc dot gnu.org @ 2012-01-13 18:55 UTC (permalink / raw)
  To: gcc-bugs

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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-01-13
                 CC|                            |steven at gcc dot gnu.org
     Ever Confirmed|0                           |1


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

* [Bug fortran/51616] [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux*
  2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2012-01-13 18:55 ` steven at gcc dot gnu.org
@ 2012-01-15 20:26 ` burnus at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-15 20:26 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-15 19:46:55 UTC ---
(In reply to comment #0)
> Executing on host: [...] hppa2.0w-hp-hpux11.11/./libgfortran/
> FAIL: gfortran.dg/quad_2.f90  -O0  (test for excess errors)

http://gcc.gnu.org/ml/gcc-testresults/2012-01/msg01427.html shows that
4.7.0 20120113 (experimental) [trunk revision 183162] (GCC) testsuite
on hppa64-hp-hpux11.11  has no gfortran failures.

While that's not on hppa2.0 as in the the original report (comment 0), also
happa64 showed the failure, cf.
http://gcc.gnu.org/ml/gcc-testresults/2012-01/msg01078.html

Thus: Closed as fixed. Feel free to reopen if it shows up on hppa2.0.

Thanks again for the report.


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

end of thread, other threads:[~2012-01-15 19:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-19  0:28 [Bug fortran/51616] New: [4.7 Regression] gfortran.dg/quad_2.f90 fails on hppa*-*-hpux* danglin at gcc dot gnu.org
2011-12-19  1:04 ` [Bug fortran/51616] " kargl at gcc dot gnu.org
2011-12-19  1:29 ` dave.anglin at bell dot net
2011-12-19  1:45 ` sgk at troutmask dot apl.washington.edu
2011-12-19  1:49 ` danglin at gcc dot gnu.org
2011-12-19  2:24 ` sgk at troutmask dot apl.washington.edu
2011-12-19  9:23 ` rguenth at gcc dot gnu.org
2011-12-19 13:13 ` dave.anglin at bell dot net
2011-12-30 15:49 ` danglin at gcc dot gnu.org
2012-01-12  6:56 ` burnus at gcc dot gnu.org
2012-01-12  7:58 ` burnus at gcc dot gnu.org
2012-01-13 18:55 ` steven at gcc dot gnu.org
2012-01-15 20:26 ` burnus at gcc dot gnu.org

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).