Description of problem: glibc-2.3.4-2.19.src.rpm and glibc-2.3.4-2.22.src.rpm fail to build on sparc64 Version-Release number of selected component (if applicable): glibc-2.3.4-2.19.src.rpm, glibc-2.3.4-2.22.src.rpm How reproducible: Always The problem is that patch glibc-nscd-EINTR.patch uses "MSG_NOSIGNAL" and "send" but they are not previously defined. Using: #include <sys/socket.h> in several .c files fixes this problem and allows both glibc SRPMS to build on sparc64. The attached patch corrects the problem.
Created attachment 132890 [details] adds include socket.h to several glibc .c files
This is unnecessary. sys/socket.h is included in all those files, via <errno.h> including <tls.h>, which includes either LinuxThreads or NPTL <descr.h>. <descr.h> includes <resolv.h>, which includes <netinet/in.h> and that includes <sys/socket.h>.