With the latest gcc-7.0.1 snapshot, I got lots of these failures building random linux kernel configurations:
kernel/built-in.o: In function `update_wall_time':
(.text+0x418a0): undefined reference to `____ilog2_NaN'
Variations of this symptom have happened in the past, e.g. pr36359, pr78653, pr78879, pr49642, pr72785, but for all I can tell, this one is slightly different again.
I have bisected the problem to r245135, and have confirmed that reverting this on top of r245806 (today's HEAD commit) fixes the problem for builds that ran into this on my test box.
Dup of PR72785?
(In reply to Richard Biener from comment #1)
> Dup of PR72785?
I thought we had worked around PR72785 in the kernel, and I had not run into that problem until updating my gcc-7.0.1 snapshot yesterday. r245135, which introduces the problem for me came after the last comment on PR72785.
It is a dup. See https://email@example.com/msg1340546.html
*** This bug has been marked as a duplicate of bug 72785 ***