public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/13408] New: make: *** [check-gnat] Error 136
@ 2003-12-16  4:00 danglin at gcc dot gnu dot org
  2003-12-16  4:08 ` [Bug ada/13408] " danglin at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-12-16  4:00 UTC (permalink / raw)
  To: gcc-bugs

The ada testsuite dies in chapter cxg:

Running chapter cxg ...
FAIL:   cxg1003
FAIL:   cxg2001
FAIL:   cxg2002
FAIL:   cxg2003
FAIL:   cxg2004
FAIL:   cxg2006
FAIL:   cxg2007
FAIL:   cxg2010
FAIL:   cxg2011
FAIL:   cxg2012
FAIL:   cxg2013
make: *** [check-gnat] Error 136
make: Target `check-ada' not remade because of errors.

The acats.log file contains:

...
**** CXG2013 FAILED ****************************.
FAIL:   cxg2013
splitting /xxx/gnu/gcc-3.3/objdir/gcc/testsuite/ada/acats/tests/cxg/cxg2014.a in
to:
   cxg2014.adb
BUILD cxg2014.adb
RUN cxg2014

Roger Sayle's dojump.c patch has been reverted to allow ada to build on this
target.

-- 
           Summary: make: *** [check-gnat] Error 136
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.00
  GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00


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


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

* [Bug ada/13408] make: *** [check-gnat] Error 136
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
@ 2003-12-16  4:08 ` danglin at gcc dot gnu dot org
  2003-12-16 10:03 ` charlet at act-europe dot fr
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-12-16  4:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2003-12-16 03:44 -------
The cxg2014.log has the folling additional information:

   * CXG2014 cosh(2) actual:  4.06249999999999768E+00 expected:
                3.76219569108363146E+00 difference:
                3.00304308916366227E-01 max err:
                3.26318459327078156E-18.
   * CXG2014 sinh(-1) actual: -7.49999999999999632E-01 expected:
                -1.17520119364380146E+00 difference:
                4.25201193643801825E-01 max err:
                1.01932454980493402E-18.
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/ada/acats/run_all.sh: 6152 Floating exception
(coredump)


-- 


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


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

* [Bug ada/13408] make: *** [check-gnat] Error 136
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
  2003-12-16  4:08 ` [Bug ada/13408] " danglin at gcc dot gnu dot org
@ 2003-12-16 10:03 ` charlet at act-europe dot fr
  2004-01-06 14:41 ` [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux charlet at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: charlet at act-europe dot fr @ 2003-12-16 10:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at act-europe dot fr  2003-12-16 08:28 -------
Subject: Re:  New: make: *** [check-gnat] Error 136

Did you know when this started regressing ?
I suspect this one is also not Ada related, so it would be good to identify
when this started failing.

Arno


-- 


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
  2003-12-16  4:08 ` [Bug ada/13408] " danglin at gcc dot gnu dot org
  2003-12-16 10:03 ` charlet at act-europe dot fr
@ 2004-01-06 14:41 ` charlet at gcc dot gnu dot org
  2004-01-06 14:58 ` charlet at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-01-06 14:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2004-01-06 14:41 -------
Changing summary line to a more appropriate description.

Arno

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|make: *** [check-gnat] Error|acats numeric tests cxg*
                   |136                         |fail on pa/hpux


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-01-06 14:41 ` [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux charlet at gcc dot gnu dot org
@ 2004-01-06 14:58 ` charlet at gcc dot gnu dot org
  2004-01-06 18:10 ` danglin at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-01-06 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2004-01-06 14:58 -------
*** Bug 13528 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-01-06 14:58 ` charlet at gcc dot gnu dot org
@ 2004-01-06 18:10 ` danglin at gcc dot gnu dot org
  2004-01-06 18:46 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-01-06 18:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2004-01-06 18:10 -------
There's potentially two separate issues involved in this PR
and 13528:

1) The float to integer conversion of an Inf which causes a
   SIGFPU and the termination of the acats test sequence.

   This is definitely a testsuite/ada problem.  I don't have
   a copy of the IEEE spec handy but the PA-RISC 2.0 Architecture
   book indicates that an unimplemented exception is always
   signaled for this condition.

2) The failure of various cxg* tests (and some others) due
   to the error limit for the test being exceeded by a small
   amount.

I suspect that the cxg* failures have been present on the hppa2.0w-hp-hpux11
port since the acats testsuite was installed.  This report represented
the first successful build of ada since the testsuite was installed.  I
could do a build just after the testsuite was installed to see if there
was any regression from that time.  I would have to backport Roger Sayle's
loop.c patch.  It resolved the miscompilation of gnat1 which prevented
builds for a long time.

The numeric failures don't occur on the hppa-linux port.  Thus, I doubt
the problem is directly in the GCC code.  The primary differences between
the two ports are:

a) HP libc/libm versus glibc
b) Long double on hppa-linux port is the same as double.  Long double
   on hppa-hpux port uses HP "quadlib" routines in libc.
