Hi Yamato, On Mon, 2008-09-01 at 13:39 +0900, Masatake YAMATO wrote: > Hi, > > I've written a testcase for signalfd. > > Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]>
Thanks for writing these tests afresh. But, there seems to be some inherent problem in it´s compilation. It fails in all the machine combinations i tested. Please look at them below. Can you kindly address them and resend me an updated patch ? 1) # uname -a Linux 2.6.9-22.EL #1 SMP Mon Sep 19 17:52:20 EDT 2005 ppc64 ppc64 ppc64 GNU/Linux # gcc --version gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2) cc -Wall -I../../include -g -Wall -I../../../../include -Wall signalfd01.c -L../../../../lib -lltp -o signalfd01 signalfd01.c:49:26: sys/signalfd.h: No such file or directory signalfd01.c: In function `do_test1': signalfd01.c:66: error: storage size of 'fdsi' isn't known signalfd01.c:78: warning: implicit declaration of function `signalfd' signalfd01.c:113: error: invalid application of `sizeof' to incomplete type `signalfd_siginfo' signalfd01.c:114: error: invalid application of `sizeof' to incomplete type `signalfd_siginfo' signalfd01.c:118: error: invalid application of `sizeof' to incomplete type `signalfd_siginfo' signalfd01.c:66: warning: unused variable `fdsi' signalfd01.c: In function `do_test2': signalfd01.c:170: error: storage size of 'fdsi' isn't known signalfd01.c:213: error: invalid application of `sizeof' to incomplete type `signalfd_siginfo' signalfd01.c:214: error: invalid application of `sizeof' to incomplete type `signalfd_siginfo' signalfd01.c:218: error: invalid application of `sizeof' to incomplete type `signalfd_siginfo' signalfd01.c:170: warning: unused variable `fdsi' 2) # uname -a Linux 2.6.18-91.el5 #1 SMP Tue Apr 22 17:43:57 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux # gcc --version gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42) Same as above error 3) # uname -a Linux 2.6.23.13 #1 SMP Wed Jan 9 18:14:28 PST 2008 ia64 GNU/Linux # gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Same as above error 4) # uname -a Linux 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux # gcc --version gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2) Same as above error 5) # uname -a Linux 2.6.26-autokern1 #1 SMP Thu Sep 4 09:39:41 UTC 2008 i686 GNU/Linux # gcc --version gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) Same as above error 6) # uname -a Linux 2.6.18-91.el5 #1 SMP Tue Apr 22 17:48:59 EDT 2008 ppc64 ppc64 ppc64 GNU/Linux # gcc --version gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42) Same as above error 7) # uname -a Linux 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux # gcc --version gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Same as above error. Regards-- Subrata > > Index: runtest/syscalls > =================================================================== > RCS file: /cvsroot/ltp/ltp/runtest/syscalls,v > retrieving revision 1.211 > diff -c -r1.211 syscalls > *** runtest/syscalls 27 Aug 2008 12:02:42 -0000 1.211 > --- runtest/syscalls 1 Sep 2008 04:21:19 -0000 > *************** > *** 867,872 **** > --- 868,875 ---- > signal04 signal04 > signal05 signal05 > > + signalfd01 signalfd01 > + > sigpending02 sigpending02 > > sigprocmask01 sigprocmask01 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
