http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39029
Johan Boulé <bohan.gnu at retropaganda dot info> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #6 from Johan Boulé <bohan.gnu at retropaganda dot info> --- I highly suspect it was caused by having two copies of the same header files: - one in the source tree, - the other in a staged-install include dir. The PCH would have been built with the one in the source tree. And later, when trying to use the PCH, some -I flag was pointing to the staged-install include dir, not the original source tree. GCC would then see these are different headers than the one in the PCH, which is technically correct. No bug in GCC here. It's a build-system bug.