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
See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114601
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.