Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 20:21:48 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Chris H <bsd-lists@bsdforge.com>
Cc:        FreeBSD toolchain <freebsd-toolchain@freebsd.org>, FreeBSD CURRENT <current@freebsd.org>, Garrett Cooper <yaneurabeya@gmail.com>
Subject:   Re: Unable to build world w/o clang on 11
Message-ID:  <788FBCF1-92E4-4A47-9A13-CC3B604501E5@FreeBSD.org>
In-Reply-To: <7854f93b2c7110c1deb38790449e5977@ultimatedns.net>
References:  <d3a1657ec76702e7d2d8ac9b8f297609@ultimatedns.net> <e58de81afa3f25619301082010bb79f6@ultimatedns.net> <20141111032231.GA3751@troutmask.apl.washington.edu> <8a1fd922bfe9a1c28726e82230c2cced@ultimatedns.net> <ab670cb0892ae773a03a7792b6f72b0a@ultimatedns.net> <, > <057607CB-91DF-4C0D-AB26-330D157755F3@gmail.com> <7854f93b2c7110c1deb38790449e5977@ultimatedns.net>

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

--Apple-Mail=_337D66B4-7CFC-4787-9528-CD16300F939A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 11 Nov 2014, at 20:04, Chris H <bsd-lists@bsdforge.com> wrote:
...
> But sadly. blowing away ports, src, and obj. Then checking out
> src r274382, and performing a buildworld. Although I got further.
> it bombed at:
>=20
> =3D=3D=3D> usr.sbin/hyperv (all)
> =3D=3D=3D> usr.sbin/hyperv/tools (all)
> cc  -O2 -pipe
> -I/usr/src/usr.sbin/hyperv/tools/../../../sys/dev/hyperv/utiliti
> es -std=3Dgnu99 -fstack-protector -Wsystem-headers -Werror -Wall =
-Wno-format-y2k
> -
> W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith
> -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow =
-Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls
> -Wold
> -style-definition -Wno-pointer-sign   -c
> /usr/src/usr.sbin/hyperv/tools/../../..
> /contrib/hyperv/tools/hv_kvp_daemon.c
> cc1: warnings being treated as errors
> =
/usr/src/usr.sbin/hyperv/tools/../../../contrib/hyperv/tools/hv_kvp_daemon=
.c:
> In
> function 'kvp_get_ip_info':
> =
/usr/src/usr.sbin/hyperv/tools/../../../contrib/hyperv/tools/hv_kvp_daemon=
.c:814
> : warning: 'ip_buffer' may be used uninitialized in this function

Yep, this is another false positive from gcc.  I've mailed a proposed
workaround to Xin Li, but for now, if you compile world and kernel with
gcc, use NO_WERROR=3D and WERROR=3D in your make.conf.  Especially the
kernel still needs a bunch of fixes to make it work with gcc again.

It's a pity the gcc tinderboxes have been taken offline.  Maybe this can
be added to the FreeBSD Jenkins instance now?

-Dimitry


--Apple-Mail=_337D66B4-7CFC-4787-9528-CD16300F939A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.26

iEYEARECAAYFAlRiYcwACgkQsF6jCi4glqPX0wCg7hs/5Hv0DjrvPQY/ZthO34TK
XdQAn3HSQ2m1VaerVXk6m+zT5Uz/LF2c
=mt8U
-----END PGP SIGNATURE-----

--Apple-Mail=_337D66B4-7CFC-4787-9528-CD16300F939A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?788FBCF1-92E4-4A47-9A13-CC3B604501E5>