Bug 10191 - socket/accept4.c fails to build
Summary: socket/accept4.c fails to build
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2009-05-23 11:53 UTC by Aurelien Jarno
Modified: 2014-07-01 20:21 UTC (History)
2 users (show)

See Also:
Host: i686-unknown-gnu0.3
Target: i686-unknown-gnu0.3
Build: i686-unknown-gnu0.3
Last reconfirmed:
fweimer: security-

Patch to fix the problem (222 bytes, patch)
2009-05-23 11:54 UTC, Aurelien Jarno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Jarno 2009-05-23 11:53:39 UTC
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.
Comment 1 Aurelien Jarno 2009-05-23 11:54:22 UTC
Created attachment 3958 [details]
Patch to fix the problem
Comment 2 Andreas Jaeger 2012-04-06 19:55:48 UTC
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?
Comment 3 Andreas Jaeger 2013-05-10 19:13:46 UTC
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.