Staging kernel failing to build on 32bit
Tom St Denis
tom.stdenis at amd.com
Wed Feb 8 17:24:22 UTC 2017
On 08/02/17 11:53 AM, Jeremy Newton wrote:
> Hi,
>
> Heads up to whoever is using or developing for the following kernel branch:
>
> https://cgit.freedesktop.org/~agd5f/linux/tree/?h=amd-staging-4.9
>
> It seems like a recent commit has caused 32bit builds to fail. I haven't
> been able to look into it myself or do a bisect, but it seems like it
> was something committed between Jan 25th (d0c15b8) and Feb 2nd (99eb22d)
> caused it.
>
> Here's the error output:
>
> ERROR: "__udivdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> scripts/Makefile.modpost:91: recipe for target '__modpost' failed
> Makefile:1200: recipe for target 'modules' failed
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
> After a quick glance, it seems similar to a previous kernel
> commit: https://cgit.freedesktop.org/~agd5f/linux/commit/?id=1f827f5138292a6124430cdd37bcb68f30c05467
> <https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-4.9&id=1f827f5138292a6124430cdd37bcb68f30c05467>
>
> just a shot in the dark, but it could be caused by this commit:
> https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-4.9&id=7adb2bbcdf7259533c5afc95c4a788b59bb59306
>
> As it's the only one I see with 64 bit division in it. As I said, shot
> in the dark here.
Thanks. We have a patch in our internal stg-4.9 tree for this. It
should be promoted externally soonish.
Cheers,
Tom
More information about the amd-gfx
mailing list