Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1297 - more kernel issues
Summary: more kernel issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-22 03:05 UTC by Seemant Kulleen (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (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 Seemant Kulleen (RETIRED) gentoo-dev 2002-03-22 03:05:20 UTC
This happened twice tonight that I know of.  Did something change in the 2.4.17
kernel sources?


<kainz> 00:47 < PreZ> compiling a kernel, ksyms.c bombs out inside a .h file
(kernel_stat.h).  Its failing to find the symbol smp_num_cpus .... 
<kainz>           now kernel_stat.h includes linux/smp.h, which has in it, IF
its an smp box, then have smp_num_cpus as an extern int.  
<kainz>           Otherwise #define smp_num_cpus     1
<kainz> 00:47 < PreZ> by rights the preprocessor should have optimized that out,
and it should have succeeded
<kainz> 00:48 < PreZ> but I ended up having to modify kernel_stat.h to check for
smp support, and change its behavior accordingly ... bizarre
<kainz> 00:51 < PreZ> seem -- scroll back, see if you can explain the behavior I
just saw
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-03-22 20:31:21 UTC
OK, so it seems that people aren't making mrproper.  For a lot of people, that's
standard procedure during kernel compiles, but people read the install docs to
the letter, and somehow ignore that step.

Doing that, however, makes this problem go away...
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-03-23 01:33:00 UTC
yes, found it and fixed it a day ago.  the ebuilds now do make mrproper 
automatically in pkg_postinst() for safety.