> Subrata Modak wrote: > > I like this part most. You should always ensure backward compatibility > > when you do some modification. I will see to this match. Meanwhile, can > > you also share the results of Ballista run post patching. > Strange, I triggered some problems while building ballista. > However this compatibility patch does not hurt: > Function Num. tests (#Setup Fail) | Restart > Abort Total > -------- ---------- ------------- | --------- > --------- --------- > execl 7964 ( 2212) | 0.0000% > 0.0000% 0.0000% > execle 7964 ( 2212) | 0.0000% > 0.0000% 0.0000% > execlp 7964 ( 2212) | 0.0000% > 0.0000% 0.0000% > fcntl 3971 ( 0) | 0.0000% > 0.0000% 0.0000% > mremap 3926 ( 0) | 0.0000% > 0.0000% 0.0000% > open 8004 ( 1777) | 0.0000% > 0.0000% 0.0000% > prctl 4034 ( 0) | 0.0000% > 0.0000% 0.0000% > sem_open 1976 ( 469) | 0.0000% > 0.0000% 0.0000% > syscall 25 ( 0) | 0.0000% > 0.0000% 0.0000% > sysfs 4003 ( 0) | 0.0000% > 0.0000% 0.0000% > > ----------------------------------------------------------------------------------------------- > (OpenSUSE 10.3, 2.6.16.57-0.7-default, i386) > > Some of this errors are (ltp-full-20071231): > > /usr/include/unistd.h:656: error: too many arguments to function ‘int > getgroups(int, __gid_t*)’ > executeTestCase.cpp:108: error: at this point in file > make: *** [executeTestCase.o] Error 1 > > executeTestCase.cpp: In function ‘int execute_test_case(char*)’: > executeTestCase.cpp:112: error: ‘mount’ was not declared in this scope > make: *** [executeTestCase.o] Error 1 > > executeTestCase.cpp:104: error: invalid conversion from ‘void*’ to > ‘const char*’ > /usr/include/unistd.h:910: error: too many arguments to function ‘int > chroot(const char*)’ > executeTestCase.cpp:104: error: at this point in file > make: *** [executeTestCase.o] Error 1 > > Subrata, can you confirm?
I get strange results on itś run as i have only gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) running on my system. But i have included the Patch that you have sent across. Thanks. --Subrata > > > Ps: patch attached for file > "ltp-full-20071231/testcases/ballista/ballista/compile/bparser.cpp" > previous one was not complete. > > > Thanks, > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list