c) Linux port has flat memory model and doesn't need to be built with
   -mdisable-indexing.

`c' usually results in segmentation faults, so I doubt it is the problem.


-- 


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-01-06 18:10 ` danglin at gcc dot gnu dot org
@ 2004-01-06 18:46 ` pinskia at gcc dot gnu dot org
  2004-04-17 21:15 ` laurent at guerby dot net
  2004-09-22 22:08 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-06 18:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-06 18:46:30
               date|                            |


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-01-06 18:46 ` pinskia at gcc dot gnu dot org
@ 2004-04-17 21:15 ` laurent at guerby dot net
  2004-09-22 22:08 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2004-04-17 21:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2004-04-17 20:32 -------
The cxg are not failing for a small amount given the log you gave,
and it looks like it concerns Long_Long_Float handling.
I suspect it might be general weakness in handling Long_Long_Float
on platforms where it's not the same as Long_Float, see ada/14988

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


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent at guerby dot net


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
  2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-04-17 21:15 ` laurent at guerby dot net
@ 2004-09-22 22:08 ` danglin at gcc dot gnu dot org
  7 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-09-22 22:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2004-09-22 22:08 -------
With gcc 3.4.2 (release) on hppa2.0w-hp-hpux11.11, the nature of the failure
has changed.  The ada testuite now hangs when cxg2014 is run.

...
BUILD cxg2014.adb
gnatmake --GCC="/xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/objdir/gcc/"
 -gnatws -I/xxx/gnu/gcc-3.3/objdir/gcc/testsuite/ada/acats/support cxg2014.adb -
largs --GCC="/xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/objdir/gcc/"
/xxx/gnu/gcc-3.3/objdir/gcc/xgcc -c -B/xxx/gnu/gcc-3.3/objdir/gcc/ -gnatws -I/xx
x/gnu/gcc-3.3/objdir/gcc/testsuite/ada/acats/support cxg2014.adb
gnatbind -aO./ -I/xxx/gnu/gcc-3.3/objdir/gcc/testsuite/ada/acats/support -I- -x
cxg2014.ali
gnatlink cxg2014.ali --GCC=/xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/o
bjdir/gcc/
RUN cxg2014

The hang occurs at exactly the same point as before.  Someday I'll try
and debug this further.

-- 


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
       [not found] <bug-13408-276@http.gcc.gnu.org/bugzilla/>
  2005-10-12 19:47 ` laurent at guerby dot net
@ 2005-10-12 19:58 ` dave at hiauly1 dot hia dot nrc dot ca
  1 sibling, 0 replies; 11+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-10-12 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from dave at hiauly1 dot hia dot nrc dot ca  2005-10-12 19:58 -------
Subject: Re:  acats numeric tests cxg* fail on pa/hpux

> ------- Comment #8 from laurent at guerby dot net  2005-10-12 19:47 -------
> Fixed on 4.0.x according to:
> http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00450.html
> 
> Also on 4.1 (when 4.1 bootstraps Ada):
> http://gcc.gnu.org/ml/gcc-testresults/2005-09/msg00983.html

No, I'm afraid not.  The situation is actually worse than before.
In both those test runs, I had to kill the acats testsuite because
it hangs.  The normal timeout doesn't occur.  Thus, we didn't get
to the cxg tests.

Dave


-- 


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


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

* [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux
       [not found] <bug-13408-276@http.gcc.gnu.org/bugzilla/>
@ 2005-10-12 19:47 ` laurent at guerby dot net
  2005-10-12 19:58 ` dave at hiauly1 dot hia dot nrc dot ca
  1 sibling, 0 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2005-10-12 19:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from laurent at guerby dot net  2005-10-12 19:47 -------
Fixed on 4.0.x according to:
http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00450.html

Also on 4.1 (when 4.1 bootstraps Ada):
http://gcc.gnu.org/ml/gcc-testresults/2005-09/msg00983.html


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.3


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


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

end of thread, other threads:[~2005-10-12 19:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-16  4:00 [Bug ada/13408] New: make: *** [check-gnat] Error 136 danglin at gcc dot gnu dot org
2003-12-16  4:08 ` [Bug ada/13408] " danglin at gcc dot gnu dot org
2003-12-16 10:03 ` charlet at act-europe dot fr
2004-01-06 14:41 ` [Bug ada/13408] acats numeric tests cxg* fail on pa/hpux charlet at gcc dot gnu dot org
2004-01-06 14:58 ` charlet at gcc dot gnu dot org
2004-01-06 18:10 ` danglin at gcc dot gnu dot org
2004-01-06 18:46 ` pinskia at gcc dot gnu dot org
2004-04-17 21:15 ` laurent at guerby dot net
2004-09-22 22:08 ` danglin at gcc dot gnu dot org
     [not found] <bug-13408-276@http.gcc.gnu.org/bugzilla/>
2005-10-12 19:47 ` laurent at guerby dot net
2005-10-12 19:58 ` dave at hiauly1 dot hia dot nrc dot ca

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