|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/gunzip: Fix build with clang after 33bc2a8495f7
On 07.04.2021 20:27, Julien Grall wrote:
> From: Julien Grall <jgrall@xxxxxxxxxx>
>
> The compilation will fail when building Xen with clang and
> CONFIG_DEBUG=y:
>
> make[4]: Leaving directory '/oss/xen/xen/common/libelf'
> INIT_O gunzip.init.o
> Error: size of gunzip.o:.text is 0x00000019
>
> This is because the function init_allocator() will not be inlined
> and is not part of the init section.
>
> Fix it by marking init_allocator() with INIT.
>
> Fixes: 33bc2a8495f7 ("xen/gunzip: Allow perform_gunzip() to be called
> multiple times")
> Reported-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |