harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [drlvm] [launcher] Executable hangs
Date Mon, 02 Oct 2006 06:41:03 GMT
2006/10/2, Armand Navabi <anavabi@purdue.edu>:
> > There are clean sources unzipped at
> >   drlvm\build\pre-copied\lnx\APR\apr-1.2.6\
> > and (slighly) patched ones (actually used by VM build) at
> >   drlvm\build\lnx_ia32_gcc_debug\semis\extra\apr\src\
>
> > See README.dev in those location on how to run tests.
> > Or - just a wild thought - hack
> > drlvm\build\make\components\extra\apr.xml to add exec for "make
> > test"...
>
>
> If you want to generate test coverage data, use the following steps:
>
> 1) ./buildconf
> 2) CFLAGS="-fprofile-arcs -ftest-coverage" ./configure
> 3) make
> 4) cd test
> 5) make
> 6) ./testall
> 7) cd ..
> 8) make gcov
>
> I took the above steps and on step 5, where it is making the tests in the
> test directory, I get the following:
>
> anavabi@gator
> /scratch/anavabi/Harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/semis
> /extra/apr/src/test $ make
> make[1]: Entering directory
> `/scratch/anavabi/Harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/semi
> s/extra/apr/src/test'
> /bin/sh
> /scratch/anavabi/Harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/semis
> /extra/apr/src/libtool --silent --mode=link  gcc -pthread  -fprofile-arcs
> -ftest-
> coverage -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE   -I../include -I./../include  -no-install    -o
> testlockperf testlockperf.lo ../libapr-1.la   -luuid -lrt -lcrypt  -lpthread
> -ldl
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
> testlockperf: hidden symbol `__gcov_flush' in
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcov.a(_gcov.o) is referenced by DSO
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
> final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> make[1]: *** [testlockperf] Error 1
> make[1]: Leaving directory
> `/scratch/anavabi/Harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/semi
> s/extra/apr/src/test'
> make: *** [all-recursive] Error 1

Err. This is smth related to coverage measurements and we can try
going without it. Please try just the following:
./configure
./make
./make test


>
>
> Thanks,
> Armand
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message