Bug 216643 - emulators/open-vm-tools: fails to build with clang 4.0
Summary: emulators/open-vm-tools: fails to build with clang 4.0
Status: Closed DUPLICATE of bug 216263
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords: needs-patch
Depends on:
Blocks: 216008
  Show dependency treegraph
 
Reported: 2017-01-31 00:14 UTC by Jan Beich
Modified: 2017-02-04 21:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (swills)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2017-01-31 00:14:43 UTC
hgfsServer.c:5709:50: error: taking address of packed member 'actualSize' of class or structure 'HgfsReplyReadV3' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]
                                                &reply->actualSize);
                                                 ^~~~~~~~~~~~~~~~~
hgfsServer.c:5729:63: error: taking address of packed member 'actualSize' of class or structure 'HgfsReplyRead' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]
                                             reply->payload, &reply->actualSize);
                                                              ^~~~~~~~~~~~~~~~~

http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_16h09m05s/logs/errors/open-vm-tools-1280544_16,1.log
http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_16h09m05s/logs/errors/open-vm-tools-nox11-1280544_16,1.log
Comment 1 Jan Beich freebsd_committer freebsd_triage 2017-01-31 00:15:30 UTC
open-vm-tools-10.1.0,2 is also affected: http://slexy.org/view/s2UUHbchnF
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2017-02-04 21:15:59 UTC
I proposed a fix in bug 216263.

*** This bug has been marked as a duplicate of bug 216263 ***