About "realtime" build failure
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../../../../libasync_handler.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 `atomic_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
Makefile 2010-11-11 14:21:25.000000000 +0900 renamed from Makefile.org 2010-11-11 14:20:07.000000000 +0900 +1 -1
@@ -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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
However, yesterdayś git the failure was not there. And hence the reason for me to replace the October tar.
Regards--
Subrata
Quoted 98 lines · Mitani
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.ocloner.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o dataascii.odataascii.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o databin.odatabin.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o datapid.odatapid.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o file_lock.ofile_lock.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o forker.oforker.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o get_high_address.oget_high_address.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o get_path.oget_path.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o libtestsuite.olibtestsuite.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o open_flags.oopen_flags.c
...skipping...
p-a997c94/testcases/realtime/include -I../../../../include -I../../../../include
-L/home/LTP/ltp-a997c94/testcases/realtime/lib -L../../../../libasync_handler.c-lrealtime -lpthread -lrt -lm -oasync_handler
In file included from async_handler.c:42:/home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h: In function `atomic_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/MakefileMakefile 2010-11-11 14:21:25.000000000 +0900 renamed from Makefile.org 2010-11-11 14:20:07.000000000 +0900 +1
-2@@ -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
Quoted 10 lines
------------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 61 lines · Mitani
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.ocloner.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o dataascii.odataascii.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o databin.odatabin.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o datapid.odatapid.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o file_lock.ofile_lock.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o forker.oforker.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o get_high_address.oget_high_address.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o get_path.oget_path.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o libtestsuite.olibtestsuite.c
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include -I../include -
c -o open_flags.oopen_flags.c
...skipping...
p-a997c94/testcases/realtime/include -I../../../../include -I../../../../include -L/home/LTP/ltp-a997c94/testcases/realtime/lib -L../../../../libasync_handler.c-lrealtime -lpthread -lrt -lm -oasync_handler
In file included from async_handler.c:42:/home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h: In function `atomic_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_
Quoted 8 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list