Hi Poornima, On Thu, 2008-08-21 at 18:35 +0530, B. N. Poornima wrote: > Vijay Kumar wrote: > > B. N. Poornima wrote: > >>> 1. The patch is modifying a generated file linux_syscall_numbers.h. > >>> The files in testcases/kernel/include/*.in should have been modified. > >> Thanks for the input. I am attaching the modified patch with the > >> above correction. > > > > The updated patch is still modifying linux_syscall_numbers.h. > Oops...I missed the '*.in' part of it. Sorry for the inconvenience. As > the remaining part of the code is already in, am re-basing only this > part of the patch and attaching. Let me know if this is fine.
I was getting some build failures for the sync_file_range() syscall tests on some machine and was about to report them, when i found this patch. I thought that this would solve the problem. Still the build failures occur post patching. Please see the failures below and provide fixes for the same. The test is against the latest ltp-intermediate release. The failure are basically against the PPC64 machines, but worked well on x86_64, i386 and ia64 machines: 1) Linux 2.6.9-22.EL #1 SMP Mon Sep 19 17:52:20 EDT 2005 ppc64 ppc64 ppc64 GNU/Linux cc -Wall -I../../include -g -Wall -I../../../../include -Wall sync_file_range01.c -L../../../../lib -lltp -o sync_file_range01 sync_file_range01.c: In function `syncfilerange': sync_file_range01.c:258: error: `__NR_sync_file_range' undeclared (first use in this function) sync_file_range01.c:258: error: (Each undeclared identifier is reported only once sync_file_range01.c:258: error: for each function it appears in.) make[4]: *** [sync_file_range01] Error 1 2) Linux 2.6.16.21-0.8-ppc64 #1 SMP Mon Jul 3 18:25:39 UTC 2006 ppc64 ppc64 ppc64 GNU/Linux make[4]: Entering directory `/root/subrata/ltp/ltp-intermediate-20080820/testcases/kernel/syscalls/sync_file_range' cc -Wall -I../../include -g -Wall -I../../../../include -Wall sync_file_range01.c -L../../../../lib -lltp -o sync_file_range01 sync_file_range01.c: In function ‘syncfilerange’: sync_file_range01.c:258: error: ‘__NR_sync_file_range’ undeclared (first use in this function) sync_file_range01.c:258: error: (Each undeclared identifier is reported only once sync_file_range01.c:258: error: for each function it appears in.) make[4]: *** [sync_file_range01] Error 1 Regards-- Subrata > > > >>> 2. When the patch was committed the generated file got added to the > >>> CVS repository. > >> I did not understand the problem here. Is there anything expected > >> from my end? > > > > This issue has been fixed. > > > > Regards, > > Vijay > > > Regards, > Poornima ------------------------------------------------------------------------- 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
