You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Armand Navabi <an...@purdue.edu> on 2006/10/02 07:24:52 UTC

RE: [drlvm] [launcher] Executable hangs

Alexey,

> Hmm, DRLVM build enforces static linking with APR artifacts built
> alongside the VM - it does not use any pre-installed APR. And I hardly
> think APR configure fails here...

> Nevertheless, Armand, maybe it worths trying a standalone APR test?
> Either simple dso_load scenario, or even APR unit tests (these are
> bundled with APR sources, just look for README).

Sorry, but how can I run the standalone APR test?  Where is the APR sources
bundled?

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


Re: [drlvm] [launcher] Executable hangs

Posted by Alexey Varlamov <al...@gmail.com>.
2006/10/2, Armand Navabi <an...@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


RE: [drlvm] [launcher] Executable hangs

Posted by Armand Navabi <an...@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


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


Re: [drlvm] [launcher] Executable hangs

Posted by Alexey Varlamov <al...@gmail.com>.
2006/10/2, Armand Navabi <an...@purdue.edu>:
> Alexey,
>
> > Hmm, DRLVM build enforces static linking with APR artifacts built
> > alongside the VM - it does not use any pre-installed APR. And I hardly
> > think APR configure fails here...
>
> > Nevertheless, Armand, maybe it worths trying a standalone APR test?
> > Either simple dso_load scenario, or even APR unit tests (these are
> > bundled with APR sources, just look for README).
>
> Sorry, but how can I run the standalone APR test?  Where is the APR sources
> bundled?

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"...

>
> 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