Whoops, 32 bit compiles broke again... Argh. I'll fix this soon as I get a chance. On Mon, Apr 9, 2012 at 12:33 PM, David Rhodes Clymer <david@xxxxxxxxxxxxxx> wrote: > On Sun, Apr 8, 2012 at 10:12 PM, Kent Overstreet <koverstreet@xxxxxxxxxx> wrote: >> I just pushed new code to the bcache-3.2-dev branch. I expect this >> version to be more or less stable and production ready, but it does need >> new testing. > > I run into a linking error when trying to build this: > > AS arch/x86/lib/putuser.o > AS arch/x86/lib/rwlock.o > AS arch/x86/lib/rwsem.o > CC arch/x86/lib/string_32.o > CC arch/x86/lib/strstr_32.o > AS arch/x86/lib/thunk_32.o > CC arch/x86/lib/usercopy.o > CC arch/x86/lib/usercopy_32.o > AR arch/x86/lib/lib.a > LD vmlinux.o > MODPOST vmlinux.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > drivers/built-in.o: In function `__update_writeback_rate': > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/writeback.c:229: > undefined reference to `__udivdi3' > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/writeback.c:232: > undefined reference to `__udivdi3' > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/writeback.c:247: > undefined reference to `__divdi3' > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/writeback.c:254: > undefined reference to `__divdi3' > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/writeback.c:256: > undefined reference to `__divdi3' > drivers/built-in.o: In function `writeback_delay': > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/writeback.c:304: > undefined reference to `__udivdi3' > drivers/built-in.o: In function `__cache_set_show': > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/sysfs.c:432: > undefined reference to `__udivdi3' > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/sysfs.c:432: > undefined reference to `__udivdi3' > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/sysfs.c:432: > undefined reference to `__udivdi3' > /usr/local/src/bcache/linux-bcache/drivers/block/bcache/sysfs.c:432: > undefined reference to `__udivdi3' > drivers/built-in.o:/usr/local/src/bcache/linux-bcache/drivers/block/bcache/sysfs.c:433: > more undefined references to `__udivdi3' follow > make: *** [.tmp_vmlinux1] Error 1 > > > I copied /boot/config-3.2.0-2-686-pae to .config, and the only thing > that I know I changed was enabling bcache (compiled in, not as a > module). I'm running debian wheezy (testing). > > Am I just doing something silly? > > -davidc -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html