Red Hat Bugzilla – Bug 91791
Glibc 2.3.2-27.9 source rpm doesn't build properly
Last modified: 2007-04-18 12:54:04 EDT
Description of problem:
When building glibc 2.3.2-27.9 with target athlon, it only produces two rpms:
glibc-2.3.2-27.9.athlon.rpm (30,089,187 bytes) and nptl-devel-2.3.2-27.9.athlon.rpm
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download glibc-2.3.2-27.9.src.rpm from Red Hat
2. build for target athlon
Produces two files: glibc-2.3.2-27.9.athlon.rpm (30,089,187 bytes) and
nptl-devel-2.3.2-27.9.athlon.rpm (814,528 bytes).
Should produce eight files: glibc-2.3.2-27.9.athlon.rpm,
glibc-utils-2.3.2-27.9.athlon.rpm, nptl-devel-2.3.2-27.9.athlon.rpm and
glibc-2.3.2-27.9.src.rpm was downloaded from https://rhn.redhat.com, is 12,970,246
bytes, and has the md5sum 7cef2cd488a94ff21bfc25d4c0099d67.
It should not, .i386.rpm packages should be used for those not built for .i686/.athlon.
This is for 2 reasons: 1) some files are identical, so there is no need to
duplicate them (e.g. most of glibc-common, etc.) 2) for -static link, it is
desirable to always provide just the .i386.rpm static libraries, so binaries
can run even on older processors.
If you don't like this, you can tweak %auxarches macro at start of glibc.spec,
but we are not going to change the default for the reasons stated above.