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:
Author: Roland McGrath <email@example.com>
Date: Tue Jul 31 09:43:14 2012 -0700
Clean up stub accept4 definition.