[Linux-v4.18-rc6] modpost-errors when compiling with clang-7 and CONFIG_DRM_AMDGPU=m
Koenig, Christian
Christian.Koenig at amd.com
Fri Jan 25 08:25:03 UTC 2019
Am 25.01.19 um 08:42 schrieb Sedat Dilek:
> [ CC Nick D. ]
>
> Hi Christian,
>
> Nick has posted a fix in [2].
> Is that OK for you?
I've seen that and yeah I'm perfectly fine with it, but Harry is the one
who needs to decide.
Christian.
>
> I have also added the Link [1] in the ClangBuiltLinux issue tracker.
>
> Regards,
> - Sedat -
>
> [1] https://github.com/ClangBuiltLinux/linux/issues/327
> [2] https://lkml.org/lkml/2019/1/24/1376
>
> On Mon, Oct 22, 2018 at 10:42 AM Koenig, Christian
> <Christian.Koenig at amd.com> wrote:
>> Am 22.10.18 um 10:40 schrieb Sedat Dilek:
>>> [SNIP]
>>>>> 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?
>> Unfortunately not as far as I know. Harray any time line when we could
>> fix that?
>>
>> Thanks,
>> Christian.
>>
>>> 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