Re: Problems with disabling Optimization

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

 



Hi Ali,

On Sun, Jun 5, 2011 at 7:52 PM, Ali Bahar <ali@xxxxxxxxxxxxxxx> wrote:
>>                Disabling O2 and Os on Kernel building, I am getting the
>> following error. Can you please help me in debugging this.
>
>> 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
>
> It's been a while since I (last) disabled these, but I did not run
> into a compilation error because of it. And I recall the box needing
> i915, too.  Is this a case of simply needing to do a _clean_ build?

It's a case of needing to replace the 64-bit division with something
that involves a call to do_div, or otherwise eliminating the 64 bit
division.

-- 
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