Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost build vacpp on Linux (PPC)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-27 19:13:16


On 03/27/2012 03:23 PM, Hubert Tong wrote:
> We have been getting this issue as well on both AIX and Linux on PPC.

Okay, so this appears for xlc/PPC, right?
Does it work for other compilers on PPC?

> jambase.c:74: in module scope
> *** argument error
> * rule Segmentation fault (core dumped)

I won't be able to really look at this for
a few day. Unfortunately, I don't have access to
this platform, so I might not be able to
fix it. If we can't resolve this soon
I'll revert the problematic changes.

Here's what I can deduce so far:
a) The error is at function.c:2620 in argument_error.
b) frame->rulename is probably NULL.
c) In Jam, the error is at Jambase:138, in the
   call to GLOB.

What I'd like to know is:
a) Confirmation that frame->rulename is NULL.
b) The value of (char*)procedure->rulename at the
   point of the seg-fault.
c) The jam function being called and the arguments.
   Look for function_call_rule on the call stack.
d) What happens if the line with the error,
   function.c:2620 is commented out?

That should be enough to get an idea of the problem.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at