From: Sergio Luis <eeeesti@gmail.com>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Andy Whitcroft <apw@canonical.com>,
Dave Airlie <airlied@linux.ie>, Eric Anholt <eric@anholt.net>,
dri-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] i915: fix up a raw 64bit divide
Date: Sun, 5 Jul 2009 07:18:59 -0300 [thread overview]
Message-ID: <ce0170d90907050318q18dab776x2fc3b4f516292e89@mail.gmail.com> (raw)
In-Reply-To: <20090701091255.363f9d4d@jbarnes-g45>
On Wed, Jul 1, 2009 at 1:12 PM, Jesse Barnes<jbarnes@virtuousgeek.org> wrote:
> On Wed, 1 Jul 2009 15:20:59 +0100
> Andy Whitcroft <apw@canonical.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@canonical.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@virtuousgeek.org>
>
> --
> Jesse Barnes, Intel Open Source Technology Center
> --
prev parent reply other threads:[~2009-07-05 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 14:20 Andy Whitcroft
2009-07-01 16:12 ` Jesse Barnes
2009-07-01 16:32 ` Andy Whitcroft
2009-07-02 0:59 ` Zhenyu Wang
2009-07-05 10:18 ` Sergio Luis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ce0170d90907050318q18dab776x2fc3b4f516292e89@mail.gmail.com \
--to=eeeesti@gmail.com \
--cc=airlied@linux.ie \
--cc=apw@canonical.com \
--cc=dri-devel@lists.sourceforge.net \
--cc=eric@anholt.net \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®