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.
1.3.2 is masked in portage.