On Tue, Mar 15, 2011 at 1:39 AM, Bian Naimeng <[email protected]> wrote:
> If we try to use nptl on some systems(RHEL4x), some case can not
> be compiled. Please refer to the following log.
>
>  [root@RHEL4U8GA-Intel64 timers]# export LIBRARY_PATH=/usr/lib64/nptl
>  [root@RHEL4U8GA-Intel64 timers]# make
>  conformance/behavior/timers/2-1 compile FAILED; SKIPPING
>  conformance/behavior/timers/1-1 compile FAILED; SKIPPING

RHEL4.x compiled things in weird ways back when I was compiling LTP on
RHEL4.6. That being said, I wouldn't call RHEL 4.x by any measurable
rubric, standard.

...

> index 08f7cd6..5df3bd2 100644
> --- a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS
> +++ b/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS
> @@ -1 +1 @@
> --lrt
> +-lrt -lpthread

    What's the exact error here?

> diff --git 
> a/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS 
> b/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS
> index 08f7cd6..5df3bd2 100644
> --- a/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS
> +++ b/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS
> @@ -1 +1 @@
> --lrt
> +-lrt -lpthread

    Disagree. It's a definition, not a complete program. It would help
if the error output was here though to analyze.

> diff --git 
> a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS 
> b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS
> index 08f7cd6..5df3bd2 100644
> --- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS
> +++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS
> @@ -1 +1 @@
> --lrt
> +-lrt -lpthread

    Disagree because realtime and POSIX threads are two separate
feature sets, and POSIX only calls out realtime for lio_listio.
Thanks,
-Garrett

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to