Re: Perl tests

2002-10-12 Thread Neal H. Walfield
> On Sat, Oct 12, 2002 at 10:54:51PM +0200, Marcus Brinkmann wrote: > > This is my current working diff: > > Which means it is the diff I work with, not necessarily that it > works. I have attached my `hints/gnu.sh'. With it, I get a working perl by running: `make -f debian/rules binary'. The t

Re: Perl tests

2002-10-12 Thread Marcus Brinkmann
On Sat, Oct 12, 2002 at 10:54:51PM +0200, Marcus Brinkmann wrote: > This is my current working diff: Which means it is the diff I work with, not necessarily that it works. Marcus -- `Rhubarb is no Egyptian god.' GNU http://www.gnu.org[EMAIL PROTECTED] Marcus Brinkmann The

Re: Perl tests

2002-10-12 Thread Marcus Brinkmann
On Tue, Oct 01, 2002 at 03:18:16PM +0200, Michal 'hramrach' Suchanek 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

Re: Perl tests

2002-10-08 Thread Marcus Brinkmann
On Tue, Oct 08, 2002 at 05:47:11PM +0200, Michal 'hramrach' Suchanek wrote: > One more interesting thing: > The pipe tests fal when ran with make test but succeed with make harness. > (which is probably not related to threads at all) This is because our close() is asynchronous. You can see this

Re: Perl tests

2002-10-08 Thread Michal 'hramrach' Suchanek
On Tue, Oct 08, 2002 at 09:26:08AM -0400, Neal H. Walfield wrote: > I do not think the default setup enables threading--perhaps I am > mistaken. Would you please consider attaching your config.sh file? My septup differs form what you would get because I modified hints/gnu.sh to include -lpthread

Re: Perl tests

2002-10-08 Thread Neal H. Walfield
> > > building threads into perl (the new style) fails. The default setup is to > This is the default debian setup: all extension loaded dynamically. I do not think the default setup enables threading--perhaps I am mistaken. Would you please consider attaching your config.sh file? This will elim

Re: Perl tests

2002-10-08 Thread Michal 'hramrach' Suchanek
Running perl, note that perl receives sigtrap even when running alone: Starting program: /mnt/disk/src/perl-5.8.0/perl -I../lib ../ext/threads/t/basic.t 1..15 ok 1 ok 2 - Test that argument passing works Program received signal SIGTRAP, Trace/breakpoint trap. 0x0806fffc in Perl_Gv_AMupdate () (

Re: Perl tests

2002-10-08 Thread Michal 'hramrach' Suchanek
On Mon, Oct 07, 2002 at 12:16:26PM -0500, Neal H. Walfield wrote: > On Mon, Oct 07, 2002 at 11:12:47AM +0200, Michal 'hramrach' Suchanek wrote: > > With the script I can link and run successfully the tests in libpthread but

Re: Perl tests

2002-10-07 Thread Glenn McGrath
On Mon, 7 Oct 2002 12:16:26 -0500 "Neal H. Walfield" <[EMAIL PROTECTED]> wrote: > On Mon, Oct 07, 2002 at 11:12:47AM +0200, Michal 'hramrach' Suchanek > wrote: > > With the script I can link and run successfully the tests in > > libpthread but building threads into perl (the new style) fails. The

Re: Perl tests

2002-10-07 Thread Neal H. Walfield
On Mon, Oct 07, 2002 at 11:12:47AM +0200, Michal 'hramrach' Suchanek wrote: > With the script I can link and run successfully the tests in libpthread but > building threads into perl (the new style) fails. The default setup is to > build threads as a dynamic extension to statically linked perl bin

Re: Perl tests

2002-10-07 Thread Michal 'hramrach' Suchanek
With the script I can link and run successfully the tests in libpthread but building threads into perl (the new style) fails. The default setup is to build threads as a dynamic extension to statically linked perl binary. I could try to configure threading as a static extension eventually. -- Mic

Re: Perl tests

2002-10-04 Thread Michal 'hramrach' Suchanek
On Tue, Oct 01, 2002 at 11:04:11AM -0400, Neal H. Walfield wrote: > Linking statically against libpthread is not yet supported. Glibc > uses some weak symbols to detected if it should enable multithreaded I was able to run statically linked tests from libpthread when using this script instead of

Re: Perl tests

2002-10-01 Thread Neal H. Walfield
> > > +libswanted="pthread ihash ""$*" > > > > You do not have to add libihash; libpthread has a DT_NEEDED dependency > > on it. > > For static linking you have. Correct, sorry for the confusion. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://m

Re: Perl tests

2002-10-01 Thread Neal H. Walfield
> Yes, it fails when linked statically. It takes quite long both to compile > and to run this way. But linked dynamically it works.. Linking statically against libpthread is not yet supported. Glibc uses some weak symbols to detected if it should enable multithreaded mode. The symbols in questi

Re: Perl tests

2002-10-01 Thread Marcus Brinkmann
On Tue, Oct 01, 2002 at 10:08:13AM -0400, Neal H. Walfield wrote: > > +libswanted="pthread ihash ""$*" > > You do not have to add libihash; libpthread has a DT_NEEDED dependency > on it. For static linking you have. Thanks, Marcus -- `Rhubarb is no Egyptian god.' GNU http://www.gnu.org

Re: Perl tests

2002-10-01 Thread Michal 'hramrach' Suchanek
On Tue, Oct 01, 2002 at 11:00:59PM +1000, Glenn McGrath wrote: > On Tue, 1 Oct 2002 15:18:16 +0200 > "Michal 'hramrach' Suchanek" <[EMAIL PROTECTED]> 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~

Re: Perl tests

2002-10-01 Thread Neal H. Walfield
> +libswanted="pthread ihash ""$*" You do not have to add libihash; libpthread has a DT_NEEDED dependency on it. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: Perl tests

2002-10-01 Thread Jeff Bailey
On Tue, Oct 01, 2002 at 11:00:59PM +1000, Glenn McGrath wrote: > What db are you using, i used db4.1 but it required a patch to perl. If you have patches that apply to both the threads and non-threads case of perl, can you please submit them to the BTS? Tks, Jeff Bailey -- learning from failu

Re: Perl tests

2002-10-01 Thread Glenn McGrath
On Tue, 1 Oct 2002 06:05:42 -0700 Jeff Bailey <[EMAIL PROTECTED]> wrote: > On Tue, Oct 01, 2002 at 11:00:59PM +1000, Glenn McGrath wrote: > > > What db are you using, i used db4.1 but it required a patch to perl. > > If you have patches that apply to both the threads and non-threads > case of p

Re: Perl tests

2002-10-01 Thread Glenn McGrath
On Tue, 1 Oct 2002 15:18:16 +0200 "Michal 'hramrach' Suchanek" <[EMAIL PROTECTED]> 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

Perl tests

2002-10-01 Thread Michal 'hramrach' Suchanek
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.shTue Oct 1 11:40:57 2002 @@ -6,7 +6,8 @@ # XXX remove this once SUNRPC is implemented. set `echo X "$libswanted "| sed