Re: PROBLEM: Compile failure when 'Preemptible Kernel' is disabledin 2.6.0-test11.

From: Arjan van Staalduijnen
Date: Thu Dec 11 2003 - 12:15:03 EST


Marco Roeland wrote:
[1.] Compile failure when 'Preemptible Kernel' is disabled.
It has nothing to do with 'preemptible'!
Correct, but switching that option was just the way for me to trigger or 'untrigger' this problem.

This is a known compiler bug for RedHat's gcc 2.96 version. It has
difficulty casting 'unsigned long long's! Try this, it applies against
2.6.0-test8 and later.
=== patch snipped ===
Applying the patch indeed solved this compile failure. I can now turn off the Preemtible kernel feature while still being able to compile the code.

Thanks,

Arjan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/