bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl tests


From: Glenn McGrath
Subject: Re: Perl tests
Date: Tue, 1 Oct 2002 23:00:59 +1000

On Tue, 1 Oct 2002 15:18:16 +0200
"Michal 'hramrach' Suchanek" <hramrach_l@centrum.cz> wrote:

> I managed to compile enough of perl 5.8 (5.8.0-13 deb) to run the tests.
> I got the source package, did
> 
> --- hints/gnu.sh~     Tue Oct  1 11:40:02 2002
> +++ hints/gnu.sh      Tue Oct  1 11:40:57 2002
> @@ -6,7 +6,8 @@
>  # XXX remove this once SUNRPC is implemented.
>  set `echo X "$libswanted "| sed -e 's/ nsl / /'`
>  shift
> -libswanted="$*"
> +# XXX add required libs _before_ libc
> +libswanted="pthread ihash ""$*"
>  

hmm, i had to remove all refernce to -lc to get it miniperlmain to run
without segfaulting, i tried adding -lc before -lpthreads but it didnt
seem to work for me.

I edited the Makefile directly and changed the -lc to a -lpthreads in the
libs = " line. (cant remember the exact libs i used).

If you dont tell the linker to link to libc it still does it, so there is
no harm, i found that if you add -lc to the lpthread/tests/Makefile it
fails those tests as well.

>  case "$optimize" in
>  '') optimize='-O2' ;;
> 
> tried to build the package, rebooted, ran make ; make test.
> .. rebooted, tried make test again.
> My machine usually locks during one of the thread tests.

I only completed the minitests, of them it only failed stat (timed out),
and pipe, i manually went through configure to compile it myself.

What db are you using, i used db4.1 but it required a patch to perl.

Ill try and run the full test and see if i have the same problem


Glenn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]