Summary: | app-emulation/xen-tools-4.12.0-r1 USE=ipxe fails to build with gcc-9: include/.../uri.h:178:12: error: taking address of packed member of struct uri may result in an unaligned pointer value [-Werror=address-of-packed-member] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Xen Devs <xen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hydrapolic, rose, spargeltarzan |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/12045 https://bugs.gentoo.org/show_bug.cgi?id=690974 https://bugs.gentoo.org/show_bug.cgi?id=685044 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
app-emulation:xen-tools-4.12.0-r1:20190511-214455.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 |
Description
Toralf Förster
2019-05-12 09:22:11 UTC
Created attachment 576102 [details]
emerge-info.txt
Created attachment 576104 [details]
app-emulation:xen-tools-4.12.0-r1:20190511-214455.log
Created attachment 576106 [details]
emerge-history.txt
Created attachment 576108 [details]
environment
Created attachment 576110 [details]
etc.portage.tbz2
Created attachment 576112 [details]
logs.tbz2
Created attachment 576114 [details]
temp.tbz2
A workaround is to build without IPXE: USE="-ipxe" emerge -av1 xen-tools 'USE=-ipxe emerge -v1 xen-tools' worked for me as well. Oh, I forgot, system-ipxe should work too: USE="-ipxe system-ipxe" emerge -av1 xen-tools 'xen-tools-4.12.0-r2' fails with the same error. (In reply to Juergen Rose from comment #11) > 'xen-tools-4.12.0-r2' fails with the same error. It only contains the security patches, I haven'd find the gcc9 fixes for ipxe. (In reply to Tomáš Mózes from comment #12) > (In reply to Juergen Rose from comment #11) > > 'xen-tools-4.12.0-r2' fails with the same error. > > It only contains the security patches, I haven'd find the gcc9 fixes for > ipxe. .. haven't found ... *** Bug 686172 has been marked as a duplicate of this bug. *** These patches allow it to build: https://build.opensuse.org/package/view_file/openSUSE:Factory/qemu/ipxe-build-Disable-gcc-address-of-packed-member-warning.patch?expand=1 https://build.opensuse.org/package/view_file/openSUSE:Factory/qemu/ipxe-efi-Simplify-diagnostic-for-NULL-handle.patch?expand=1 https://github.com/ipxe/ipxe/commit/956f6a7227b62ce98d7840439af17bbca04f0c86 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50508c2fed59ef3bf0301387276146f936197ca3 commit 50508c2fed59ef3bf0301387276146f936197ca3 Author: Tomas Mozes <hydrapolic@gmail.com> AuthorDate: 2019-05-18 20:14:12 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2019-05-22 02:14:35 +0000 app-emulation/xen-tools: fix ipxe building with gcc9 Closes: https://bugs.gentoo.org/685694 Closes: https://github.com/gentoo/gentoo/pull/12045 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org> app-emulation/xen-tools/Manifest | 1 + .../{xen-tools-4.12.0-r2.ebuild => xen-tools-4.12.0-r3.ebuild} | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) |