Date: Tue, 31 Jan 2017 00:19:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 216644] emulators/xen-kernel: fails to build with clang 4.0 Message-ID: <bug-216644-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216644 Bug ID: 216644 Summary: emulators/xen-kernel: fails to build with clang 4.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: royger@freebsd.org Reporter: jbeich@FreeBSD.org Blocks: 216008 Assignee: royger@freebsd.org Flags: maintainer-feedback?(royger@freebsd.org) vmx.c:973:38: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_CS_BASE, ®->base); ^~~~~~~~~ vmx.c:979:38: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_DS_BASE, ®->base); ^~~~~~~~~ vmx.c:985:38: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_ES_BASE, ®->base); ^~~~~~~~~ vmx.c:991:38: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_FS_BASE, ®->base); ^~~~~~~~~ vmx.c:997:38: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_GS_BASE, ®->base); ^~~~~~~~~ vmx.c:1003:38: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_SS_BASE, ®->base); ^~~~~~~~~ vmx.c:1009:38: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_TR_BASE, ®->base); ^~~~~~~~~ vmx.c:1014:37: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_GDTR_BASE, ®->base); ^~~~~~~~~ vmx.c:1018:37: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_IDTR_BASE, ®->base); ^~~~~~~~~ vmx.c:1023:40: error: taking address of packed member 'base' of class or structure 'segment_register' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] __vmread(GUEST_LDTR_BASE, ®->base); ^~~~~~~~~ http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_= 16h09m05s/logs/errors/xen-kernel-4.7.1_3.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008 [Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas= e to 4.0.0 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216644-13>