[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Perl tests
From: |
Michal 'hramrach' Suchanek |
Subject: |
Re: Perl tests |
Date: |
Tue, 1 Oct 2002 17:32:11 +0200 |
User-agent: |
Mutt/1.4i |
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" <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.
>
Yes, it fails when linked statically. It takes quite long both to compile
and to run this way. But linked dynamically it works..
--
Michal Suchanek
hramrach@centrum.cz
- Perl tests, Michal 'hramrach' Suchanek, 2002/10/01
- Re: Perl tests, Glenn McGrath, 2002/10/01
- Re: Perl tests, Jeff Bailey, 2002/10/01
- Re: Perl tests,
Michal 'hramrach' Suchanek <=
- Re: Perl tests, Neal H. Walfield, 2002/10/01
- Re: Perl tests, Michal 'hramrach' Suchanek, 2002/10/04
- Re: Perl tests, Michal 'hramrach' Suchanek, 2002/10/07
- Re: Perl tests, Neal H. Walfield, 2002/10/07
- Re: Perl tests, Glenn McGrath, 2002/10/07
- Re: Perl tests, Michal 'hramrach' Suchanek, 2002/10/08
- Re: Perl tests, Michal 'hramrach' Suchanek, 2002/10/08
- Re: Perl tests, Neal H. Walfield, 2002/10/08
- Re: Perl tests, Michal 'hramrach' Suchanek, 2002/10/08
- Re: Perl tests, Marcus Brinkmann, 2002/10/08