public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/37623]  New: builtin-math-4 tests fail
@ 2008-09-23 13:45 tim dot vanholder at anubex dot com
  2008-09-23 13:47 ` [Bug testsuite/37623] " tim dot vanholder at anubex dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tim dot vanholder at anubex dot com @ 2008-09-23 13:45 UTC (permalink / raw)
  To: gcc-bugs

Clean build from a source tree that was the result of svn switching to the
4.3.2 release tag (was previously a 4.3.0 release I think).
make check reports a handful of errors; I'm logging each separately once I
determine the likely cause.

The builtin-math-4.c test (8 flavours) from gcc.dg fails.
Lots of linker errors for link_error in the log (which looks like the expected
failure type for the testcase).
Notable is all flavours except the -O0 one have linker errors other than the
intentional link_error ones. In particular, the gamma_r, gammal_r, gammaf_r end
up being undefined, so it looks like some not-always-builtin math routines are
also included in the test.

I'll attach the error list for the test that uses -g, as there the line numbers
of the link errors are included.


-- 
           Summary: builtin-math-4 tests fail
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tim dot vanholder at anubex dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug testsuite/37623] builtin-math-4 tests fail
  2008-09-23 13:45 [Bug testsuite/37623] New: builtin-math-4 tests fail tim dot vanholder at anubex dot com
@ 2008-09-23 13:47 ` tim dot vanholder at anubex dot com
  2008-09-23 18:34 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tim dot vanholder at anubex dot com @ 2008-09-23 13:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tim dot vanholder at anubex dot com  2008-09-23 13:45 -------
Created an attachment (id=16394)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16394&action=view)
Test results for "builtin-math-4.c -O3 -g"


-- 


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


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

* [Bug testsuite/37623] builtin-math-4 tests fail
  2008-09-23 13:45 [Bug testsuite/37623] New: builtin-math-4 tests fail tim dot vanholder at anubex dot com
  2008-09-23 13:47 ` [Bug testsuite/37623] " tim dot vanholder at anubex dot com
@ 2008-09-23 18:34 ` jakub at gcc dot gnu dot org
  2008-09-23 19:27 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-23 18:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2008-09-23 18:33 -------
That probably means you have too old mpfr.


-- 


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


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

* [Bug testsuite/37623] builtin-math-4 tests fail
  2008-09-23 13:45 [Bug testsuite/37623] New: builtin-math-4 tests fail tim dot vanholder at anubex dot com
  2008-09-23 13:47 ` [Bug testsuite/37623] " tim dot vanholder at anubex dot com
  2008-09-23 18:34 ` jakub at gcc dot gnu dot org
@ 2008-09-23 19:27 ` ebotcazou at gcc dot gnu dot org
  2008-09-24  7:04 ` tim dot vanholder at anubex dot com
  2008-09-24  7:20 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-09-23 19:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ebotcazou at gcc dot gnu dot org  2008-09-23 19:26 -------
> That probably means you have too old mpfr.

Yes, I just upgraded from 2.2.x to 2.3.1 on Solaris and the failure vanished.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug testsuite/37623] builtin-math-4 tests fail
  2008-09-23 13:45 [Bug testsuite/37623] New: builtin-math-4 tests fail tim dot vanholder at anubex dot com
                   ` (2 preceding siblings ...)
  2008-09-23 19:27 ` ebotcazou at gcc dot gnu dot org
@ 2008-09-24  7:04 ` tim dot vanholder at anubex dot com
  2008-09-24  7:20 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tim dot vanholder at anubex dot com @ 2008-09-24  7:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tim dot vanholder at anubex dot com  2008-09-24 07:03 -------
Then perhaps either configure should reject the too-old version, or the
testcase should detect this situation and either skip the tests in question
and/or report that MPFR is too old. The situation as it stands is not very
helpful.


-- 


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


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

* [Bug testsuite/37623] builtin-math-4 tests fail
  2008-09-23 13:45 [Bug testsuite/37623] New: builtin-math-4 tests fail tim dot vanholder at anubex dot com
                   ` (3 preceding siblings ...)
  2008-09-24  7:04 ` tim dot vanholder at anubex dot com
@ 2008-09-24  7:20 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-09-24  7:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ebotcazou at gcc dot gnu dot org  2008-09-24 07:18 -------
> Then perhaps either configure should reject the too-old version, or the
> testcase should detect this situation and either skip the tests in question
> and/or report that MPFR is too old. The situation as it stands is not very
> helpful.

See the comment at the beginning of the testcase.  Moreover, configure should
have reported that the version of MPFR is not optimal.


-- 


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


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

end of thread, other threads:[~2008-09-24  7:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-23 13:45 [Bug testsuite/37623] New: builtin-math-4 tests fail tim dot vanholder at anubex dot com
2008-09-23 13:47 ` [Bug testsuite/37623] " tim dot vanholder at anubex dot com
2008-09-23 18:34 ` jakub at gcc dot gnu dot org
2008-09-23 19:27 ` ebotcazou at gcc dot gnu dot org
2008-09-24  7:04 ` tim dot vanholder at anubex dot com
2008-09-24  7:20 ` ebotcazou at gcc dot gnu dot 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).