* [LTP] About "realtime" build failure
@ 2010-10-29 7:35 ` Mitani
2010-11-08 21:51 ` Garrett Cooper
0 siblings, 1 reply; 7+ messages in thread
From: Mitani @ 2010-10-29 7:35 UTC (permalink / raw)
To: ltp-list
Hi,
I applied patches which are the effort of various people.
And I could overcome configuration error and keyctl01's build error.
(Thanks!!)
After that, librttest.c build failed:
------------
make[3]: Leaving directory
`/home/LTP/ltp-dev-20101028/testcases/network/xinetd'
make[2]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases/network'
make[2]: Entering directory `/home/LTP/ltp-dev-20101028/testcases/realtime'
make -C lib -f "/home/LTP/ltp-dev-20101028/testcases/realtime/lib/Makefile"
all
make[3]: Entering directory
`/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_GNU_SOURCE
-I/home/LTP/ltp-dev-20101028/testcases/realtime/lib/../include
-I../../../include -I../../../include -c -o librttest.o librttest.c
librttest.c: In function `init_pi_mutex':
librttest.c:569: warning: implicit declaration of function
`pthread_mutexattr_setprotocol'
librttest.c:569: error: `PTHREAD_PRIO_INHERIT' undeclared (first use in this
function)
librttest.c:569: error: (Each undeclared identifier is reported only once
librttest.c:569: error: for each function it appears in.)
librttest.c:572: warning: implicit declaration of function
`pthread_mutexattr_getprotocol'
make[3]: *** [librttest.o] Error 1
make[3]: Leaving directory
`/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
make[2]: *** [lib/librealtime.a] Error 2
make[2]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases/realtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases'
make: *** [testcases-all] Error 2
------------
"realtime" became to be build by the patch of Makefile:
------------
--- a/testcases/Makefile
+++ b/testcases/Makefile
@@ -38,7 +38,12 @@ FILTER_OUT_DIRS := ballista kdump mce-test
open% pounder21
# XXX (garrcoop): kdump was in this list.
# XXX (garrcoop): open_hpi_testsuite was in this list.
ifeq ($(UCLINUX),1)
-FILTER_OUT_DIRS += DOTS realtime
+FILTER_OUT_DIRS += realtime
+endif
+
+# DOTS requires javac
+ifeq ($(strip $(JAVAC)),)
+FILTER_OUT_DIRS += DOTS
endif
#
------------
"realtime" added to build.
Perhaps this revision caused this failure, I think.
Regards--
-Tomonori Mitani
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] About "realtime" build failure
2010-10-29 7:35 ` [LTP] About "realtime" build failure Mitani
@ 2010-11-08 21:51 ` Garrett Cooper
2010-11-09 1:41 ` Mitani
0 siblings, 1 reply; 7+ messages in thread
From: Garrett Cooper @ 2010-11-08 21:51 UTC (permalink / raw)
To: Mitani; +Cc: ltp-list
On Fri, Oct 29, 2010 at 12:35 AM, Mitani <mitani@ryobi.co.jp> wrote:
> Hi,
>
> I applied patches which are the effort of various people.
> And I could overcome configuration error and keyctl01's build error.
> (Thanks!!)
> After that, librttest.c build failed:
> ------------
> make[3]: Leaving directory
> `/home/LTP/ltp-dev-20101028/testcases/network/xinetd'
> make[2]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases/network'
> make[2]: Entering directory `/home/LTP/ltp-dev-20101028/testcases/realtime'
> make -C lib -f "/home/LTP/ltp-dev-20101028/testcases/realtime/lib/Makefile"
> all
> make[3]: Entering directory
> `/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_GNU_SOURCE
> -I/home/LTP/ltp-dev-20101028/testcases/realtime/lib/../include
> -I../../../include -I../../../include -c -o librttest.o librttest.c
> librttest.c: In function `init_pi_mutex':
> librttest.c:569: warning: implicit declaration of function
> `pthread_mutexattr_setprotocol'
> librttest.c:569: error: `PTHREAD_PRIO_INHERIT' undeclared (first use in this
> function)
> librttest.c:569: error: (Each undeclared identifier is reported only once
> librttest.c:569: error: for each function it appears in.)
> librttest.c:572: warning: implicit declaration of function
> `pthread_mutexattr_getprotocol'
> make[3]: *** [librttest.o] Error 1
> make[3]: Leaving directory
> `/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
> make[2]: *** [lib/librealtime.a] Error 2
> make[2]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases/realtime'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases'
> make: *** [testcases-all] Error 2
> ------------
>
> "realtime" became to be build by the patch of Makefile:
> ------------
> --- a/testcases/Makefile
> +++ b/testcases/Makefile
> @@ -38,7 +38,12 @@ FILTER_OUT_DIRS := ballista kdump mce-test
> open% pounder21
> # XXX (garrcoop): kdump was in this list.
> # XXX (garrcoop): open_hpi_testsuite was in this list.
> ifeq ($(UCLINUX),1)
> -FILTER_OUT_DIRS += DOTS realtime
> +FILTER_OUT_DIRS += realtime
> +endif
> +
> +# DOTS requires javac
> +ifeq ($(strip $(JAVAC)),)
> +FILTER_OUT_DIRS += DOTS
> endif
>
> #
> ------------
>
> "realtime" added to build.
> Perhaps this revision caused this failure, I think.
DOTS is garbage, bitrotted code. If no one has any opposes the
change, then I'll remove it from LTP in 3 days time.
Thanks,
-Garrett
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] About "realtime" build failure
2010-11-08 21:51 ` Garrett Cooper
@ 2010-11-09 1:41 ` Mitani
0 siblings, 0 replies; 7+ messages in thread
From: Mitani @ 2010-11-09 1:41 UTC (permalink / raw)
To: 'Garrett Cooper'; +Cc: ltp-list
> -----Original Message-----
> From: Garrett Cooper [mailto:yanegomi@gmail.com]
> Sent: Tuesday, November 09, 2010 6:51 AM
> To: Mitani
> Cc: ltp-list@lists.sourceforge.net
> Subject: Re: [LTP] About "realtime" build failure
>
> On Fri, Oct 29, 2010 at 12:35 AM, Mitani <mitani@ryobi.co.jp> wrote:
> > Hi,
> >
> > I applied patches which are the effort of various people.
> > And I could overcome configuration error and keyctl01's build error.
> > (Thanks!!)
> > After that, librttest.c build failed:
> > ------------
> > make[3]: Leaving directory
> > `/home/LTP/ltp-dev-20101028/testcases/network/xinetd'
> > make[2]: Leaving directory
> `/home/LTP/ltp-dev-20101028/testcases/network'
> > make[2]: Entering directory
> `/home/LTP/ltp-dev-20101028/testcases/realtime'
> > make -C lib -f
> "/home/LTP/ltp-dev-20101028/testcases/realtime/lib/Makefile"
> > all
> > make[3]: Entering directory
> > `/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
> > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_GNU_SOURCE
> > -I/home/LTP/ltp-dev-20101028/testcases/realtime/lib/../include
> > -I../../../include -I../../../include -c -o librttest.o
> librttest.c
> > librttest.c: In function `init_pi_mutex':
> > librttest.c:569: warning: implicit declaration of function
> > `pthread_mutexattr_setprotocol'
> > librttest.c:569: error: `PTHREAD_PRIO_INHERIT' undeclared (first
> use in this
> > function)
> > librttest.c:569: error: (Each undeclared identifier is reported only
> once
> > librttest.c:569: error: for each function it appears in.)
> > librttest.c:572: warning: implicit declaration of function
> > `pthread_mutexattr_getprotocol'
> > make[3]: *** [librttest.o] Error 1
> > make[3]: Leaving directory
> > `/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
> > make[2]: *** [lib/librealtime.a] Error 2
> > make[2]: Leaving directory
> `/home/LTP/ltp-dev-20101028/testcases/realtime'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases'
> > make: *** [testcases-all] Error 2
> > ------------
> >
> > "realtime" became to be build by the patch of Makefile:
> > ------------
> > --- a/testcases/Makefile
> > +++ b/testcases/Makefile
> > @@ -38,7 +38,12 @@ FILTER_OUT_DIRS := ballista
> kdump mce-test
> > open% pounder21
> > # XXX (garrcoop): kdump was in this list.
> > # XXX (garrcoop): open_hpi_testsuite was in this list.
> > ifeq ($(UCLINUX),1)
> > -FILTER_OUT_DIRS += DOTS realtime
> > +FILTER_OUT_DIRS += realtime
> > +endif
> > +
> > +# DOTS requires javac
> > +ifeq ($(strip $(JAVAC)),)
> > +FILTER_OUT_DIRS += DOTS
> > endif
> >
> > #
> > ------------
> >
> > "realtime" added to build.
> > Perhaps this revision caused this failure, I think.
>
> DOTS is garbage, bitrotted code. If no one has any opposes the
> change, then I'll remove it from LTP in 3 days time.
> Thanks,
> -Garrett
Make error occured in my environment with recent git "ltp-aa8f37a.tar.gz".
RHEL5.5 --- x86 / x86_64 / ia64
RHEL4.8 --- x86 / x86_64 / ia64
------------<RHEL4.8 - x86>
make -C "testcases" \
-f "/home/LTP/ltp-dev-20101108/testcases/Makefile" all
make[1]: Entering directory `/home/LTP/ltp-dev-20101108/testcases'
make[2]: Entering directory `/home/LTP/ltp-dev-20101108/testcases/DOTS'
cd src;make
make[3]: Entering directory `/home/LTP/ltp-dev-20101108/testcases/DOTS/src'
mkdir -p ../classes/dots/framework
cd dots/framework; make
make[4]: Entering directory
`/home/LTP/ltp-dev-20101108/testcases/DOTS/src/dots/framework'
javac -d ../../../classes -classpath ../../../classes DotsConfig.java
make[4]: javac: Command not found
make[4]: *** [all] Error 127
make[4]: Leaving directory
`/home/LTP/ltp-dev-20101108/testcases/DOTS/src/dots/framework'
make[3]: *** [framework] Error 2
make[3]: Leaving directory `/home/LTP/ltp-dev-20101108/testcases/DOTS/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/LTP/ltp-dev-20101108/testcases/DOTS'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-dev-20101108/testcases'
make: *** [testcases-all] Error 2
------------
------------<RHEL5.5 - x86>
make -C lib -f "/home/LTP/ltp-dev-20101108/testcases/realtime/lib/Makefile"
all
make[3]: Entering directory
`/home/LTP/ltp-dev-20101108/testcases/realtime/lib'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_GNU_SOURCE
-I/home/LTP/ltp-dev-20101108/testcases/realtime/lib/../include
-I../../../include -I../../../include -c -o librttest.o librttest.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_GNU_SOURCE
-I/home/LTP/ltp-dev-20101108/testcases/realtime/lib/../include
-I../../../include -I../../../include -c -o libstats.o libstats.c
if [ -z "librttest.o libstats.o" ] ; then \
echo "Cowardly refusing to create empty archive"; \
exit 1; \
fi
ar -rc "librealtime.a" librttest.o libstats.o
ranlib "librealtime.a"
make[3]: Leaving directory
`/home/LTP/ltp-dev-20101108/testcases/realtime/lib'
make[3]: Entering directory
`/home/LTP/ltp-dev-20101108/testcases/realtime/func'
make[4]: Entering directory
`/home/LTP/ltp-dev-20101108/testcases/realtime/func/async_handler'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_GNU_SOURCE
-I/home/LTP/ltp-dev-20101108/testcases/realtime/include
-I../../../../include -I../../../../include
-L/home/LTP/ltp-dev-20101108/testcases/realtime/lib -L../../../../lib
async_handler.c -lrealtime -lpthread -lrt -lm -o async_handler
/home/LTP/ltp-dev-20101108/testcases/realtime/lib/librealtime.a(librttest.o)
: In function `atomic_add':
/home/LTP/ltp-dev-20101108/testcases/realtime/lib/../include/librttest.h:117
: undefined reference to `__sync_add_and_fetch_4'
collect2: ld returned 1 exit status
make[4]: *** [async_handler] Error 1
make[4]: Leaving directory
`/home/LTP/ltp-dev-20101108/testcases/realtime/func/async_handler'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/LTP/ltp-dev-20101108/testcases/realtime/func'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/LTP/ltp-dev-20101108/testcases/realtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-dev-20101108/testcases'
make: *** [testcases-all] Error 2
------------
"DOTS" and "realtime" make failed in above log.
I looked for difference between The "Makefile" of old git
(ltp-7e2cbbd.tar.gz)
and "Makefile" of recent git (ltp-aa8f37a.tar.gz):
------------
[root@RHEL48-LTP-x86 LTP]# diff -u ltp-dev-20101026/testcases/Makefile
ltp-dev-20101108/testcases/Makefile
--- ltp-dev-20101026/testcases/Makefile 2010-10-26 16:27:34.000000000 +0900
+++ ltp-dev-20101108/testcases/Makefile 2010-11-09 06:52:31.000000000 +0900
@@ -27,7 +27,8 @@
# XXX (garrcoop):
# 1. ballista is broken (working on it).
# 2. kdump shouldn't be compiled by default, because it's runtime based and
-# WILL crash the build host (the tests need to be fixed to just build,
not run).
+# WILL crash the build host (the tests need to be fixed to just build,
not
+# run).
# 3. mce-test doesn't fit cleanly in the build, yet.
# 4. pounder21 is just broken.
FILTER_OUT_DIRS := ballista kdump mce-test open% pounder21
@@ -36,8 +37,13 @@
# original list of disabled items...
# XXX (garrcoop): kdump was in this list.
# XXX (garrcoop): open_hpi_testsuite was in this list.
-ifneq ($(UCLINUX),1)
-FILTER_OUT_DIRS += audit-test DOTS realtime
+ifeq ($(UCLINUX),1)
+FILTER_OUT_DIRS += realtime
+endif
+
+# DOTS requires javac
+ifeq ($(strip $(JAVAC)),)
+FILTER_OUT_DIRS += DOTS
endif
#
[root@RHEL48-LTP-x86 LTP]#
------------
I tried to make the recent git with the old git's "Makefile".
And it succeeded.
> DOTS is garbage, bitrotted code. If no one has any opposes the change,
>then I'll remove it from LTP in 3 days time.
I understand.
How about "realtime"? Is "realtime" test necessary in LTP "run test" ?
If "realtime" is necessary, they need revises.
If it is necessary and prospect to its revise are not in sight,
it had better to be filtered again, and be removed filtering at revision,
I think.
Sorry to bother you when you're so busy.
Regards--
-Tomonori Mitani
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [LTP] About "realtime" build failure
@ 2010-11-11 6:58 Mitani
2010-11-11 7:57 ` Subrata Modak
2010-11-11 8:42 ` Garrett Cooper
0 siblings, 2 replies; 7+ messages in thread
From: Mitani @ 2010-11-11 6:58 UTC (permalink / raw)
To: ltp-list
Hi,
Build error occured with recent git "ltp-a997c94.tar.gz".
This failure was caused by "realtime" as follows:
------------
[root@RHEL48-LTP-x86 LTP]# less gitMMDD-makeYYYYMMDD.txt
[...]
make[1]: Entering directory `/home/LTP/ltp-a997c94/lib'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o cloner.o cloner.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o dataascii.o dataascii.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o databin.o databin.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o datapid.o datapid.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o file_lock.o file_lock.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o forker.o forker.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o get_high_address.o get_high_address.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o get_path.o get_path.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o libtestsuite.o libtestsuite.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
-I../include -
c -o open_flags.o open_flags.c
...skipping...
p-a997c94/testcases/realtime/include -I../../../../include
-I../../../../include
-L/home/LTP/ltp-a997c94/testcases/realtime/lib -L../../../../lib
async_handl
er.c -lrealtime -lpthread -lrt -lm -o async_handler
In file included from async_handler.c:42:
/home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h: In function
`atomi
c_add':
/home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h:117: warning:
impli
cit declaration of function `__sync_add_and_fetch'
/home/LTP/ltp-a997c94/testcases/realtime/lib/librealtime.a(librttest.o)(.tex
t+0x
1a7): In function `create_thread':
/home/LTP/ltp-a997c94/testcases/realtime/lib/../include/librttest.h:117:
undefin
ed reference to `__sync_add_and_fetch'
collect2: ld returned 1 exit status
make[4]: *** [async_handler] Error 1
make[4]: Leaving directory
`/home/LTP/ltp-a997c94/testcases/realtime/func/async_
handler'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime/func'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/LTP/ltp-a997c94/testcases'
make: *** [testcases-all] Error 2
------------
I confirmed that above error is dissolved by following revision:
------------
[root@RHEL48-LTP-x86 ltp-dev-20101111]# diff -u testcases/Makefile.org
testcases/Makefile
--- testcases/Makefile.org 2010-11-11 14:20:07.000000000 +0900
+++ testcases/Makefile 2010-11-11 14:21:25.000000000 +0900
@@ -37,7 +37,7 @@
# original list of disabled items...
# XXX (garrcoop): kdump was in this list.
# XXX (garrcoop): open_hpi_testsuite was in this list.
-ifeq ($(UCLINUX),1)
+ifneq ($(UCLINUX),1)
FILTER_OUT_DIRS += realtime
endif
------------
Is realtime necessary?
Please revise it if there is not problem.
Regards--
-Tomonori Mitani
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] About "realtime" build failure
2010-11-11 6:58 Mitani
@ 2010-11-11 7:57 ` Subrata Modak
2010-11-11 8:42 ` Garrett Cooper
1 sibling, 0 replies; 7+ messages in thread
From: Subrata Modak @ 2010-11-11 7:57 UTC (permalink / raw)
To: Mitani; +Cc: ltp-list
However, yesterdayś git the failure was not there. And hence the reason
for me to replace the October tar.
Regards--
Subrata
On Thu, 2010-11-11 at 15:58 +0900, Mitani wrote:
> Hi,
>
> Build error occured with recent git "ltp-a997c94.tar.gz".
> This failure was caused by "realtime" as follows:
> ------------
> [root@RHEL48-LTP-x86 LTP]# less gitMMDD-makeYYYYMMDD.txt
> [...]
> make[1]: Entering directory `/home/LTP/ltp-a997c94/lib'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o cloner.o cloner.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o dataascii.o dataascii.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o databin.o databin.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o datapid.o datapid.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o file_lock.o file_lock.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o forker.o forker.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o get_high_address.o get_high_address.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o get_path.o get_path.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o libtestsuite.o libtestsuite.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o open_flags.o open_flags.c
> ...skipping...
> p-a997c94/testcases/realtime/include -I../../../../include
> -I../../../../include
> -L/home/LTP/ltp-a997c94/testcases/realtime/lib -L../../../../lib
> async_handl
> er.c -lrealtime -lpthread -lrt -lm -o async_handler
> In file included from async_handler.c:42:
> /home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h: In function
> `atomi
> c_add':
> /home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h:117: warning:
> impli
> cit declaration of function `__sync_add_and_fetch'
> /home/LTP/ltp-a997c94/testcases/realtime/lib/librealtime.a(librttest.o)(.tex
> t+0x
> 1a7): In function `create_thread':
> /home/LTP/ltp-a997c94/testcases/realtime/lib/../include/librttest.h:117:
> undefin
> ed reference to `__sync_add_and_fetch'
> collect2: ld returned 1 exit status
> make[4]: *** [async_handler] Error 1
> make[4]: Leaving directory
> `/home/LTP/ltp-a997c94/testcases/realtime/func/async_
> handler'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime/func'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/LTP/ltp-a997c94/testcases'
> make: *** [testcases-all] Error 2
> ------------
>
> I confirmed that above error is dissolved by following revision:
> ------------
> [root@RHEL48-LTP-x86 ltp-dev-20101111]# diff -u testcases/Makefile.org
> testcases/Makefile
> --- testcases/Makefile.org 2010-11-11 14:20:07.000000000 +0900
> +++ testcases/Makefile 2010-11-11 14:21:25.000000000 +0900
> @@ -37,7 +37,7 @@
> # original list of disabled items...
> # XXX (garrcoop): kdump was in this list.
> # XXX (garrcoop): open_hpi_testsuite was in this list.
> -ifeq ($(UCLINUX),1)
> +ifneq ($(UCLINUX),1)
> FILTER_OUT_DIRS += realtime
> endif
>
> ------------
>
> Is realtime necessary?
> Please revise it if there is not problem.
>
>
> Regards--
>
> -Tomonori Mitani
>
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] About "realtime" build failure
2010-11-11 6:58 Mitani
2010-11-11 7:57 ` Subrata Modak
@ 2010-11-11 8:42 ` Garrett Cooper
1 sibling, 0 replies; 7+ messages in thread
From: Garrett Cooper @ 2010-11-11 8:42 UTC (permalink / raw)
To: Mitani; +Cc: ltp-list
On Wed, Nov 10, 2010 at 10:58 PM, Mitani <mitani@ryobi.co.jp> wrote:
> Hi,
>
> Build error occured with recent git "ltp-a997c94.tar.gz".
> This failure was caused by "realtime" as follows:
> ------------
> [root@RHEL48-LTP-x86 LTP]# less gitMMDD-makeYYYYMMDD.txt
> [...]
> make[1]: Entering directory `/home/LTP/ltp-a997c94/lib'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o cloner.o cloner.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o dataascii.o dataascii.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o databin.o databin.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o datapid.o datapid.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o file_lock.o file_lock.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o forker.o forker.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o get_high_address.o get_high_address.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o get_path.o get_path.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o libtestsuite.o libtestsuite.c
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include
> -I../include -
> c -o open_flags.o open_flags.c
> ...skipping...
> p-a997c94/testcases/realtime/include -I../../../../include
> -I../../../../include
> -L/home/LTP/ltp-a997c94/testcases/realtime/lib -L../../../../lib
> async_handl
> er.c -lrealtime -lpthread -lrt -lm -o async_handler
> In file included from async_handler.c:42:
> /home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h: In function
> `atomi
> c_add':
> /home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h:117: warning:
> impli
> cit declaration of function `__sync_add_and_fetch'
> /home/LTP/ltp-a997c94/testcases/realtime/lib/librealtime.a(librttest.o)(.tex
> t+0x
> 1a7): In function `create_thread':
> /home/LTP/ltp-a997c94/testcases/realtime/lib/../include/librttest.h:117:
> undefin
> ed reference to `__sync_add_and_fetch'
> collect2: ld returned 1 exit status
> make[4]: *** [async_handler] Error 1
> make[4]: Leaving directory
> `/home/LTP/ltp-a997c94/testcases/realtime/func/async_
> handler'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime/func'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/LTP/ltp-a997c94/testcases'
> make: *** [testcases-all] Error 2
If you had a more recent compiler this wouldn't be an issue. I
guess I'll add another autoconf test -_-...
-Garrett
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] About \"realtime\" build failure
[not found] <4D0672E6.9000100@ams.org>
@ 2010-12-13 19:42 ` Garrett Cooper
0 siblings, 0 replies; 7+ messages in thread
From: Garrett Cooper @ 2010-12-13 19:42 UTC (permalink / raw)
To: Todd Vander Does; +Cc: ltp-list@lists.sourceforge.net List, gowrishankar
On Dec 13, 2010, at 11:24 AM, Todd Vander Does wrote:
> Using gcc44 on RHEL 5.5 solved the realtime compile problem. It took me a while to take Garrett Cooper's hint., "If you had a more recent compiler this wouldn't be an issue." Maybe you could recommend a gcc version should in the INSTALL file along with bison, byacc, flex, etc.
Well, because it's not really critical to put in these overall versions because there are people (for better or for worse) testing on ancient versions of RHEL (4.x), as long as multiple components are gcc/glibc agnostic, etc. However, it would be nice if folks in the individual components which have been imported to clearly list the requirements (*HINT* *HINT* to some IBM folks with the Realtime tests, power management tests, etc)...
This is also why I've added the --with-realtime-tests option via configure (to tune this feature). Unfortunately there was a small gap of approximately a week or two between when this feature was implemented and when the gcc atomics change was implemented that it appears that some people with older platforms are running into issues with.
Thanks,
-Garrett
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-12-13 19:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Act3O838preomyfuTIOsmPN0ITLHHQ==>
2010-10-29 7:35 ` [LTP] About "realtime" build failure Mitani
2010-11-08 21:51 ` Garrett Cooper
2010-11-09 1:41 ` Mitani
2010-11-11 6:58 Mitani
2010-11-11 7:57 ` Subrata Modak
2010-11-11 8:42 ` Garrett Cooper
[not found] <4D0672E6.9000100@ams.org>
2010-12-13 19:42 ` [LTP] About \"realtime\" " Garrett Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox