Boost logo

Boost-Build :

Subject: Re: [Boost-build] Early bjam abort
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-04-30 12:52:20


AMDG

On 04/30/2012 08:16 AM, Nogradi, Chris wrote:
> Steve,
>
>> With this change I am seeing bjam stuck in an endless loop
>

I just fixed a bug that can cause such behavior
in r78281. I wrote a test case that generates
random headers and it passes consistently now.

> Here is some additional info, it appears that there are only 2 targets in the list and they point to each other. I ran this code:
>
> TARGET * target_scc( TARGET * t )
> {
> TARGET * result = t;
> TARGET * tmp;
> while ( result->scc_root )
> {
> printf( "OBJECT: %s\n", object_str( result->name ) );
> result = result->scc_root;
> }
>
> And got this endlessly:
>
> OBJECT: <object(c-scanner)@19136#some_path/file1.h
> OBJECT: <object(c-scanner)@19136#some_path/file2.h
> OBJECT: <object(c-scanner)@19136#some_path/file1.h
> OBJECT: <object(c-scanner)@19136#some_path/file2.h
> OBJECT: <object(c-scanner)@19136#some_path/file1.h
> OBJECT: <object(c-scanner)@19136#some_path/file2.h
> ...
> OBJECT: <object(c-scanner)@19136#some_path/file1.h
> OBJECT: <object(c-scanner)@19136#some_path/file2.h
>

In Christ,
Steven Watanabe


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