[lkml]   [2011]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectsb_edac 32-bit compile fail due to 64-bit divide

It seems the newly added EDAC driver for SandyBridge won't build on
32-bit x86 because of a 64-bit divide somewhere:

drivers/edac/sb_edac.c: In function 'get_memory_error_data':
drivers/edac/sb_edac.c:861:2: warning: left shift count >= width of type
[enabled by default]
ERROR: "__udivdi3" [drivers/edac/sb_edac.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

You can find the full build log here:

Before I go digging into where this is done and what to do about it, I
do want to confirm that it is supposed to work on a 32-bit kernel,


 \ /
  Last update: 2011-11-03 15:09    [W:0.092 / U:22.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site