Non-Linux architectures are using socket/accept4.c instead of the Linux specific version, and this version fails to build with: accept4.c:38: error: ‘__EI_accept4’ aliased to undefined symbol ‘__GI_accept4’ Patch to fix the problem will follow.
Created attachment 3958 [details] Patch to fix the problem
Shouldn't you hit the same bug with socket/accept.c and socket/send.c? could you fix all cases and send an updated patch, please?
This was fixed for glibc 2.17 already as part of: commit 789bd351b45f024b7f51e4886bf46b8e887ab6da Author: Roland McGrath <roland@hack.frob.com> Date: Tue Jul 31 09:43:14 2012 -0700 Clean up stub accept4 definition.