https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79736
Bug ID: 79736 Summary: Please submit a full bug report: unable to create precompiled headers Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: x800x800 at email dot cz Target Milestone: --- g++ is unable to precompile header file from PCL library. The eader file hdr.h contains only one line to reproduce problem: "#include <pcl/visualization/pcl_visualizer.h>" and command is "g++ -I /opt/pcl/pcl-1.8/include/pcl-1.8/ -I /usr/include/eigen3/ -I /usr/include/vtk-5.10/ hdr.h". Compiler is g++ 5.4 in the Ubuntu 16.04, PCL library 1.8 and 1.7 has the same problem. The full compiler output is: In file included from /usr/include/eigen3/Eigen/Geometry:44:0, from /opt/pcl/include/pcl-1.8/pcl/correspondence.h:47, from /opt/pcl/include/pcl-1.8/pcl/visualization/pcl_visualizer.h:42, from stdafx.h:10: /usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘Eigen::Transform<Scalar, Dim, Mode, _Options>::Transform(const Eigen::Transform<_Scalar, Dim, Mode, OtherOptions>&) [with int OtherOptions = 0; _Scalar = float; int _Dim = 3; int _Mode = 2; int _Options = 0]’: /usr/include/eigen3/Eigen/src/Geometry/Transform.h:312:10: required by substitution of ‘template<int OtherOptions> Eigen::Transform<Scalar, Dim, Mode, _Options>::Transform(const Eigen::Transform<_Scalar, Dim, Mode, OtherOptions>&) [with int OtherOptions = 0]’ /opt/pcl/include/pcl-1.8/pcl/common/eigen.h:354:14: required from here /usr/include/eigen3/Eigen/src/Geometry/Transform.h:312:10: internal compiler error: Segmentation fault inline Transform(const Transform<Scalar,Dim,Mode,OtherOptions>& other) ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.