develooper Front page | perl.perl5.porters | Postings from July 2002

Re: [ID 20020623.023] make test for 5.8.0-RC1 has 3 failures on FreeBSD

From:
Nicholas Clark
Date:
July 13, 2002 16:20
Subject:
Re: [ID 20020623.023] make test for 5.8.0-RC1 has 3 failures on FreeBSD
Message ID:
20020713231204.GE300@Bagpuss.unfortu.net
On Sat, Jul 13, 2002 at 06:21:11PM -0400, Alexandros Manoussakis wrote:
> Right on, I was on NFS, great catch! Compiling and running make test in
> /var/tmp passed all tests with no problems. Do the tests need to be
> tweaked so they run on NFS too you think? perl-5.6.1 tests ok on NFS.
> 
> By the way, is perl-5.8.0 supposed to work on FreeBSD with threads
> enabled?
> Compilation fails on all my systems unless I remove -pthread and use
> linuxthreads instead. Is that the best way to do it on FreeBSD ?

I've had no problems building with threads on FreeBSD 4.5 and 4.6, and
almost no problems on a 4.4-PRE machine. (plum, which is dual CPU and
consistently builds a perl which coredumps in all of Storable's
tests. Although if I ship its config to another FreeBSD machine, build with
4.5's gcc and ship it back it all passes.)

I've not seen this:

> gcc -pthread -Wl,-E  -L/usr/local/lib -o miniperl  miniperlmain.o opmini.o libperl.a -lm -lc_r -lcrypt -lutil
> libperl.a(util.o): In function `Perl_my_popen_list':
> util.o(.text+0x2806): undefined reference to `__pthread_sleep'
> util.o(.text+0x29b7): undefined reference to `__pthread_read'
> libperl.a(util.o): In function `Perl_my_popen':
> util.o(.text+0x2b9e): undefined reference to `__pthread_sleep'
> util.o(.text+0x2dd3): undefined reference to `__pthread_read'
> libperl.a(util.o): In function `Perl_my_fork':
> util.o(.text+0x2ef1): undefined reference to `__pthread_fork'
> libperl.a(util.o): In function `Perl_wait4pid':
> util.o(.text+0x3173): undefined reference to `__pthread_waitpid'

and I can't think of anything offhand.

Nicholas Clark
-- 
Even better than the real thing:	http://nms-cgi.sourceforge.net/



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About