Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 817276

Summary: qemu on ARM aborts because of missing ucontext
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: adam, blc, fweimer, jakub, law, pbrobinson, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-30 20:18:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 245418    
Description Flags
0001-glibc-Backport-ARM-implementation-of-ucontext-from-u.patch none

Description Richard W.M. Jones 2012-04-28 14:38:09 UTC
Description of problem:

qemu on ARM aborts early on because it uses a home-brewed
coroutine implementation which relies on working getcontext/etc
functions.  On ARM these all return ENOSYS.

glibc-ports upstream has a patch which implements enough
ucontext functionality to get qemu working.

The attached patch backports this patch to Fedora glibc
(in Rawhide).

I compiled and tested glibc with this patch, and it
fixes the initial problem with qemu on ARM (although qemu
fails a bit later on for an unrelated reason).

Version-Release number of selected component (if applicable):


Additional info:

Upstream patch:;a=commit;h=402a76b62dded0ee93cfec0471aaeccb989196d2

Comment 1 Richard W.M. Jones 2012-04-28 14:39:04 UTC
Created attachment 580976 [details]

Comment 2 Adam Goode 2012-04-28 19:15:51 UTC
It looks like the patch is missing all the new files?

Comment 3 Richard W.M. Jones 2012-04-28 19:32:51 UTC
That's bizarre.  Here is the actual patch:

Comment 4 Richard W.M. Jones 2012-04-28 19:33:25 UTC
Comment on attachment 580976 [details]

See comment 3 for the real patch.

Comment 5 Jeff Law 2012-04-30 20:04:46 UTC
Installed into rawhide.  Do y'all need this in f17 as well?

Comment 6 Brendan Conoboy 2012-04-30 20:09:10 UTC
Please pull into F17 as well.

Comment 7 Jeff Law 2012-04-30 20:17:33 UTC
Done.  If there's a way I can test this, let me know...  My only verification was that what appear to be the right files appeared to be in the right place :-)

Comment 8 Fedora Update System 2012-05-01 19:51:22 UTC
glibc-2.15-35.fc17 has been submitted as an update for Fedora 17.

Comment 9 Fedora Update System 2012-05-04 23:05:57 UTC
glibc-2.15-35.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.