grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/8] fix gcc9 build with -Werror=address-of-packed-member


From: Daniel Kiper
Subject: Re: [PATCH v2 0/8] fix gcc9 build with -Werror=address-of-packed-member
Date: Thu, 18 Apr 2019 14:13:29 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Apr 11, 2019 at 05:14:01PM +0800, Michael Chang wrote:
> This patch set attempts to resolve the build failure in openSUSE build
> service equipped with new gcc 9 compiler, which has added a new warning
> flag -Waddress-of-packed-member.
>
> The new warning performs the check for taking the address of packed
> member directly to a pointer variable with higher alignment requirement
> and the outcome is risky to memory alignment fault on some architecture
> when deferencing it.
>
> Please help to review.
>
> Thanks.
>
> v2: Disable -Werror=address-of-packed-member if its diagnose turns out
> to be false positive.

Reviewed-by: Daniel Kiper <address@hidden> for whole patch series.

If there are no objections I will apply this next week.

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]