Hi All, Le 22/05/2020 à 00:13, David Malcolm a écrit : > On Thu, 2020-05-21 at 17:35 +0200, Romain Naour wrote: >> As reported by several Buildroot users [1][2][3], the gcc build >> may fail while running selftests makefile target. >> >> The problem only occurs when ccache is used with gcc 9 and 10, >> probably due to a race condition. >> >> While debuging with "make -p" we can notice that s-selftest-c target >> contain only "cc1" as dependency instead of cc1 and SELFTEST_DEPS >> [4]. >> >> s-selftest-c: cc1 >> >> While the build is failing, the s-selftest-c dependencies recipe is >> still running and reported as a bug by make. >> >> "Dependencies recipe running (THIS IS A BUG)." >> >> A change [5] in gcc 9 seems to introduce the problem since we can't >> reproduce this problem with gcc 8. > > Sorry about introducing the breakage. The patch looks sane to me, > though I don't know if I can formally approve it (and I'm now doubting > my "make" skills...)
No problem, the issue is not obvious at all. My intention is to help people to backport the patch to previous gcc version. Best regards, Romain > > Dave >