Re: debugging enabled? (was Re: KGDB command line options not working for kernel 2.6.32)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Prabhu,

On Mon, Jun 27, 2011 at 11:25 PM, Prabhu nath <gprabhunath@xxxxxxxxx> wrote:
> Hi Mulyadi/Spiro,
>
>            Can you please help me in partially enabling/disabling
> optimizations, because I was consistently hitting at the below problem when
> building the kernel after disabling the optimization
>
> ERROR: "intel_gmbus_is_forced_bit" [drivers/gpu/drm/i915/i915.ko] undefined!
> ERROR: "__udivdi3" [drivers/gpu/drm/i915/i915.ko] undefined!
> make[2]: *** [__modpost] Error 1
> make[1]: *** [modules] Error 2
> make: *** [sub-make] Error 2

This is happening because some code is trying to do 64-bit division
which isn't supported in the kernel. The code needs to be modified to
use do_div macro (which is available in either asm/div64.h).

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux