This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv4] Call direct system calls for socket operations
- From: Andreas Schwab <schwab at suse dot de>
- To: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org, sjmunroe at us dot ibm dot com
- Date: Mon, 31 Aug 2015 11:56:03 +0200
- Subject: Re: [PATCHv4] Call direct system calls for socket operations
- Authentication-results: sourceware.org; auth=none
- References: <1435830813-4282-1-git-send-email-raji at linux dot vnet dot ibm dot com> <1439532720-4720-1-git-send-email-raji at linux dot vnet dot ibm dot com>
In file included from ../sysdeps/powerpc/nptl/tls.h:48:0,
from ../include/errno.h:27,
from ../sysdeps/unix/sysv/linux/socketpair.c:18:
../sysdeps/unix/sysv/linux/socketpair.c: In function '__socketpair':
../sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h:198:54: error: 'sizeof' on array function parameter 'sv' will return size of 'int *' [-Werror=sizeof-array-argument]
if (__builtin_classify_type (__arg4) != 5 && sizeof (__arg4) > 4) \
^
../sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h:128:5: note: in expansion of macro 'LOADARGS_4'
LOADARGS_##nr(name, args); \
^
../sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h:142:3: note: in expansion of macro 'INTERNAL_SYSCALL_NCS'
INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, ##args)
^
../sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h:94:23: note: in expansion of macro 'INTERNAL_SYSCALL'
long int sc_ret = INTERNAL_SYSCALL (name, sc_err, nr, args); \
^
../sysdeps/unix/sysv/linux/socketpair.c:30:10: note: in expansion of macro 'INLINE_SYSCALL'
return INLINE_SYSCALL (socketpair, 4, domain, type, protocol, sv);
^
../sysdeps/unix/sysv/linux/socketpair.c:27:55: note: declared here
__socketpair (int domain, int type, int protocol, int sv[2])
^
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."