From: Daniel Vetter <daniel@ffwll•ch>
To: Igor Matheus Andrade Torrente <igormtorrente@gmail•com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail•com>,
Melissa Wen <melissa.srw@gmail•com>,
dri-devel <dri-devel@lists•freedesktop.org>,
Rodrigo Siqueira <rodrigosiqueiramelo@gmail•com>,
linux-kernel <linux-kernel@vger•kernel.org>,
linux-next <linux-next@vger•kernel.org>,
Daniel Vetter <daniel@ffwll•ch>, David Airlie <airlied@linux•ie>,
Haneen Mohammed <hamohammed.sa@gmail•com>
Subject: Re: build failure of next-20220906 due to 396369d67549 ("drm: vkms: Add support to the RGB565 format")
Date: Wed, 7 Sep 2022 07:47:32 +0200 [thread overview]
Message-ID: <YxgwdGtNTnDdIqAv@phenom.ffwll.local> (raw)
In-Reply-To: <8e4350df-0c73-6ca2-a25f-28a40a1856db@gmail.com>
On Tue, Sep 06, 2022 at 08:35:49PM -0300, Igor Matheus Andrade Torrente wrote:
> On 9/6/22 18:26, Sudip Mukherjee wrote:
> > On Tue, Sep 6, 2022 at 4:59 PM Sudip Mukherjee (Codethink)
> > <sudipm.mukherjee@gmail•com> wrote:
> > >
> > > Hi All,
> > >
> > > The builds of next-20220906 fails for mips, xtensa and arm allmodconfig.
> > >
> > > The errors in mips and xtensa are:
> > >
> > > ERROR: modpost: "__divdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined!
> > > ERROR: modpost: "__udivdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined!
> > >
> > > The error in arm is:
> > >
> > > ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/vkms/vkms.ko] undefined!
> > > ERROR: modpost: "__aeabi_ldivmod" [drivers/gpu/drm/vkms/vkms.ko] undefined!
> > >
> > >
> > > Trying to do a git bisect to find out the offending commit.
> >
> > git bisect points to 396369d67549 ("drm: vkms: Add support to the
> > RGB565 format")
>
> Are these architectures incapable of doing 64bits int division?
Yeah 32bit archs in general can't do that, and you have to use the right
macros because otherwise gcc falls back to its own built-ins, and those
don't exist in the kernel since the kernel isn't (cannot!) linked against
any userspace library.
For pretty much this reasons it's really good to build test against 32bit
x86, or probably more relevant these days, 32bit arm.
Cheers, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
next prev parent reply other threads:[~2022-09-07 5:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 15:59 build failure of next-20220906 for vkms Sudip Mukherjee (Codethink)
2022-09-06 21:26 ` build failure of next-20220906 due to 396369d67549 ("drm: vkms: Add support to the RGB565 format") Sudip Mukherjee
2022-09-06 23:35 ` Igor Matheus Andrade Torrente
2022-09-07 5:47 ` Daniel Vetter [this message]
2022-09-07 5:50 ` Daniel Vetter
2022-09-07 17:04 ` Melissa Wen
2022-09-07 18:34 ` Sudip Mukherjee
2022-09-07 19:22 ` Melissa Wen
2022-09-07 20:07 ` Sudip Mukherjee
2022-09-09 11:43 ` Melissa Wen
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=YxgwdGtNTnDdIqAv@phenom.ffwll.local \
--to=daniel@ffwll$(echo .)ch \
--cc=airlied@linux$(echo .)ie \
--cc=dri-devel@lists$(echo .)freedesktop.org \
--cc=hamohammed.sa@gmail$(echo .)com \
--cc=igormtorrente@gmail$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=melissa.srw@gmail$(echo .)com \
--cc=rodrigosiqueiramelo@gmail$(echo .)com \
--cc=sudipm.mukherjee@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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