Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75144 - mm-sources-2.6.10_rc3-r1 make fails on matroxfb_base when # CONFIG_MTRR is not set
Summary: mm-sources-2.6.10_rc3-r1 make fails on matroxfb_base when # CONFIG_MTRR is no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-21 01:01 UTC by Jeroen Roovers (RETIRED)
Modified: 2004-12-21 03:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2004-12-21 01:01:45 UTC
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
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-12-21 02:53:58 UTC
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!
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2004-12-21 03:31:35 UTC
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.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-12-21 03:47:27 UTC
Updated. Thanks!