Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21061 - Openafs 1.3.2-r1 won't build on SMP linux 2.4.20-gentoo-r3
Summary: Openafs 1.3.2-r1 won't build on SMP linux 2.4.20-gentoo-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 09:53 UTC by Dave Love
Modified: 2003-08-02 13:51 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 Dave Love 2003-05-15 09:53:39 UTC
This is actually a kernel issue, but openafs is the only thing it's affected
here so far.

The kernel include file include/linux/sched.h contains the following if-clause:

#if CONFIG_SMP

That needs to be changed to '#ifdef CONFIG_SMP' (which matches all the other
usages in CONFIG_SMP in the kernel).  If not, openafs will report an "empty if",
miss the definition of set_cpus_allowed and choke.  Changing the #if to #ifdef
solves the problem.

Reproducible: Always
Steps to Reproduce:
1.Install 2.4.20-gentoo-r3 kernel source and install an SMP kernel
2.emerge openafs -- the build will die.
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-02 13:51:52 UTC
1.3.2 is masked in portage.