Bug 350291

Summary: Unwinding stack on PPC 64 corrupts CR
Product: [Fedora] Fedora Reporter: Andrew Haley <aph>
Component: kernelAssignee: David Howells <dhowells>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: dwmw2, jakub, robert
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.23.1-42.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 00:43:37 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:
Bug Depends On:    
Bug Blocks: 335861, 420551    
Attachments:
Description Flags
Patch to fix the kernel none

Description Andrew Haley 2007-10-24 11:30:03 UTC
During gcc testing we discovered a bug in the kernel unwinder data which causes
the CR register to be corrupted when throwing an exception through the vDSO.

There is a patch applied upstream.

http://gcc.gnu.org/ml/gcc/2007-10/msg00197.html

There is a test case at http://gcc.gnu.org/ml/gcc/2007-10/msg00184.html

This bug is preventing some packages from ebing built.

Comment 2 Andrew Haley 2007-10-25 11:00:37 UTC
*** Bug 298071 has been marked as a duplicate of this bug. ***

Comment 3 David Howells 2007-10-25 14:08:11 UTC
This patch looks reasonable to me.

Comment 4 David Howells 2007-10-25 15:11:24 UTC
Created attachment 237451 [details]
Patch to fix the kernel

Comment 5 Chuck Ebbert 2007-10-25 18:26:09 UTC
Fedora 8 blocker??


Comment 6 Robert Marcano 2007-10-25 18:48:52 UTC
It is for me, I can not rebuild eclipse-subclipse por ppc64 users, leaving a
broken upgrade path for them, see Bug #298071

Comment 7 Chuck Ebbert 2007-10-25 20:52:49 UTC
Okay, in Fedora 8 kernel CVS.

Comment 9 Chuck Ebbert 2007-11-07 00:43:37 UTC
Fix is in Fedora 8 release.

Comment 10 David Woodhouse 2007-11-14 02:34:07 UTC
Fixed for FC6 in kernel-2.6.22.12-70.fc6