[m-rev.] for review: granularity control

Peter Wang wangp at students.csse.unimelb.edu.au
Sat Nov 4 12:01:33 AEDT 2006


On 2006-11-03, Zoltan Somogyi <zs at csse.unimelb.edu.au> wrote:
> On 03-Nov-2006, Peter Wang <wangp at students.csse.unimelb.edu.au> wrote:
> > Then it's probably the same problem as I had with Debian's libc package.
> 
> My laptop (on which the problem occurs) runs Ubuntu, which is based on Debian.
> 
> > It doesn't include a static version of the NPTL implementation of pthreads,
> > so when you statically link it pulls in the LinuxThreads implementation.
> > As far as I know, linux 2.6.x requires the NPTL implementation, at least
> > when thread-local variables are involved.
> 
> Any idea where I can get the missing library from? Google wasn't much help.

Newer versions of the 'libc6-dev' package have static NTPL libraries.
The libraries are placed in /usr/lib/nptl/ so we would need to add
-L/usr/lib/nptl on the command-line, and probably -I/usr/include/nptl.

> And would it be possible to add a test to configure.in to detect the problem?
> (Would the test program in your mail be a precise enough test?)

Yes, I think so.

Peter

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list