Don't ask me what's really going on in the tinderbox for this to have happened, let's just say that trying to get gold to work was definitely a mistake. On the other hand, it really shouldn't happen that a botched build of unifdef can cause all this trouble. It installs a number of empty files as headers, with the result that all the definition coming from linux-headers are missing.
Can we add at least a bit of safety check to ensure that there is some content in the headers before replacing them?
Created attachment 255229 [details]
ive sent a patch upstream. not planning on adding the patch to all the older ebuilds though since this is unlikely to occur.