Bug 114600

Summary: RFE: add Povides glibc-devel-i386
Product: [Fedora] Fedora Reporter: Gene Czarcinski <gczarcinski>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: 64bit_fedora, drepper
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-26 08:18:50 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:

Description Gene Czarcinski 2004-01-29 22:11:59 UTC
Description of problem:
On the x86_64, building gcc reqires both the x86_64 glibc-devel and
the i386 glibc-devel so that gcc can generate both 32 bit and 64 bit code.

The current situation is that there is the build fails with no real
obvious reason why.

The problem was that the i386 glibc-devel as not installed.

This RFE requests the addition of a Provides to the glibc-devel
package of the sort:


%ifarch i386
Provides: glibc-devel-i386
%endif

This can then be used by gcc in such as:

%ifarch x86_64
Buildreq: glibc-devel-i386
%endif

Comment 1 Gene Czarcinski 2004-01-29 22:16:57 UTC
See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114601

Comment 5 Jakub Jelinek 2005-07-26 08:18:50 UTC
IMHO that's a bad idea and very ugly.  If anything, gcc's spec could have:
%ifarch %{multilib_64_archs} sparc ppc
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6
/usr/lib64/libc.so
%endif
and no changes are needed on the glibc side.