Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 05:53:03 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Cc:        Jim Harris <jimharris@freebsd.org>
Subject:   buildworld broke in sbin/nvmecontrol; r240620 suspected
Message-ID:  <20120918125303.GN3357@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--NezEEujwa2d0WB27
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This was on:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #681 240597=
M: Mon Sep 17 15:34:41 PDT 2012     root@d134.dwolf.juniper.net.:/usr/obj/u=
sr/src/sys/CANARY  i386

using clang as the C compiler:

=2E..
=3D=3D=3D> sbin/nvmecontrol (all)
clang -O2 -pipe  -std=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem=
-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-pr=
ototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Ww=
rite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subsc=
ripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -W=
no-pointer-sign -Wno-empty-body -Wno-string-plus-int -c /usr/src/sbin/nvmec=
ontrol/nvmecontrol.c
/usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct nvme=
_controller_data *' to 'uint32_t *' (aka 'unsigned int *') increases requir=
ed alignment from 1 to 4 [-Werror,-Wcast-align]
        p =3D (uint32_t *)cdata;
            ^~~~~~~~~~~~~~~~~
1 error generated.
*** [nvmecontrol.o] Error code 1
1 error
*** [all] Error code 2
1 error
*** [sbin.all__D] Error code 2

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--NezEEujwa2d0WB27
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlBYbq4ACgkQmprOCmdXAD0QiACdFFQfiaTkfVu898dIvq0VzwIw
J58An2N5CiemgwQv1y3lZOWhwC8zUoyj
=7JLE
-----END PGP SIGNATURE-----

--NezEEujwa2d0WB27--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120918125303.GN3357>