Bug 216645

Summary: sysutils/xen-tools: fails to build with clang 4.0
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Roger Pau Monné <royger>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-patch
Priority: --- Flags: bugzilla: maintainer-feedback? (royger)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216644
Bug Depends on:    
Bug Blocks: 216008    

Description Jan Beich freebsd_committer 2017-01-31 00:20:33 UTC
kdd.c:716:47: error: taking address of packed member 'val' of class or structure 'kdd_cmd_msr' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]
    ok = (kdd_rdmsr(s->guest, s->cpuid, msr, &s->txp.cmd.msr.val) == 0);

Comment 1 Roger Pau Monné freebsd_committer 2017-04-14 17:17:40 UTC
Solved in r436536.