Description of problem: When compiling 32 bit executable under 64 bit installation I observe the following error message: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory Search on a web pointed me to the following page: http://gcc.gnu.org/ml/fortran/2008-09/msg00118.html After that I tried to install 32 bit glibc headers but, indeed, only glibc-headers-2.5-34x86_64 are visible in the package manager. How reproducible: I am building the L4 kernel from http://os.inf.tu-dresden.de/drops/download.html so I do not know if it makes sense to go into too big details. I will do if you will report it otherwise should work.
glibc-headers is intentionally shipped for the primary arch only on multilib installs, the headers e.g. on x86_64 are usable both for 32-bit and 64-bit compilation. What you forgot to install is glibc-devel.i386 in addition to glibc-devel.x86_64, /usr/include/gnu/stubs-{32,64}.h is provided by glibc-devel, not glibc-headers.