On Wed, Jul 1, 2009 at 1:12 PM, Jesse Barnes<[email protected]> wrote:
> On Wed,  1 Jul 2009 15:20:59 +0100
> Andy Whitcroft <[email protected]> wrote:
>
>> We are seeing compilation failures on i386 in some environments due
>> to an undefined reference as below:
>>
>>     ERROR: "__udivdi3" [drivers/gpu/drm/i915/i915.ko] undefined!
>>
>> This is generated due to a raw 64 bit divide in the i915 driver.  Fix
>> up this raw divide.
>>
>> Signed-off-by: Andy Whitcroft <[email protected]>
>
> I think building with newer GCCs will prevent this error, but the fix
> looks fine.

I get it in here (31-rc2), with gcc 4.2.4, but only if I have
CONFIG_DEBUG_SECTION_MISMATCH=y. With this patch it works regardless
of that option.

>
> Acked-by: Jesse Barnes <[email protected]>
>
> --
> Jesse Barnes, Intel Open Source Technology Center
> --

------------------------------------------------------------------------------
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to