Boost logo

Boost-Build :

Subject: [Boost-build] Trunk tests with stdlib=sun-stlport
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2009-09-21 17:32:36


Hi,

When running trunk tests on Linux with the Sun 5.9 CC compiler, I get
this error out of Boost.Build :

/var/scratch/boost/tools_bb/build/feature.jam:483: in validate-value-
string from module feature
error: "sun" is not a known value of feature <stdlib>
error: legal values: "native" "sun-stlport" "stlport"

I run the tests using this command :

python run.py --runner="Sandia-Linux-sun" --bjam-toolset=gcc --pjl-
toolset=gcc --toolsets="sun-5.9" --bjam-options="-j8 stdlib=sun-stlport"

The problem seems to be in feature.jam, when parsing the stdlib
option. I've found that I needed to make the attached patch to
feature.jam, in order to get bjam to accept stdlib=sun-stlport on the
command line.

I use the patch_boost script to copy it into these locations.

        cp feature.jam.save boost/tools/build/v2/build/feature.jam
        cp feature.jam.save tools_bb/build/feature.jam

Does anyone know if this is a known issue or should I open a ticket
and attach the patch?

-- Noel






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