Bug 707780

Summary: Header gnu/stubs-32.h is missing on x86_64
Product: [Fedora] Fedora Reporter: r3obh <Robert.Harley>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: fweimer, jakub, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-25 22:20:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description r3obh 2011-05-25 22:12:05 UTC
Description of problem:
Header gnu/stubs-32.h is missing on x86_64

Version-Release number of selected component (if applicable):
glibc-headers-2.13-1.x86_64
glibc-devel-2.13-1.x86_64

How reproducible:
Always

Steps to Reproduce:
$ cat hello.c && gcc -m32 f2Mul.c
#include <stdio.h>

int main() {
  printf( "Hello world!\n" );
  return 0;
}
In file included from /usr/include/features.h:386:0,
                 from /usr/include/assert.h:37,
                 from f2Mul.c:1:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.

Actual results:
No such file error

Expected results:
Success

Additional info:
gcc -m32 doesn't work.
Also, gcc-core tarball doesn't build.

Comment 1 Jakub Jelinek 2011-05-25 22:20:11 UTC
User error, if you want to build 32-bit stuff on x86_64, you need to
yum install glibc-devel.i686 libgcc.i686
too.

Comment 2 r3obh 2011-05-26 01:24:55 UTC
Gnome package manager only shows glibc-devel-2.12.90-17 (x86_64) and glibc-devel-2.13-1 (x86_64).