We are rebuilding the centos 6.8 src.rpm's for both 64-bit (.x86_64.rpm) and also 32-bit-compat (.i686.rpm)
When making 32-bit compatible build on a disk >2TB, the build will fail because or large inodes:
/home/mlos/WORK/os/PACKAGES/glibc/WORK/BUILD/glibc-2.12-2-gc4ccff1/build-i686-linuxnptl/elf/sln /home/mlos/WORK/os/PACKAGES/glibc/WORK/BUILD/glibc-2.12-2-gc4ccff1/build-i686-linuxnptl/elf/symlink.list
/home/mlos/WORK/os/PACKAGES/glibc/WORK/glibc-root/lib/ld-linux.so.2: invalid destination: Value too large for defined data type
The solution is to add "-D_FILE_OFFSET_BITS=64" and this has fixed the issue on glibc and all our other i686 RPM builds.
However, with the latest update glibc-2.12-1.192.el6.src.rpm we find adding the above flag will cause the following error:
In file included from ftello.c:29:
../include/stdio.h:151: warning: asm declaration ignored due to conflict with previous rename
ftello.c:66: error: '__EI_ftello' aliased to undefined symbol '__GI_ftello'
make[3]: *** [/home/mlos/WORK/os/PACKAGES/glibc/WORK/BUILD/glibc-2.12-2-gc4ccff1/build-i686-linuxnptl/libio/ftello.os] Error 1
Has anyone else hit this issue? Any tips appreciated.