> gcc 4.1.0 and 4.1.1 are known to miscompile the kernel:
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27781
>
> Usage of weak functions has become a common pattern in the kernel, and
> usages get added in each kernel version increasing the probability of
> bugs with each kernel release.
>
> This miscompilation of weak functions can result in subtle runtime
> errors.
>
> #error for gcc 4.1.0 and 4.1.1 to prevent users from running into
> this bug.
>
> Note:
> We already printed a #warning for gcc 4.1.0 due to a different bug.