lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ce0170d90907050318q18dab776x2fc3b4f516292e89@mail.gmail.com>
Date:	Sun, 5 Jul 2009 07:18:59 -0300
From:	Sergio Luis <eeeesti@...il.com>
To:	Jesse Barnes <jbarnes@...tuousgeek.org>
Cc:	Andy Whitcroft <apw@...onical.com>, Dave Airlie <airlied@...ux.ie>,
	Eric Anholt <eric@...olt.net>, dri-devel@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] i915: fix up a raw 64bit divide

On Wed, Jul 1, 2009 at 1:12 PM, Jesse Barnes<jbarnes@...tuousgeek.org> wrote:
> On Wed,  1 Jul 2009 15:20:59 +0100
> Andy Whitcroft <apw@...onical.com> 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 <apw@...onical.com>
>
> 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 <jbarnes@...tuousgeek.org>
>
> --
> Jesse Barnes, Intel Open Source Technology Center
> --
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