develooper Front page | perl.perl5.porters | Postings from October 2003

Re: threads, threads/shared and NORECURS (was Re: 5.8.1: static build completely busted?)

Thread Previous
From:
Ilya Zakharevich
Date:
October 7, 2003 22:32
Subject:
Re: threads, threads/shared and NORECURS (was Re: 5.8.1: static build completely busted?)
Message ID:
20031008053147.GA7472@math.berkeley.edu
On Tue, Oct 07, 2003 at 08:54:29PM -0700, schwern@pobox.com wrote:
> On Tue, Oct 07, 2003 at 07:10:57PM -0700, Ilya Zakharevich wrote:
> > > Maybe we should solve this headache the easy way by moving ext/threads/shared/
> > > to ext/threads-shared.  XS is confusing enough without trying to shoehorn
> > > two modules into one directory.
> > 
> > *If* they are independent enough, then yes.  However, I see little
> > reason to use one of them without another; thus the "joint status"
> > makes all the sense to me.
> 
> The problem is currently they're built as wholely seperate modules, yet
> one is in a subdirectory of the other.  Why this is so, I don't know,
> but its unnecessarily complex.

See the original post.  I think I pinpointed the *apparent* problem
due to which they are considered "separate": otherwise threads/shared
won't be linked during a static build.  I also pinpointed the bug in the
static build engine, and had shows how to fix it (actually, two
different ways ;-).

Just fix this bug, and all this complexity may be removed.

Hope this helps,
Ilya

Thread Previous


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