PCH test errors

Andrew Stubbs ams@codesourcery.com
Thu May 28 20:34:27 GMT 2020


On 27/05/2020 15:46, Andrew Stubbs wrote:
> I'm testing amdgcn-amdhsa, and I get lot of PCH test failures with 
> errors like this:
> 
> gcc.dg/pch/common-1.c:1:22: error: one or more PCH files were found, but 
> they were invalid
> gcc.dg/pch/common-1.c:1:22: error: use -Winvalid-pch for more information
> gcc.dg/pch/common-1.c:1:10: fatal error: common-1.h: No such file or 
> directory

Hi Alexandre,

I've created a test toolchain for you on the GCC compute farm: 
gcc14.fsffrance.org

Please see /home/ams_cs/gccobj and /home/amd_cs/install.

I ran "make check RUNTESTFLAGS=pch.exp" already, so you should be able 
to see the errors in gcc/testsuite/gcc/gcc.log.

The sources and objects are set world writeable, so you should be able 
to experiment (please set "umask 0" so I can clean up after).

Andrew


More information about the Gcc mailing list