Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7487 - gentoo-sources-2.4.19-r9 build fails
Summary: gentoo-sources-2.4.19-r9 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-04 17:49 UTC by Brian Magnuson
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
.config file for failed build (.config,21.25 KB, text/plain)
2002-09-04 17:49 UTC, Brian Magnuson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Magnuson 2002-09-04 17:49:03 UTC
make bzImage fails with the following...

kernel/kernel.o(.kstrtab+0xcd5): multiple definition of `__kstrtab_kmap_pte'
arch/i386/kernel/kernel.o(.kstrtab+0x8ba): first defined here
kernel/kernel.o(__ksymtab+0x2c8): multiple definition of `__ksymtab_kmap_prot'
arch/i386/kernel/kernel.o(__ksymtab+0x238): first defined here
kernel/kernel.o(__ksymtab+0x2d0): multiple definition of `__ksymtab_kmap_pte'
arch/i386/kernel/kernel.o(__ksymtab+0x240): first defined here
kernel/kernel.o(.kstrtab+0xcbd): multiple definition of `__kstrtab_kmap_prot'
arch/i386/kernel/kernel.o(.kstrtab+0x8a2): first defined here
make: *** [vmlinux] Error 1
Comment 1 Brian Magnuson 2002-09-04 17:49:50 UTC
Created attachment 3659 [details]
.config file for failed build
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-09-04 18:24:32 UTC
did you have "USE=crypto" set when you merged the kernel?

(USE=crypto adds an additional 3 patches for encrypted filesystems to the 
kernel)
Comment 3 Brandon Low (RETIRED) gentoo-dev 2002-09-04 19:17:50 UTC
problem located.  Highmem support appears to be the culprit, I assume that you 
have over >=1gb of ram since you had highmem turned on.  I am investigating a 
fix for this and will add it as soon as possible to either a lolo-sources or 
another gentoo-sources release.
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-09-04 19:21:44 UTC
A temporary fix for your system is to use the features of the 3.5GB address 
space patch and turn off highmem but set the User Addressable Space to 2GB, 
what this will do is allow the kernel to address 2GB of memory but only allow 
any single userland process to malloc() up to 2GB of memory instead of the 
standard 1GB of kernel memory and up to 3GB/process split.  As long as you 
don't have any rendering programs or the like that will try to use > 2GB of 
memory, I recommend this so that you can see the other benefits of the gentoo-
linux kernel immediatly rather than waiting for a fix from me.
Comment 5 Brian Magnuson 2002-09-04 20:59:45 UTC
Yes, I have 1GB of mem.  Your suggested workaround works for me.  Thanks.
Comment 6 Brandon Low (RETIRED) gentoo-dev 2002-09-04 23:46:12 UTC
fixed, added patch, remerging gentoo-sources should solve this... but using the
different split rather than the highmem support is higher performance.