On Tue, 2008-05-13 at 12:20 +0530, Sripathi Kodi wrote: > On Monday 12 May 2008 19:04, Subrata Modak wrote: > > On Mon, 2008-05-12 at 09:19 -0400, [EMAIL PROTECTED] wrote: > > > Hi > > > LTP build has failed at below stage and not moving further. > > > I am running on RHEL4.6 GA x86_64 system > > > > Thanks Pradeep for reporting this. Chirag, can you please look into > > this. I thought the patch you have put in April for avoiding building > > on non-supported architectures will take care of this type of > > failures. > > Subrata, > > The problem is because some of the realtime tests can't be compiled on older > distros. > We will have to fix this 'properly', taking into account the kernel and glibc > versions, > as well as the architecture. Until we do that, can we disable compiling > realtime tests > by default? Below is a patch that can do it.
Yes, we can go ahead like this. Until and unless you figure out how the RT tests cab be disabled under old glibc/kernel/distro/architecture, we can simply remove it´s compilation from default LTP to avoid this failures. Users can instead go directly to RT tests directory and compile on compatible machines. Thanks. Patch is merged. Regards-- Subrata > > Thanks, > Sripathi. > > Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]> > > --- ltp-full-20080430_org/testcases/Makefile 2008-05-01 17:39:24.000000000 > +0530 > +++ ltp-full-20080430/testcases/Makefile 2008-05-13 12:00:29.000000000 > +0530 > @@ -1,9 +1,4 @@ > -ifeq ($(shell uname -m |grep -c -e "86" -e "ppc"), 1) > - SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open | grep -v > pounder | grep -v DOTS | grep -v kdump ` > -else > SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open | grep -v > pounder | grep -v DOTS | grep -v kdump | grep -v realtime` > -endif > - > UCLINUX_SUBDIRS = kernel > all: > @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done > > > > > > > Regards-- > > Subrata > > > > > librttest.c: In function `init_pi_mutex': > > > librttest.c:463: warning: implicit declaration of function > > > `pthread_mutexattr_setprotocol' > > > librttest.c:463: error: `PTHREAD_PRIO_INHERIT' undeclared (first > > > use in this function) > > > librttest.c:463: error: (Each undeclared identifier is reported > > > only once librttest.c:463: error: for each function it appears in.) > > > librttest.c:466: warning: implicit declaration of function > > > `pthread_mutexattr_getprotocol' > > > make[3]: *** [librttest.o] Error 1 > > > make[3]: Leaving directory > > > `/home/test/ltp-full-20080430/testcases/realtime/lib' > > > make[2]: *** [all] Error 2 > > > make[2]: Leaving directory > > > `/home/test/ltp-full-20080430/testcases/realtime' make[1]: *** > > > [all] Error 2 > > > make[1]: Leaving directory `/home/test/ltp-full-20080430/testcases' > > > make: *** [all] Error 2 > > > > > > > > > Regards > > > pradeep ------------------------------------------------------------------------- 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