[Linux-v4.18-rc6] modpost-errors when compiling with clang-7 and CONFIG_DRM_AMDGPU=m

Sedat Dilek sedat.dilek at gmail.com
Mon Oct 22 08:40:22 UTC 2018


On Wed, Sep 19, 2018 at 11:47 AM Sedat Dilek <sedat.dilek at gmail.com> wrote:
>
> On Sun, Jul 29, 2018 at 4:39 PM, Christian König
> <christian.koenig at amd.com> wrote:
> >> Do you need further informations?
> >
> > No, that is a known issue.
> >
> > Regards,
> > Christian.
> >
>
> Hi Christian,
>
> is/was this issue fixed?
>
> Regards,
> - Sedat -
>
> >
> > Am 29.07.2018 um 15:52 schrieb Sedat Dilek:
> >>
> >> Hi,
> >>
> >> when compiling with clang-7 and CONFIG_DRM_AMDGPU=m I see the following...
> >>
> >>    if [ "" = "-pg" ]; then if [ arch/x86/boot/compressed/misc.o !=
> >> "scripts/mod/empty.o" ]; then ./scripts/recordmcount
> >> "arch/x86/boot/compressed/misc.o"; fi; fi;
> >> ERROR: "__addsf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__subdf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__gedf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__fixunssfsi" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__floatunsisf" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__unordsf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__gesf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__mulsf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__truncdfsf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__ltsf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__muldf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__divdf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__eqsf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__floatsisf" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__ledf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__gtsf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__fixdfsi" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__floatunsidf" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__nesf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__adddf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__extendsfdf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__fixunsdfsi" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__lesf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__ltdf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__floatsidf" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__subsf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__gtdf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__fixsfsi" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__divsf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> ERROR: "__floatdidf" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> >> make[4]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
> >> make[3]: *** [Makefile:1208: modules] Error 2
> >> make[3]: *** Waiting for unfinished jobs....
> >>
> >> For now I have disabled CONFIG_DRM_AMDGPU=n.
> >>
> >> Do you need further informations?
> >>

Hi,

any news on this issue?
With Linux v4.19 final I am still building with CONFIG_DRM_AMDGPU=n.
Thanks in advance.

Regards,
- Sedat -


More information about the amd-gfx mailing list