Subject: Re: [Boost-build] Major engine changes
From: Belcourt, K. Noel (kbelco_at_[hidden])
Date: 2011-12-03 18:18:14
On Dec 3, 2011, at 1:31 PM, Steven Watanabe wrote:
> On 12/03/2011 11:00 AM, Belcourt, K. Noel wrote:
>> On Dec 3, 2011, at 11:43 AM, Belcourt, K. Noel wrote:
>>> On Nov 29, 2011, at 5:02 PM, Steven Watanabe wrote:
>>>> I've just committed a major rewrite of the
>>>> jam interpreter. So, far, I'm seeing a 2x speed
>>>> up running bjam -n -d0 in $BOOST_ROOT/status.
>>>> I've tried to test my changes thoroughly, but, as
>>>> always, there may be something that I missed.
>>>> If anything breaks, please let me know, and I'll
>>>> try to deal with it ASAP.
>>> It looks as if big endian (SunOS and AIX) bjam is segfaulting. I
>>> haven't had time yet to debug this but I noticed a few new warnings.
>>> "function.c", line 376: warning: implicit function declaration:
>>> "function.c", line 378: warning: implicit function declaration:
>>> "function.c", line 2685: warning: implicit function declaration:
>>> "jam.c", line 622: warning: implicit function declaration: pwd_done
>> And a bit more diagnostic in the attached file (dying trying to
>> process_jam_log on SunOS).
> Okay. I think the problem is in project.find.
> I've added a few more asserts to the engine
> and the attached patch adds extra instrumentation
> to project.find. Can you give me the output
> with the latest bjam and with this patch applied?
I can, but it doesn't fail when I run it by hand. The only way I get
a segmentation fault now is by running the nightly test script, this
causes it to dump core. I know this is almost useless but here's the
latest call stack (sorry, there's no symbols).
sass8000(232 ^H)% pstack core
core 'core' of 24128: /scratch2/kbelco/boost/tools_bjam/
00021084 list_append (0, 1ae00, 57cc4, ca980, ffbfe864, e48a0) + 24
00026474 parse_file (61de8, ffbfe864, 0, 58000, 67420, ca980) + 54
0001f7e0 main (a, 0, ffbff67c, 5bf40, a, ffbfeddc) + 7c0
00013e08 _start (0, 0, 0, 0, 0, 0) + 108
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