[Bug 216687] make buildkernel fails due to compilation error in sys/dev/nvme/nvme.h 11-STABLE r312990
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 1 04:17:42 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216687
Bug ID: 216687
Summary: make buildkernel fails due to compilation error in
sys/dev/nvme/nvme.h 11-STABLE r312990
Product: Base System
Version: 11.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: kazuok at projectkitsune.com
/usr/src-stable/sys/dev/nvme/nvme.h:922:16: error:
taking address of packed member 'cdw10' of class or structure
'nvme_command' may result in an unaligned pointer value
[-Werror,-Waddress-of-packed-member]
*(uint64_t *)&cmd->cdw10 = lba;
Stops the build when using make buildkernel on amd64. I've replicated the error
from both a server and a laptop using the same svn checkout of 11-STABLE.
Please test and fix
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list