Bug 1012408 - x86_64 version depends on /usr/include/gnu/stubs-32.h
x86_64 version depends on /usr/include/gnu/stubs-32.h
Product: Fedora
Classification: Fedora
Component: sparse (Show other bugs)
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Jeff Layton
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-09-26 08:23 EDT by Jindrich Luza
Modified: 2014-06-18 03:43 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-09-26 10:38:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jindrich Luza 2013-09-26 08:23:48 EDT
Description of problem:
after run "]$ sparse *.c" appears error message:
/usr/include/gnu/stubs.h:7:12: error: unable to open 'gnu/stubs-32.h'

head of /usr/include/gnu/stubs.h:
/* This file is automatically generated.                                        
   This file selects the right generated file of `__stub_FUNCTION'macros
   based on the architecture being compiled for.  */

#if !defined __x86_64__                                                         
# include <gnu/stubs-32.h>                                                      

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

How reproducible:
install sparse. Run on some *.c file

Steps to Reproduce:
1. yum install sparse
2. sparse *.c

Actual results:
/usr/include/gnu/stubs.h:7:12: error: unable to open 'gnu/stubs-32.h'

Expected results:
normal sparse output

Additional info:
yum whatprovides /usr/include/gnu/stubs-32.h

glibc-devel-2.16-24.fc18.i686 : Object files for development using standard C libraries.
Repo        : fedora
Matched from:
Filename    : /usr/include/gnu/stubs-32.h

glibc-devel-2.16-34.fc18.i686 : Object files for development using standard C libraries.
Repo        : updates
Matched from:
Filename    : /usr/include/gnu/stubs-32.h
Comment 1 Jindrich Luza 2013-09-26 10:38:12 EDT
sparse on .c file without include works fine. So problem above it's probably correct behaviour of sparse.

Note You need to log in before you can comment on or make changes to this bug.