Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63228 - [mdadm] fails to build in clean chroot due to some alignment issues

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Friday, 19 July 2019, 09:40 GMT
Last edited by Antonio Rojas (arojas) - Friday, 19 July 2019, 20:06 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

extra-x86_64-build fails with errors like:
super-intel.c:696:9: error: taking address of packed member of ‘struct imsm_super’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
696 | return &mpb->disk[index];
| ^~~~~~~~~~~~~~~~~

Additional info:
* package version(s)
mdadm 4.1-1 (git revision 72df0661f619c0bf26c00f20b6fc900e0ee4003b)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout 72df0661f619c0bf26c00f20b6fc900e0ee4003b
> cd mdadm/repos/core-x86_64
> extra-x86_64-build
This task depends upon

Comment by loqs (loqs) - Friday, 19 July 2019, 19:29 GMT
Add three patches from upstream that fix some of the gcc 9 warnings but others remain so override CWFLAGS to remove -Werror.

Loading...