Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-07 08:28:57


Hi Daniel,

> I mentioned this on an old thread, but I am afraid it might be buried and
> not noticed so I decided to write up a new description of the problem.
>
> Using CVS HEAD of BB and intel-linux 8 toolset, prebuilt <file> targets
> cause BB to fail stating there is an ambiguity between the intel generator
> and the builtin one.
>
> Vlad fixed this a while back for <name>ed system libraries by adding a
> generators.override to the searched-lib-generator.
>
> There is another line just above that fix that states:
> generators.override builtin.lib-generator : intel-linux.prebuilt ;
>
> And I am wondering if it might be a typo.

That line is not a typo. Without it, both builtin.lib-generator and
intel-linux.prebuilt would be tried, and both succeed, that that would be an
ambiguity.

> Shouldn't it be:
> generators.override builtin.prebuilt : intel-linux.prebuilt ;

In fact, there should be extra line:

  generators.override intel-linux.prebuilt : builtin.prebuilt ;

that resolves conflict between another pair of generators in favour of
intel-linux.prebuilt.

I've comitted the fix, thanks for reporting!

- Volodya


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