From: "Mitani" <mitani@ryobi.co.jp>
To: 'Hannu Heikkinen' <ext-hannu.m.heikkinen@nokia.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] POSIX "sched_yield/1-1.c" build failed
Date: Tue, 21 Sep 2010 13:39:41 +0900 [thread overview]
Message-ID: <000001cb5947$0176e3f0$0464abd0$@co.jp> (raw)
In-Reply-To: <20100917164745.GA20627@hannu-debian.research.nokia.com>
> -----Original Message-----
> From: Hannu Heikkinen [mailto:ext-hannu.m.heikkinen@nokia.com]
> Sent: Saturday, September 18, 2010 1:48 AM
> To: ext Garrett Cooper
> Cc: Hannu Heikkinen; ltp-list@lists.sourceforge.net; 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 <hannuxx@iki.fi>
> 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2010-09-21 4:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 4:39 [LTP] POSIX "sched_yield/1-1.c" build failed Mitani
2010-09-15 13:43 ` Hannu Heikkinen
2010-09-15 16:18 ` Garrett Cooper
2010-09-15 18:20 ` Hannu Heikkinen
2010-09-15 19:01 ` Garrett Cooper
2010-09-16 19:00 ` Hannu Heikkinen
2010-09-16 19:12 ` Garrett Cooper
2010-09-17 16:47 ` Hannu Heikkinen
2010-09-21 4:39 ` Mitani [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000001cb5947$0176e3f0$0464abd0$@co.jp' \
--to=mitani@ryobi.co.jp \
--cc=ext-hannu.m.heikkinen@nokia.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox