[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
- [PATCH v2 0/8] fix gcc9 build with -Werror=address-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 7/8] chainloader: fix gcc9 error -Waddress-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 3/8] hfs: fix gcc9 error -Waddress-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 4/8] hfsplus: fix gcc9 error with -Waddress-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 8/8] efi: fix gcc9 error -Waddress-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 2/8] jfs: disable gcc9 -Waddress-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 5/8] acpi: fix gcc9 error -Waddress-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 6/8] usbtest: disable gcc9 -Waddress-of-packed-member, Michael Chang, 2019/04/11
- [PATCH v2 1/8] cpio: disable gcc9 -Waddress-of-packed-member, Michael Chang, 2019/04/11
- Re: [PATCH v2 0/8] fix gcc9 build with -Werror=address-of-packed-member,
Daniel Kiper <=