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~ 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 [EMAIL PROTECTED] _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd