Open Arteiimis opened 1 week ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [boost] boost 1.85.0 uses the clang-cl tool chain to open asan, and during testing it shows that the header file "string.hpp" cannot be found.
When I remove this configs, it work. Maybe we need to disable clang toolchain When debug on. Any idea? @SirLynix
I suppose it's just a matter of folders, better check where the header and libs are installed when using clang-cl
Nothing
$ eza -a -R -T bin.v2
bin.v2
├── config.log
├── libs
│ ├── config
│ │ └── checks
│ │ ├── 53fbd48eb61920ae4a542b5dfe4e2925
│ │ └── architecture
│ │ ├── 9a84ceb2f523f2fc5565f4d00c523123
│ │ ├── 53fbd48eb61920ae4a542b5dfe4e2925
│ │ └── msvc-14.3
│ │ └── debug
│ │ └── threading-multi
│ │ ├── 64.obj
│ │ └── x86.obj
│ └── filesystem
│ └── config
│ ├── 0d7ef2339ba85b289af1d517e6dda136
│ └── 53fbd48eb61920ae4a542b5dfe4e2925
├── project-cache.jam
├── standalone
│ └── msvc
│ └── msvc-14.3
│ └── msvc-setup.bat
└── tools
└── boost_install
└── d41d8cd98f00b204e9800998ecf8427e
└── BoostConfigVersion.cmake
$ eza -a -R -T installdir.failed
installdir.failed
├── lib
│ ├── cmake
│ │ ├── Boost-1.85.0
│ │ │ ├── BoostConfig.cmake
│ │ │ └── BoostConfigVersion.cmake
│ │ └── BoostDetectToolset-1.85.0.cmake
│ └── pkgconfig
│ └── boost.pc
├── logs
├── manifest.txt
└── references.txt
Xmake 版本
2.9.3
操作系统版本和架构
win10
描述问题
当使用clang-cl作为boost的构建工具时,不开启asan可以正常编译测试通过,开启asan会提示找不到"string.hpp"
期待的结果
开启asan,正常使用clang-cl构建
工程配置
附加信息和错误日志