Currently boost is built with gcc. The latest gentoo stable version of boost 1.62 allows building with clang.So, try to upgrade boost and check if it can build with clang.
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/2f5a5470f8dca82610c7407fa70cdfa510955588 commit 2f5a5470f8dca82610c7407fa70cdfa510955588 Author: Manoj Gupta <manojgupta@google.com> Date: Fri Mar 31 02:33:09 2017 Allow Building boost with clang. BUG= chromium:706925 TEST=Building boost on caroline, kevin, daisy works. TEST=cbuildbot --latest-toolchain --hwtest {daisy,kevin,caroline}-release works. CQ-DEPEND=CL:457657 Change-Id: Ifc3d4ba98a7fe1ca245e679c464b253844f89315 Reviewed-on: https://chromium-review.googlesource.com/457640 Commit-Ready: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/2f5a5470f8dca82610c7407fa70cdfa510955588/chromeos/config/env/dev-libs/boost [modify] https://crrev.com/2f5a5470f8dca82610c7407fa70cdfa510955588/profiles/targets/chromeos/package.provided
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/66afbe3845f5b97c48bca5d26a7d43aa9cf8a649 commit 66afbe3845f5b97c48bca5d26a7d43aa9cf8a649 Author: Manoj Gupta <manojgupta@google.com> Date: Fri Mar 31 02:33:09 2017 Update dev-libs/boost to 1.62. Boost version 1.62 can be built with clang. BUG= chromium:706925 TEST=Builds on caroline,kevin,daisy. TEST=cbuildbot --latest-toolchain --hwtest {daisy,kevin,caroline}-release works. CQ-DEPEND=CL:457640 Change-Id: Icc740f33d8ec7a884ef8a6380f21b01386a06cee Reviewed-on: https://chromium-review.googlesource.com/457657 Commit-Ready: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [delete] https://crrev.com/356a6707e335942b6423acf7f54b388332b3bc77/dev-libs/boost/files/boost-1.52.0-threads.patch [rename] https://crrev.com/66afbe3845f5b97c48bca5d26a7d43aa9cf8a649/dev-libs/boost/boost-1.62.0-r1.ebuild [delete] https://crrev.com/356a6707e335942b6423acf7f54b388332b3bc77/dev-util/boost-build/boost-build-1.55.0.ebuild [modify] https://crrev.com/66afbe3845f5b97c48bca5d26a7d43aa9cf8a649/dev-util/boost-build/Manifest [modify] https://crrev.com/66afbe3845f5b97c48bca5d26a7d43aa9cf8a649/dev-libs/boost/Manifest [delete] https://crrev.com/356a6707e335942b6423acf7f54b388332b3bc77/dev-libs/boost/files/boost-1.55.0-tools-c98-compat.patch [add] https://crrev.com/66afbe3845f5b97c48bca5d26a7d43aa9cf8a649/dev-libs/boost/files/boost-1.56.0-build-auto_index-tool.patch [add] https://crrev.com/66afbe3845f5b97c48bca5d26a7d43aa9cf8a649/dev-util/boost-build/boost-build-1.62.0-r1.ebuild
Comment 1 by bugdroid1@chromium.org
, Mar 31 2017