Boost logo

Boost-Build :

Subject: Re: [Boost-build] Segfault in bjam
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-08-26 12:52:38


On Thursday 26 August 2010 20:39:16 Philipp Thomas wrote:

> * Belcourt, Kenneth (kbelco_at_[hidden]) [20100826 06:10]:
>
> > You can modify jam.h
> >
> > #define MAXJOBS 64 /* silently enforced -j limit */
>
> I won't do that but that would explain things as it seems that not all parts
> of bjam honour that setting, otherwise bjam wouldn't fail when exceeding
> that limit. So I'll examine the bjam code more closely to see if I find the
> culprit.

I took Noel's comment to mean that bjam does respect MAXJOBS, but the current
setting is larger than fd_set structure is able to keep. I was not able to
figure, or find any define, that tells how many describtors fd_set can hold.

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk