Bug 10163 - [ia64] Errors math testsuite on ia64
Summary: [ia64] Errors math testsuite on ia64
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-17 18:55 UTC by Aurelien Jarno
Modified: 2014-07-01 20:29 UTC (History)
5 users (show)

See Also:
Host: ia64-unknown-linux-gnu
Target: ia64-unknown-linux-gnu
Build: ia64-unknown-linux-gnu
Last reconfirmed:
fweimer: security-


Attachments
Patch to fix 9 of the 17 errors in test-float, test-double, test-ifloat and test-idouble (434 bytes, patch)
2009-08-01 21:07 UTC, Aurelien Jarno
Details | Diff
Patch to fix all the errors (4.35 KB, patch)
2009-08-02 19:13 UTC, Aurelien Jarno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Jarno 2009-05-17 18:55:34 UTC
Starting with glibc 2.10, test-float, test-double, test-ifloat, test-idouble 
fails on ia64. Some new tests have been added, and the generic maths code, the 
x86 and x86_64 maths codes have been adjusted, but not the ia64 one.

Here is for example the testsuite failure I get for test-ifloat:

testing float (without inline functions)
Failure: Test: errno for cos(+inf) == EDOM
Result:
 is:         0
 should be:  33
Failure: Test: errno for cos(-inf) == EDOM
Result:
 is:         0
 should be:  33
Failure: Test: errno for sin(+inf) == EDOM
Result:
 is:         0
 should be:  33
Failure: Test: errno for sin(-inf) == EDOM
Result:
 is:         0
 should be:  33
Failure: Test: errno for tan(Inf) == EDOM
Result:
 is:         0
 should be:  33
Failure: Test: errno for tan(-Inf) == EDOM
Result:
 is:         0
 should be:  33
Failure: Test: errno for pow(0,-odd) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for pow(0,-odd) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for pow(-0,-odd) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for pow(-0,-odd) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for pow(0,-even) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for pow(0,-num) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for pow(-0,-even) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for pow(-0,-num) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for lgamma(-integer) == ERANGE
Result:
 is:         33
 should be:  34
Failure: Test: errno for fmod(Inf,3) unchanged
Result:
 is:         0
 should be:  33
Failure: Test: errno for fmod(-Inf,3) unchanged
Result:
 is:         0
 should be:  33

Test suite completed:
  3008 test cases plus 2622 tests for exception flags executed.
  17 errors occurred.
Comment 1 Aurelien Jarno 2009-08-01 21:07:20 UTC
Created attachment 4105 [details]
Patch to fix 9 of the 17 errors in test-float, test-double, test-ifloat and test-idouble
Comment 2 Aurelien Jarno 2009-08-02 19:13:50 UTC
Created attachment 4106 [details]
Patch to fix all the errors
Comment 3 Joseph Myers 2012-02-22 17:12:18 UTC
Suspending until there is an IA64 maintainer to add IA64 back to ports, CCing Aurelien.
Comment 4 Joseph Myers 2012-04-23 09:53:05 UTC
Unsuspending now ia64 is in ports, CC:ing IA64 maintainer for review of Aurelien's patch.
Comment 5 Mike Frysinger 2013-12-30 17:09:49 UTC
(In reply to Aurelien Jarno from comment #2)

looks like this fixes a bunch of failures and is still applicable to latest git.  could you send this patch to the mailing list please ?