Date: Wed, 01 Feb 2017 04:17:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 216687] make buildkernel fails due to compilation error in sys/dev/nvme/nvme.h 11-STABLE r312990 Message-ID: <bug-216687-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216687 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@FreeBSD.org Reporter: kazuok@projectkitsune.com /usr/src-stable/sys/dev/nvme/nvme.h:922:16: error:=20 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 =3D lba; Stops the build when using make buildkernel on amd64. I've replicated the e= rror from both a server and a laptop using the same svn checkout of 11-STABLE. Please test and fix --=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-216687-8>