Couldn’t figure this one out for awhile…. I am trying to build a custom kernel for nodows (2.6.18) and it worked fine for awhile, then I started to get this error:

(.text+0xee26): undefined reference to `__umoddi3'

So I searched and found some mixed reports that a KBUILD_SFLAGS will might help:

CFLAGS_KERNEL="-fno-tree-scev-cprop"

That didn’t work, so I’m using gcc-4.1 instead:

DISTCC_HOSTS="localhost nfs-iron dev-2" MAKEFLAGS="CC=distcc\ gcc-4.1" make -j 12