Boost logo

Boost Users :

Subject: [Boost-users] bjam fails on clang in unix
From: Christopher Jefferson (chris_at_[hidden])
Date: 2010-05-04 04:34:48


It currently is not possible to build bjam with clang on unix, as the bjam files seems to be broken. Is there any change a bjam expert could have a quick look? Hopefully it will not require too major modifications. The darwin one works fine.

I get the following output. The '-dumpmachine' flag appears to have been inherited from g++, and does not appear in clang. Even if I remove this, it still doesn't fix the rest of the problems.

bash-4.1$ ./bjam
clang: error: unsupported option '-dumpmachine'
clang: error: no input files
/scratch/boost-trunk/tools/build/v2/build/feature.jam:307: in implied-subfeature from module feature
error: "unix" is not a known subfeature value of <toolset>clang
/scratch/boost-trunk/tools/build/v2/build/feature.jam:491: in feature.validate-value-string from module feature
/scratch/boost-trunk/tools/build/v2/build/property.jam:276: in validate1 from module property
/scratch/boost-trunk/tools/build/v2/build/property.jam:301: in validate from module property
/scratch/boost-trunk/tools/build/v2/build/property.jam:310: in property.validate-property-sets from module property
/scratch/boost-trunk/tools/build/v2/build/toolset.jam:151: in toolset.flags from module toolset
/scratch/boost-trunk/tools/build/v2/tools/common.jam:430: in common.handle-options from module common
/scratch/boost-trunk/tools/build/v2/tools/clang-unix.jam:109: in clang-unix.init from module clang-unix
/scratch/boost-trunk/tools/build/v2/build/toolset.jam:38: in toolset.using from module toolset
/scratch/boost-trunk/tools/build/v2/tools/clang.jam:25: in clang.init from module clang
/scratch/boost-trunk/tools/build/v2/build/toolset.jam:38: in toolset.using from module toolset
/scratch/boost-trunk/tools/build/v2/build/project.jam:881: in using from module user-config
/home/caj/user-config.jam:1: in modules.load from module user-config
/scratch/boost-trunk/tools/build/v2/build-system.jam:257: in load-config from module build-system
/scratch/boost-trunk/tools/build/v2/build-system.jam:399: in load-configuration-files from module build-system
/scratch/boost-trunk/tools/build/v2/build-system.jam:554: in load from module build-system
/scratch/boost-trunk/tools/build/v2/kernel/modules.jam:283: in import from module modules
/scratch/boost-trunk/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/scratch/boost-trunk/boost-build.jam:17: in module scope from module


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net