Bug 345931

Summary: sparse breakage triggered by rcu_read_lock() lockdep annotations
Product: [Fedora] Fedora Reporter: Jeff Layton <jlayton>
Component: sparseAssignee: Roland McGrath <roland>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.4-2.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-05 15:06:09 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 Flags
patch -- fix breakage due to rcu_read_lock lockdep annotation none

Description Jeff Layton 2007-10-22 20:18:22 UTC
When trying to build latest rawhide kernels on x86_64, sparse throws an error
and the build fails. It usually crashes while building
./arch/x86/ia32/ia32_binfmt.c:

    sparse: flow.c:805: rewrite_parent_branch: Assertion `changed' failed.

There is a apparently an upstream patch to the latest sparse that fixes this. I
built a sparse package with the 2007-10-22 nightly tarball and it seems to work.

This is the only link to the upstream discussion on this that I could find:

    http://www.gossamer-threads.com/lists/linux/kernel/833258

Attaching patch below...

Comment 1 Jeff Layton 2007-10-22 20:18:23 UTC
Created attachment 234401 [details]
patch -- fix breakage due to rcu_read_lock lockdep annotation

Comment 2 Fedora Update System 2007-11-05 15:06:06 UTC
sparse-0.4-2.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2007-11-06 16:01:00 UTC
sparse-0.4-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.