I am trying to build the mm-sources-2.6.10_rc3-r1 kernel on a "Pentium Classic", which to my knowledge doesn't have MTRR support, so I set CONFIG_MTRR not to be supported. Apparently the Matrox frame buffer driver depends on MTRR being compiled in, because I got a make error on making that module saying that 'mtrr' had not been declared. Which I found slightly odd (it never happened with other kernels and the combination of not having MTRR but compiling matroxfb anyway, which it shouldn't need at all). Reproducible: Always Steps to Reproduce: What make did at some point in the compile process: CC [M] drivers/video/matrox/matroxfb_base.o drivers/video/matrox/matroxfb_base.c: In function `__check_mtrr': drivers/video/matrox/matroxfb_base.c:2480: error: `mtrr' undeclared (first use in this function) drivers/video/matrox/matroxfb_base.c:2480: error: (Each undeclared identifier is reported only once drivers/video/matrox/matroxfb_base.c:2480: error: for each function it appears in.) drivers/video/matrox/matroxfb_base.c: At top level: drivers/video/matrox/matroxfb_base.c:2480: error: `mtrr' undeclared here (not in a function) drivers/video/matrox/matroxfb_base.c:2480: error: initializer element is not constant drivers/video/matrox/matroxfb_base.c:2480: error: (near initialization for `__param_mtrr.arg') drivers/video/matrox/matroxfb_base.c:2480: error: __param_mtrr causes a section type conflict make[3]: *** [drivers/video/matrox/matroxfb_base.o] Error 1 make[2]: *** [drivers/video/matrox] Error 2
mm-sources is not supported by Gentoo due to the highly experimental nature of it; please file a bug upstream with Andrew Morton instead. Thanks!
In /usr/portage/sys-kernel/mm-sources/mm-sources-2.6.10_rc3-r1.ebuild: K_EXTRAEINFO="If there are issues with this kernel, search http://bugs.gentoo.or g/ for an existing bug. Only create a new bug if you have not found one that matches your issue. It is best to do an advanced search as the initial search has a very low yield. Please assign your bugs to x86-kernel@gentoo.org. Please read the ChangeLog and associated docs for more information." Reading the above, I assumed that looking for bugs on http://bugs.gentoo.or g/ meant someone was filing them as such for mm-sources as well. I guess the above needs an update.
Updated. Thanks!