Subject: Re: linux-next: build failure after merge of the amdgpu tree

From: Stephen Rothwell <[email-masked]>
Date: Wed, 15 Jun 2022 15:00:13 +1000

Hi all,

On Fri, 3 Jun 2022 14:43:15 +1000 Stephen Rothwell <[email-masked]> wrote:
>
> After merging the amdgpu tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c: In function 'dml32_ModeSupportAndSystemConfigurationFull':
> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:3835:1: error: the frame size of 2752 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
>  3835 | } // ModeSupportAndSystemConfigurationFull
>       | ^
> cc1: all warnings being treated as errors

I am still getting the above failure.

> gcc: error: unrecognized command-line option '-msse'
> gcc: error: unrecognized command-line option '-msse2'
> make[5]: *** [scripts/Makefile.build:251: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_resource.o] Error 1
> gcc: error: unrecognized command-line option '-msse'
> gcc: error: unrecognized command-line option '-msse2'

These are fixed.

-- 
Cheers,
Stephen Rothwell