> -----Original Message----- > From: Hannu Heikkinen [mailto:[email protected]] > Sent: Saturday, September 18, 2010 1:48 AM > To: ext Garrett Cooper > Cc: Hannu Heikkinen; [email protected]; ext Mitani > Subject: Re: [LTP] POSIX "sched_yield/1-1.c" build failed > > On 16/09/10 21:12 +0200, ext Garrett Cooper wrote: > > On Thu, Sep 16, 2010 at 12:00 PM, Hannu Heikkinen <[email protected]> > wrote: > > > On 15/09/10 12:01 -0700, Garrett Cooper wrote: > > >> > > > >> > Should this posixtest.h be kind of a must include for all test > cases? > > >> > Currently not all cases include this. > > >> > > >> Well, every affected testcase should include this :). Not > all > > >> files need to include this (there are a number of applications > that > > >> don't need what's defined here) -- so there's no sense in > generating > > >> more work than necessary :). > > >> Thanks, > > >> -Garrett > > > > > > I must have been hald asleep writing that prev email. I meant that > posixtest > > > cases should include that, and of course not all LTP cases. > > > > I must have doubly been so because I didn't catch that either :). > > > > > Might be a consideration for having global ltp header file for all > C test > > > cases > > > so that generic functionality could be better tweaked by changing > certain > > > defines. Of course that needs more discussion and analysis, thoug. > > > > Already done: > > > > include/: > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a= > tree;f=include;h=93d0ff91530c366d3af0cfc0c6b4f27c779cb866;hb=HEAD > > lib/: > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a= > tree;f=lib;h=85556e60de93da651c3ffbab56eeef2b3a68c8bf;hb=HEAD > > > > The above changes mentioned only affect the open posix testsuite > > (http://sf.net/projects/posixtest/), which is a component > completely > > orthogonal to the rest of the code in the LTP sourcebase, so these > > changes are only required for that section of the codebase. However, > > certain tunable features can be added in the LTP buildsystem and the > > open posix testsuite to support automatic `developer mode' if you > > will. This will take a while to do properly though. > > > > Thanks, > > -Garrett > > > Thanks for the info! That's good news! > > br, > Hannu > > -- > Hannu Heikkinen > +358-40-1586858 > http://www.nixu.com
The patch was already included in following gits: "ltp-dev-121ad2a296f4ade04e2c2e351820df32a6c441d5.tar.gz" "ltp-dev-8b0ca7e9a5e7dcab8d7cbad0b6f0c808798bdc53.tar.gz" and I tried to build with these gits instead of the patch. POSIX "sched_yield/1-1.c" build successed in RHEL5.5 (x86, x86_64, ia64), but failed in RHEL4.8 (x86, x86_64, ia64): ------------(RHEL5.5 x86) conformance/interfaces/sched_yield/1-1 compile PASSED ------------ ------------(RHEL4.8 x86) conformance/interfaces/sched_yield/1-1 compile FAILED; SKIPPING In file included from ../../../conformance/interfaces/sched_yield/1-1.c:35: ../../../include/posixtest.h:23:2: warning: #warning "Contains GNU-isms that need fixing." ../../../conformance/interfaces/sched_yield/1-1.c: In function `set_thread_affinity': ../../../conformance/interfaces/sched_yield/1-1.c:91: warning: implicit declaration of function `pthread_setaffinity_np' /tmp/ccuhCnVY.o(.text+0x1c1): In function `set_thread_affinity': : undefined reference to `pthread_setaffinity_np' collect2: ld returned 1 exit status ------------ But, in all my RHEL5.5/4.8 systems, this revision brought the build successes of the following testsets that were concern from the past: - "pthread_attr_setstack/2-1.c" - "pthread_attr_setstacksize/2-1.c" Now in all my RHEL5.5 systems, all build failes were settled by this revision. Thank you-- -Tomonori Mitani ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
