Subject: [Boost-bugs] [Boost C++ Libraries] #12477: [math] error: while reading precompiled header: No such file or directory
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-23 07:18:37
#12477: [math] error: while reading precompiled header: No such file or directory
------------------------------+-------------------------
Reporter: jackie.huang@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost 1.61.0 | Severity: Problem
Keywords: pch |
------------------------------+-------------------------
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12477> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC