You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Manuel Polling <M....@edmond.nl> on 2008/02/08 11:45:29 UTC
building on Solaris 10 with gcc - some tests failing and slow
Hi all,
I am trying to get APR 1.2.12 built on Solaris 10 using gcc as provided
by Sun (version 3.4.3) in /usr/sfw. I want both a 64-bit and a 32-bit
version. The builds seem to have succeeded. To make sure that everything
is ok I tried to run ./testall in the test/ directory. This seems to run
into some problems:
* some tests are partially failing and the testsock test seems to
hang (I left the process running unattended for a night)
testdso : FAILED 8 of 9
testflock : FAILED 2 of 3
testpipe : FAILED 1 of 9
testpoll : FAILED 1 of 13
testproc : FAILED 2 of 3
testshm : FAILED 1 of 6
testsock :
* a number of tests take a lot of time to complete, in particular
testpipe but there are other as well. "A lot of time" means at
least several minutes but getting up to 15-30 minutes or more
(testpipe is an example of that). On Linux the same tests finish
in 1 or 2 minutes and only testshm fails 1 test.
We are only using the memory pool and md5 routines, so we are probably
ok even if not everything is working as it should, but the current
results I am getting do not make me very confident about the state of
the library the way I have built it.
Am I right that the tests are supposed to have no failings on any platform?
Are there any extra issues to take into account when building on Solaris10?
Does anyone have suggestions what could cause the kind of delays in the
tests that I am experiencing? It could even be something wrong with our
system configuration, but at present I have no clue as to where to start
looking.
Just to be sure, here are the settings that I used to get the builds
working:
PATH=/usr/sfw/bin:$PATH:/usr/sfw/sparc-sun-solaris2.10/bin
export PATH
echo $PATH
export MAKE=gmake
export SET_MAKE='MAKE=gmake'
./configure --prefix=/edmond/tools/solaris10/apr/1.2.12
gmake
gmake install
export CFLAGS=-m64
export LDFLAGS=-m64
export CXXFLAGS=-m64
./configure --prefix=/edmond/tools/solaris10/apr/1.2.12
--exec-prefix=/edmond/tools/solaris10/apr/1.2.12/64
gmake clean
gmake
gmake install
cd test
gmake testall
export LD_LIBRARY_PATH_64=/usr/sfw/lib/64
./testall
Thanks for any help that can be offered,
Manuel.
--
drs. Manuel Polling
Consultant/Software Engineer
Edmond Research & Development B.V.
/The Document Solutions Specialist/
http://www.edmond.nl/
Re: building on Solaris 10 with gcc - some tests failing and slow
Posted by Paul Querna <ch...@force-elite.com>.
Manuel Polling wrote:
> Hi all,
> I am trying to get APR 1.2.12 built on Solaris 10 using gcc as provided
> by Sun (version 3.4.3) in /usr/sfw. I want both a 64-bit and a 32-bit
> version. The builds seem to have succeeded. To make sure that everything
> is ok I tried to run ./testall in the test/ directory. This seems to run
> into some problems:
>
> * some tests are partially failing and the testsock test seems to
> hang (I left the process running unattended for a night)
> testdso : FAILED 8 of 9
> testflock : FAILED 2 of 3
> testpipe : FAILED 1 of 9
> testpoll : FAILED 1 of 13
> testproc : FAILED 2 of 3
> testshm : FAILED 1 of 6
> testsock :
> * a number of tests take a lot of time to complete, in particular
> testpipe but there are other as well. "A lot of time" means at
> least several minutes but getting up to 15-30 minutes or more
> (testpipe is an example of that). On Linux the same tests finish
> in 1 or 2 minutes and only testshm fails 1 test.
Test poll/socket are known issues with patches available:
http://issues.apache.org/bugzilla/show_bug.cgi?id=43000
http://mail-archives.apache.org/mod_mbox/apr-dev/200712.mbox/%3C369011d00712032222p38c14477n1ecf13dbba5abc4@mail.gmail.com%3E
-Paul