Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 18:06:41 -0700
From:      Mark Millard <marklmi26-fbsd@yahoo.com>
To:        Eitan Adler <eadler@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: head -r333974 fix-to-the-build exposes another breaks-the-build problem in top (at least for gcc based builds)
Message-ID:  <E8EBA0C1-4CFA-4125-8AA1-D83A5CF7CAB4@yahoo.com>
In-Reply-To: <C16CE902-1FC3-41D2-97B1-226ADD84DCAA@yahoo.com>
References:  <C16CE902-1FC3-41D2-97B1-226ADD84DCAA@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-May-21, at 5:46 PM, Mark Millard <marklmi26-fbsd at yahoo.com> =
wrote:

> FreeBSD-head-amd64-gcc (based on a more modern gcc) reports a
> more explicit error for -r333974 and later:
>=20
> --- all_subdir_usr.bin ---
> /workspace/src/usr.bin/top/commands.c:132:1: error: function =
declaration isn't a prototype [-Werror=3Dstrict-prototypes]
> scanint(str, intp)
> ^~~~~~~
>=20
> The older gcc 4.2.1 builds report:
>=20
> --- all_subdir_usr.bin/top ---
> cc1: warnings being treated as errors
> /usr/src/usr.bin/top/commands.c:134: warning: function declaration =
isn't a prototype
> *** [commands.o] Error code 1
>=20
> make[4]: stopped in /usr/src/usr.bin/top
> 1 error

I should have been explicit that the material is from
ci.freebsd.org .

For reference, the gcc based builds seem to be:
(all but the last being gcc 4.2.1 based if I
undertand right)

FreeBSD-head-mips-build
FreeBSD-head-mips64-build
FreeBSD-head-powerpc-build
FreeBSD-head-powerpc64-build
FreeBSD-head-powerpcspe-build
FreeBSD-head-sparc64-build
FreeBSD-head-amd64-gcc

So those are what I'm reporting as having broken builds
for the specific issue.


=3D=3D=3D
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E8EBA0C1-4CFA-4125-8AA1-D83A5CF7CAB4>