πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: lucky.freebsd.perl
1 messages
1 total messages Started by Dustin J. Mitchell Thu, 11 Mar 2010 23:06
Re: Unthreaded Perl linked to threaded libraries
#1
Author: Dustin J. Mitchell
Date: Thu, 11 Mar 2010 23:06
29 lines
4405 bytes
On Wed, Mar 10, 2010 at 2:54 AM, Anton Berezin <tobez@tobez.org> wrote:
> Can you try and rebuild perl so that it is still not threaded but linked
> with -pthread and friends? Β This would involve copying REINPLACE_CMD bit
> under "if defined(WITH_THREADS)" verbatim to the "else" part, then doing
> make clean ; make install FORCE_PKG_REGISTER=yes.

Thanks - that worked quite well!

Now, the larger question is how to support this in general.  I assume
that including the above instructions in the Amanda README is a
suboptimal solution!

John (copied) has suggested using a perl wrapper that adds
LD_PRELOAD=/lib/libthr.so, which seems to help.  Other options:

Build a private copy of Perl in the Amanda port, or make Amanda depend
on a special linked-with-threads perl port.

Figure out and fix the underlying issue that causes this condition to
hang (although it's not clear it's a bug).

What do you all think?  Are there other freebsd lists I should involve
in this question?

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads