Bug 207850
Summary: | ppc{32,64} signals corrupt $fpscr register | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jakub Jelinek <jakub> | ||||
Component: | kernel | Assignee: | David Howells <dhowells> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.4 | CC: | jbaron | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ppc64 | ||||||
OS: | Linux | ||||||
URL: | http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=cc657f53928997c65bf2409c45166c6ceee8d306 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-06-20 16:08:30 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jakub Jelinek
2006-09-24 18:43:56 UTC
Testcase to make QE happy: #include <fenv.h> #include <signal.h> #include <stdio.h> #include <unistd.h> #define EXCEPTS (FE_DIVBYZERO | FE_INVALID | FE_INEXACT \ | FE_UNDERFLOW | FE_OVERFLOW) void alrm (int sig) { } int main (void) { int r, ret = 0; struct sigaction sa; sa.sa_handler = alrm; sigemptyset (&sa.sa_mask); sa.sa_flags = 0; sigaction (SIGALRM, &sa, NULL); if ((r = fetestexcept (EXCEPTS)) != 0) { printf ("fetestexcept 0x%x != 0\n", r); ret = 1; } feraiseexcept (EXCEPTS); if ((r = fetestexcept (EXCEPTS)) != EXCEPTS) { printf ("fetestexcept 0x%x != all\n", r); ret = 1; } alarm (1); pause (); if ((r = fetestexcept (EXCEPTS)) != EXCEPTS) { printf ("fetestexcept 0x%x != all\n", r); ret = 1; } return ret; } Created attachment 144902 [details]
Patch to fix FPSCR handling on ppc64 kernels
This request was previously evaluated by Red Hat Product Management for inclusion in the current Red Hat Enterprise Linux release, but Red Hat was unable to resolve it in time. This request will be reviewed for a future Red Hat Enterprise Linux release. Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. Please See https://access.redhat.com/support/policy/updates/errata/ If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue. |