On Thu, Apr 26, 2018 at 3:40 AM, David Edelsohn <dje....@gmail.com> wrote: > Jakub and Richi, > > GCC 8.1 is experiencing the same bootstrap failure with GCC 8.1 RC1 as > we saw previously. > > Bootstrap comparison failure! > gcc/function-tests.o differs > > And the same reason: unique, static symbol that includes a random timestamp. > > 1949c1949 > > < [1936] m 0x00000060 1 1 0x02 0x0000 > > _GLOBAL__F__nasfarm_edelsohn_src_gcc_8.0.1_RC_20180425_gcc_function_tests.c_DFF67DD7_0x4eda2a0ca57bf446 > --- >> [1936] m 0x00000060 1 1 0x02 0x0000 >> _GLOBAL__F__nasfarm_edelsohn_src_gcc_8.0.1_RC_20180425_gcc_function_tests.c_DFF67DD7_0xbe25963bf76153c > > The entire file is protected by CHECKING_P. As DEBUG_FUNCTION > propagates to more and more header files, this triggers when building > without checking. > > How do you suggest that we try to fix it this time? I'm not certain > that we can pull out the one function this time. Should we return to > the -frandom-seed patch for self-test files that you proposed last > time?
Does Index: gcc/cgraph.h =================================================================== --- gcc/cgraph.h (revision 259668) +++ gcc/cgraph.h (working copy) @@ -2222,7 +2222,7 @@ public: void dump (FILE *f); /* Dump symbol table to stderr. */ - inline DEBUG_FUNCTION void debug (void) + DEBUG_FUNCTION void debug (void) { dump (stderr); } fix it? > Thanks, David