Opened 6 years ago
Last modified 6 years ago
#12477 new Bugs
[math] error: while reading precompiled header: No such file or directory
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | pch | Cc: |
Description
Compilation of boost 1.61.1 with GCC 6.2.0 compiler sometimes fail (35%: 7 failure out of 20 builds, with "-j64") with many erros like:
libs/math/build/../src/tr1/assoc_legendre.cpp:6:21: error: while reading precompiled header: No such file or directory
# include <pch.hpp>
libs/math/build/../src/tr1/cyl_bessel_j.cpp:6:21: error: while reading precompiled header: No such file or directory
# include <pch.hpp>
It seems to be a race condition in parallel compiling.
And I also observed many warnings like:
libs/math/build/../src/tr1/cyl_bessel_i.cpp:6:21: warning: /ala-lpggp51/jhuang0/builds/p90_i64-sato_160920/bitbake_build/tmp/work/corei7-64-wrs-linux/boost/1.61.0-r0/boost_1_61_0/x86_64-wrs-linux/boost/bin.v2/libs/math/build/69ffc88faf507005827aa061bd65b9bd/../src/tr1/pch.hpp.gch: created and used with different settings of -fpic libs/math/build/../src/tr1/cyl_bessel_jf.cpp:6:21: warning: /ala-lpggp51/jhuang0/builds/p90_i64-sato_160920/bitbake_build/tmp/work/corei7-64-wrs-linux/boost/1.61.0-r0/boost_1_61_0/x86_64-wrs-linux/boost/bin.v2/libs/math/build/69ffc88faf507005827aa061bd65b9bd/../src/tr1/pch.hpp.gch: created and used with different settings of -fpic libs/math/build/../src/tr1/cyl_neumannf.cpp:6:21: warning: /ala-lpggp51/jhuang0/builds/p90_i64-sato_160920/bitbake_build/tmp/work/corei7-64-wrs-linux/boost/1.61.0-r0/boost_1_61_0/x86_64-wrs-linux/boost/bin.v2/libs/math/build/69ffc88faf507005827aa061bd65b9bd/../src/tr1/pch.hpp.gch: created and used with different settings of -fpic
libs/math/build/../src/tr1/assoc_legendre.cpp:6:21: warning: /ala-lpggp51/jhuang0/builds/p90_i64-sato_160920/bitbake_build/tmp/work/corei7-64-wrs-linux/boost/1.61.0-r0/boost_1_61_0/x86_64-wrs-linux/boost/bin.v2/libs/math/build/69ffc88faf507005827aa061bd65b9bd/../src/tr1/pch.hpp.gch: not used because `LDBL_MAX_EX' not defined [-Winvalid-pch]
# include <pch.hpp>
libs/math/build/../src/tr1/sph_legendre.cpp:6:21: warning: /ala-lpggp51/jhuang0/builds/p90_i64-sato_160920/bitbake_build/tmp/work/corei7-64-wrs-linux/boost/1.61.0-r0/boost_1_61_0/x86_64-wrs-linux/boost/bin.v2/libs/math/build/69ffc88faf507005827aa061bd65b9bd/../src/tr1/pch.hpp.gch: not used because `LDBL_MAX_EX' not defined [-Winvalid-pch]
# include <pch.hpp>
BTW, my builds are based on yocto project.
Attachments (1)
Change History (2)
by , 6 years ago
Attachment: | boost-math-pch.tar.bz2 added |
---|
comment:1 by , 6 years ago
Component: | math → build |
---|---|
Owner: | changed from | to
I'm not able to reproduce on Ubuntu Linix, but either way I'm reassigning to Boost.Build in case they have some ideas.
full logs of the compilation