[ boost-math ] build failure: cross-compile from mingw to arm-linux #17440
Labels
category:community-triplet
A PR or issue related to community triplets not officially validated by the vcpkg team.
Host Environment
To Reproduce
Steps to reproduce the behavior:
I'm using my own triplet, almost same as
community/arm-linux.cmake
except passing throgh some env and chainloading toolchain file, locating linaro gcc compilers.vcpkg install boost --triplet=arm-linux --host-triplet=x64-mingw-dynamic --overlay-triplets=[path-to-my-triplets]
Most boost packages building successed , until boost-math.
Failure logs
install-arm-linux-rel-out.log:
Additional context
Errors raised in this command:
I tried to execute this command manually, object file was not generated (gcc also didn't print any error messages), and error no returned was 1.
After some research, failures should be releated to
pch.hpp.gch
in this include pathE:\vcpkg\buildtrees\boost-math\arm-linux-rel\boost\build\pch\c189199268d8528b6f5906a315de5673\..\src\tr1
.If I delete
pch.hpp.gch
manually and run previous commad, object file was successfully generated with no error.Google says pch file size matters(my file size is 148396772B), maybe boost-math pch files was not right generated by my compiler?
I also tried to pass
-DBOOST_BUILD_PCH_ENABLED=0
toVCPKG_CXX_FLAGS
, trying to disableprecompiled header
option of boost-math , but it comes before auto generated-DBOOST_BUILD_PCH_ENABLED
, that makes no changes.The text was updated successfully, but these errors were encountered: