This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCHv4] Call direct system calls for socket operations


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]