linux-next: build failure after merge of the amdgpu and powerpc-fixes trees
Hi all,
After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this:
ld: drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.o uses hard float, drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.o uses soft float
ld: failed to merge target specific data of file drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.o
I have reverted commit
c653c591789b ("drm/amdgpu: Re-enable DCN for 64-bit powerpc")
for today.
I suspect that commit
3876a8b5e241 ("drm/amd/display: Enable building new display engine with KCOV enabled")
may also be involved (or, at least, not sufficient).
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · Stephen Rothwell
Hi all,
After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this:
ld:
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.ouses hard float,drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.ouses soft float
ld: failed to merge target specific data of filedrivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.o
What compiler are you using?
cheers
Hi Michael,
Quoted 11 lines · On Wed, 27 Jul 2022 11:29:02 +1000 Michael Ellerman <[email protected]> wrote:
Quoted 7 lines · Stephen Rothwell
Hi all,
After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this:
ld:
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.ouses hard float,drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.ouses soft float
ld: failed to merge target specific data of filedrivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.oWhat compiler are you using?
Debian's gcc v11.2:
$ gcc --version gcc (Debian 11.2.0-10) 11.2.0 $ ld --version GNU ld (GNU Binutils for Debian) 2.37
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this:
Quoted 8 lines
ld:
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.ouses hard float,drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.ouses soft float
ld: failed to merge target specific data of filedrivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.oI have reverted commit
c653c591789b("drm/amdgpu: Re-enable DCN for 64-bit powerpc")for today.
It bisects to:
40b31e5355ba ("drm/amd/display: Remove FPU flags from DCN30 Makefile")
So I guess there's still some float code in dcn30?
cheers
+ Rodrigo, Melissa
Quoted 23 lines · Michael Ellerman
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this:
Quoted 8 lines
ld:
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.ouses hard float,drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.ouses soft float
ld: failed to merge target specific data of filedrivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.oI have reverted commit
c653c591789b("drm/amdgpu: Re-enable DCN for 64-bit powerpc")for today.
It bisects to:
40b31e5355ba("drm/amd/display: Remove FPU flags from DCN30Makefile")So I guess there's still some float code in dcn30?
cheers
Hi all,
Quoted 13 lines · On Thu, 28 Jul 2022 00:17:49 +1000 Michael Ellerman <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell
After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this:
ld:
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.ouses hard float,drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.ouses soft float
ld: failed to merge target specific data of filedrivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.oI have reverted commit
c653c591789b("drm/amdgpu: Re-enable DCN for 64-bit powerpc")
Quoted 7 lines
Quoted 1 line
for today.
It bisects to:
40b31e5355ba("drm/amd/display: Remove FPU flags from DCN30Makefile")So I guess there's still some float code in dcn30?
I have reverted commit 40b31e5355ba from the merge of the drm tree today (since it has been merged in there) instead of commit c653c591789b.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen/Michael,
I made this fix:
https://patchwork.freedesktop.org/series/106824/
Could you check if it fixes the issue for you? If so, could you undo your revert?
Thanks
Siqueira
Quoted 26 lines · Alex Deucher
+ Rodrigo, Melissa
Quoted 23 lines · Michael Ellerman
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the amdgpu tree, today's linux-next build (powerpc allyesconfig) failed like this:
Quoted 8 lines
ld:
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.ouses hard float,drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.ouses soft float
ld: failed to merge target specific data of filedrivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.oI have reverted commit
c653c591789b ("drm/amdgpu: Re-enable DCN for 64-bit powerpc")for today.
It bisects to:
40b31e5355ba("drm/amd/display: Remove FPU flags from DCN30Makefile")So I guess there's still some float code in dcn30?
cheers
Quoted 7 lines · Rodrigo Siqueira Jordao
Hi Stephen/Michael,
I made this fix:
https://patchwork.freedesktop.org/series/106824/
Could you check if it fixes the issue for you?
Thanks that fixes it here.
Quoted 1 line
If so, could you undo your revert?
Stephen is on vacation and not doing linux-next today, so I guess for testing you'll have to do a local revert.
cheers