Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8476 - Configuring kernel without SMP causes compilation errors
Summary: Configuring kernel without SMP causes compilation errors
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
: 16831 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-27 13:21 UTC by John (EBo) David
Modified: 2003-03-12 17:55 UTC (History)
3 users (show)

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 John (EBo) David 2002-09-27 13:21:01 UTC
General Description:

  In an attempt to get power management working on a laptop I turned SMP support 
off.  This caused a compilation error in linux/kernel/ksyms (smp_num_cups 
undefined).

Reproduction:

  turn off SMP support and recompile as normal


EBo --
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-10-07 03:46:02 UTC
same as here

default linux-2.4.19-gentoo-r9
turned off SMP and changes arch to mmx(i586)

gcc 2.95.4
gentoo 1.2 

Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-10-10 06:28:40 UTC
same with linux-2.4.19-openmosix-r5
disabling smp causes this error

please change version, it's version independend
Comment 3 Chad Huneycutt (RETIRED) gentoo-dev 2002-10-21 17:16:30 UTC
Have you done a make mrproper?  Once you compile SMP in, you have to first clean
out the source directory:

# cd /usr/src/linux
 - save your config file
# cp .config ../config.save
# make mrproper
# mv ../config.save .config
# make menuconfig
 - make sure everything is as you want it (no SMP)
# make dep && make -j3 bzImage modules && make modules_install

Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-11-28 04:54:33 UTC
works for me

maybe this should be documented (FAQ) ?
Comment 5 Roman Majer 2003-02-05 10:35:43 UTC
 
it is known feature... smp is breaking the compile..  
I allways switch off the SMP (anyway, 99% users has only one proc!!! so why 
is it switched on by default ???). 
 
cp .config /out/of/kernel/tree ; make mrproper; cp .config /back 
is must after this game 
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-03-04 12:49:09 UTC
*** Bug 16831 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-03-12 17:55:17 UTC
closing this