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. Assuming than an addition has been mad to glibc-devel of the sort: %ifarch i386 Provides: glibc-devel-i386 %endif Then this RFE requests the additon of something like the following to the gcc spec file: %ifarch x86_64 Buildreq: glibc-devel-i386 %endif See:https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114600
gcc-4.0.1-5 and above has: %ifarch %{multilib_64_archs} sparc ppc # Ensure glibc{,-devel} is installed for both multilib arches BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so %endif