Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 11:01:26 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Pedro Giffuni <pfg@FreeBSD.org>
Cc:        rgrimes@freebsd.org, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>, Warner Losh <imp@bsdimp.com>
Subject:   Re: svn commit: r325954 - in head: . share/mk sys/conf usr.sbin/config
Message-ID:  <20171118110126.5a1c3486@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <29499AF9-FC0A-4CDA-9657-B092B3F9A0D0@FreeBSD.org>
References:  <201711180134.vAI1Y2ks064138@pdx.rh.CN85.dnsmgr.net> <29499AF9-FC0A-4CDA-9657-B092B3F9A0D0@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/C+PBCrhfiGisjrz+lM4aNtO
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Am Fri, 17 Nov 2017 21:31:06 -0500
Pedro Giffuni <pfg@FreeBSD.org> schrieb:

> > On Nov 17, 2017, at 20:34, Rodney W. Grimes <freebsd@pdx.rh.CN85.dnsmgr=
.net> wrote:
> >=20
> > [ Charset UTF-8 unsupported, converting... ] =20
> >> Kib@ posted to arch that we were removing it, nobody objected, we remo=
ved
> >> it. If it was a working feature that might have a few users, that's one
> >> thing. But I don't think make lint has actually worked in at least a d=
ecade. =20
> >=20
> > Thats a sad state of affairs.
> >  =20
>=20
> t=E2=80=99s not sad, just the way things are, modern compilers are doing =
much of the checking
> older tools like lint used to do.. OpenBSD and DragonflyBSD both killed l=
int ages ago.
>=20
> OTOH, we should probably consider other tools, like sparse:
>=20
> https://sparse.wiki.kernel.org/index.php/Main_Page

Unfortunately, there is (yet) no port of this tool in our tree ... Or did I=
 miss
something?


> =20
> The license is fine and it plays nice with the compiler.
>=20
> >>=20
> >> When I try it today, I get dozens of warnings, and several syntax erro=
rs:
> >>=20
> >> types.h(289): syntax error [249]
> >> nvme.h(79): syntax error [249]
> >> nvme.h(105): syntax error [249]
> >> nvme.h(137): syntax error [249]
> >> nvme.h(160): syntax error [249]
> >> nvme.h(160): cannot recover from previous errors [224]
> >>=20
> >> since it flags all c99 and newer usages as syntax errors. We've been u=
sing
> >> c99 for the kernel since about 8.x, and in the base longer than that. =
xlint
> >> hasn't been useful since we started doing this. The types.h change wen=
t in:
> >> c217b5c12e71 (       mdf 2011-12-12 18:44:17 +0000 289)typedef _Bool b=
ool;
> >> which as far as I can make out was between 8.x being branched and 9.x =
being
> >> branched. This feature has therefore been broken for 3 major releases
> >> without any announcement, or even any bug reports coming in. Not exact=
ly a
> >> feature that has an audience that needs to be informed of anything... =
While
> >> I generally agree one should try to follow proper deprecation process,=
 this
> >> has been de-facto removed from the source tree for at least 6 years, a=
nd
> >> likely broken a lot longer than that. At most this deserves a one-line=
r in
> >> the release notes. At most.
> >>=20
> >> So is this about my forgetting to include a "Release Notes: Yes" line =
in
> >> the commit, or something larger? =20
> >=20
> > Something larger.  Just because the src tree use of lint is failing
> > does not meant that someone out there is not using lint in some
> > other capacity.  The depreication policy is there to notify them
> > that lint well be removed as a program in the next release.
> >  =20
>=20
> Where is this policy written? If we have to, my guess is we can announce =
the
> deprecation in 11.2. A policy that would force us to ship xlint in 12.0 w=
ould just be a
> bad policy.
>=20
> "xlint" is/was an internal development tool not a utility of any usefulne=
ss for
> non-developers. I would compare it to the disappearance of the C Preproce=
ssor when we
> moved to clang, with the significant difference that the lack of C a prep=
rocessor broke
> some ports.
>=20
> > Just because FreeBSD's internal use of lint is broken should in
> > no way relieve us of that obligation and stated policy.
> >  =20
>=20
> If someone needs it the/she may submit it in the ports tree, like we did =
with other
> stuff that has been deprecated.
>=20
> > People seem to be axing stuff without following this policy,
> > and without even bothering to do a release notes Y.
> >  =20
>=20
> So =E2=80=A6 can we remove ctm(1) ?
>=20
> Pedro.
>=20
> >  =20
> >> Warner
> >>=20
> >> On Fri, Nov 17, 2017 at 11:31 AM, Rodney W. Grimes < =20
> >> freebsd@pdx.rh.cn85.dnsmgr.net> wrote: =20
> >>  =20
> >>> TOP post,sorry....
> >>>=20
> >>>=20
> >>> Someone needs to follow up with proper deprication procedures on lint.
> >>>=20
> >>>  =20
> >>>> Author: imp
> >>>> Date: Fri Nov 17 18:16:46 2017
> >>>> New Revision: 325954
> >>>> URL: https://svnweb.freebsd.org/changeset/base/325954
> >>>>=20
> >>>> Log:
> >>>>  Remove build system support for lint.
> >>>>=20
> >>>>  Differential Revision: https://reviews.freebsd.org/D13124
> >>>>=20
> >>>> Modified:
> >>>>  head/Makefile
> >>>>  head/share/mk/bsd.README
> >>>>  head/share/mk/bsd.lib.mk
> >>>>  head/share/mk/bsd.own.mk
> >>>>  head/share/mk/bsd.prog.mk
> >>>>  head/share/mk/bsd.subdir.mk
> >>>>  head/share/mk/bsd.suffixes.mk
> >>>>  head/share/mk/sys.mk
> >>>>  head/sys/conf/kern.mk
> >>>>  head/sys/conf/kern.post.mk
> >>>>  head/sys/conf/kern.pre.mk
> >>>>  head/sys/conf/kmod.mk
> >>>>  head/usr.sbin/config/mkmakefile.c
> >>>>=20
> >>>> Modified: head/Makefile
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/Makefile     Fri Nov 17 18:00:52 2017        (r325953)
> >>>> +++ head/Makefile     Fri Nov 17 18:16:46 2017        (r325954)
> >>>> @@ -129,7 +129,7 @@ TGTS=3D     all all-man buildenv buildenvvars =20
> >>> buildkernel bu =20
> >>>>      everything hier hierarchy install installcheck installkernel \
> >>>>      installkernel.debug packagekernel packageworld \
> >>>>      reinstallkernel reinstallkernel.debug \
> >>>> -     installworld kernel-toolchain libraries lint maninstall \
> >>>> +     installworld kernel-toolchain libraries maninstall \
> >>>>      obj objlink showconfig tags toolchain update \
> >>>>      _worldtmp _legacy _bootstrap-tools _cleanobj _obj \
> >>>>      _build-tools _build-metadata _cross-tools _includes _libraries \
> >>>>=20
> >>>> Modified: head/share/mk/bsd.README
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/share/mk/bsd.README  Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/share/mk/bsd.README  Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -250,8 +250,6 @@ It has seven targets:
> >>>>              beforeinstall and afterinstall may also be used to cause
> >>>>              actions immediately before and after the install target
> >>>>              is executed.
> >>>> -     lint:
> >>>> -             run lint on the source files
> >>>>      tags:
> >>>>              create a tags file for the source files.
> >>>>=20
> >>>> @@ -488,18 +486,17 @@ ${MOD}_oid.h    A header which programmaticall=
y =20
> >>> describes =20
> >>>>=20
> >>>> The include file <bsd.subdir.mk> contains the default targets for =20
> >>> building =20
> >>>> subdirectories.  It has the same seven targets as <bsd.prog.mk>: all=
, =20
> >>> clean, =20
> >>>> -cleandir, depend, install, lint, and tags.  For all of the director=
ies
> >>>> -listed in the variable SUBDIRS, the specified directory will be vis=
ited
> >>>> -and the target made.  There is also a default target which allows t=
he
> >>>> -command "make subdir" where subdir is any directory listed in the =
=20
> >>> variable =20
> >>>> -SUBDIRS.
> >>>> +cleandir, depend, install, and tags.  For all of the directories li=
sted =20
> >>> in the =20
> >>>> +variable SUBDIRS, the specified directory will be visited and the =
=20
> >>> target made. =20
> >>>> +There is also a default target which allows the command "make subdi=
r" =20
> >>> where =20
> >>>> +subdir is any directory listed in the variable SUBDIRS.
> >>>>=20
> >>>> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- =20
> >>> =3D-=3D-=3D-=3D-=3D-=3D-=3D =20
> >>>>=20
> >>>> -The include file <bsd.lib.mk> has support for building libraries.  =
It =20
> >>> has =20
> >>>> -the same seven targets as <bsd.prog.mk>: all, clean, cleandir, depe=
nd,
> >>>> -install, lint, and tags.  It has a limited number of suffixes, =20
> >>> consistent =20
> >>>> -with the current needs of the BSD tree.
> >>>> +The include file <bsd.lib.mk> has support for building libraries.  =
It =20
> >>> has the =20
> >>>> +same seven targets as <bsd.prog.mk>: all, clean, cleandir, depend, =
=20
> >>> install, and =20
> >>>> +tags.  It has a limited number of suffixes, consistent with the cur=
rent =20
> >>> needs of =20
> >>>> +the BSD tree.
> >>>>=20
> >>>> It sets/uses the following variables:
> >>>>=20
> >>>> @@ -530,8 +527,6 @@ LIB_CXX           The name of the library to bui=
ld. =20
> >>> It also cau =20
> >>>>              will be built.  NO_PIC can be set to only build a static
> >>>>              library.
> >>>>=20
> >>>> -LINTLIBDIR   Target directory for lint libraries.
> >>>> -
> >>>> MAN          The manual pages to be installed. See bsd.man.mk for mo=
re
> >>>>              details.
> >>>>=20
> >>>> @@ -588,8 +583,6 @@ It has seven targets:
> >>>>                 targets beforeinstall and afterinstall may also be u=
sed
> >>>>                 to cause actions immediately before and after the
> >>>>                 install target is executed.
> >>>> -     lint:
> >>>> -             run lint on the source files.
> >>>>      tags:
> >>>>              create a tags file for the source files.
> >>>>=20
> >>>>=20
> >>>> Modified: head/share/mk/bsd.lib.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/share/mk/bsd.lib.mk  Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/share/mk/bsd.lib.mk  Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -285,18 +285,6 @@ lib${LIB_PRIVATE}${LIB}_pic.a: ${SOBJS}
> >>>>      ${RANLIB} ${RANLIBFLAGS} ${.TARGET}
> >>>> .endif
> >>>>=20
> >>>> -.if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && =20
> >>> !empty(LIB) =20
> >>>> -LINTLIB=3D     llib-l${LIB}.ln
> >>>> -_LIBS+=3D              ${LINTLIB}
> >>>> -LINTOBJS+=3D   ${SRCS:M*.c:.c=3D.ln}
> >>>> -CLEANFILES+=3D ${LINTOBJS}
> >>>> -
> >>>> -${LINTLIB}: ${LINTOBJS}
> >>>> -     @${ECHO} building lint library ${.TARGET}
> >>>> -     @rm -f ${.TARGET}
> >>>> -     ${LINT} ${LINTLIBFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
> >>>> -.endif
> >>>> -
> >>>> .endif # !defined(INTERNALLIB)
> >>>>=20
> >>>> .if defined(_SKIP_BUILD)
> >>>> @@ -403,10 +391,6 @@ _libinstall:
> >>>>      ${INSTALL} ${TAG_ARGS:D${TAG_ARGS},development} -o ${LIBOWN} -g=
 =20
> >>> ${LIBGRP} -m ${LIBMODE} \ =20
> >>>>          ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${_LIBDIR}/
> >>>> .endif
> >>>> -.if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && =20
> >>> !empty(LIB) =20
> >>>> -     ${INSTALL} ${TAG_ARGS:D${TAG_ARGS},development} -o ${LIBOWN} -=
g =20
> >>> ${LIBGRP} -m ${LIBMODE} \ =20
> >>>> -         ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR}/
> >>>> -.endif
> >>>> .endif # !defined(INTERNALLIB)
> >>>>=20
> >>>> .if !defined(LIBRARIES_ONLY)
> >>>> @@ -423,11 +407,6 @@ realinstall: maninstall
> >>>> .ORDER: beforeinstall maninstall
> >>>> .endif
> >>>>=20
> >>>> -.endif
> >>>> -
> >>>> -.if !target(lint)
> >>>> -lint: ${SRCS:M*.c}
> >>>> -     ${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
> >>>> .endif
> >>>>=20
> >>>> .if ${MK_MAN} !=3D "no" && !defined(LIBRARIES_ONLY)
> >>>>=20
> >>>> Modified: head/share/mk/bsd.own.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/share/mk/bsd.own.mk  Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/share/mk/bsd.own.mk  Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -32,8 +32,6 @@
> >>>> #
> >>>> # LIBEXECDIR Base path for system daemons and utilities. [/usr/libex=
ec]
> >>>> #
> >>>> -# LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint]
> >>>> -#
> >>>> # SHLIBDIR   Base path for shared libraries. [${LIBDIR}]
> >>>> #
> >>>> # LIBOWN     Library owner. [${BINOWN}]
> >>>> @@ -162,7 +160,6 @@ LIBDIR?=3D  ${LIBDIR_BASE}
> >>>> LIBCOMPATDIR?=3D       /usr/lib/compat
> >>>> LIBDATADIR?=3D /usr/libdata
> >>>> LIBEXECDIR?=3D /usr/libexec
> >>>> -LINTLIBDIR?=3D /usr/libdata/lint
> >>>> SHLIBDIR?=3D   ${LIBDIR}
> >>>> LIBOWN?=3D     ${BINOWN}
> >>>> LIBGRP?=3D     ${BINGRP}
> >>>>=20
> >>>> Modified: head/share/mk/bsd.prog.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/share/mk/bsd.prog.mk Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/share/mk/bsd.prog.mk Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -294,13 +294,6 @@ realinstall: maninstall
> >>>>=20
> >>>> .endif       # !target(install)
> >>>>=20
> >>>> -.if !target(lint)
> >>>> -lint: ${SRCS:M*.c}
> >>>> -.if defined(PROG)
> >>>> -     ${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
> >>>> -.endif
> >>>> -.endif
> >>>> -
> >>>> .if ${MK_MAN} !=3D "no"
> >>>> .include <bsd.man.mk>
> >>>> .endif
> >>>>=20
> >>>> Modified: head/share/mk/bsd.subdir.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/share/mk/bsd.subdir.mk       Fri Nov 17 18:00:52 2017 =20
> >>> (r325953) =20
> >>>> +++ head/share/mk/bsd.subdir.mk       Fri Nov 17 18:16:46 2017 =20
> >>> (r325954) =20
> >>>> @@ -46,7 +46,7 @@ SUBDIR_TARGETS+=3D \
> >>>>              all all-man analyze buildconfig buildfiles buildinclude=
s \
> >>>>              checkdpadd clean cleandepend cleandir cleanilinks \
> >>>>              cleanobj depend distribute files includes installconfig=
 \
> >>>> -             installfiles installincludes print-dir realinstall lin=
t \
> >>>> +             installfiles installincludes print-dir realinstall \
> >>>>              maninstall manlint ${_obj} objlink tags \
> >>>>=20
> >>>> # Described above.
> >>>>=20
> >>>> Modified: head/share/mk/bsd.suffixes.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/share/mk/bsd.suffixes.mk     Fri Nov 17 18:00:52 2017 =20
> >>> (r325953) =20
> >>>> +++ head/share/mk/bsd.suffixes.mk     Fri Nov 17 18:16:46 2017 =20
> >>> (r325954) =20
> >>>> @@ -4,14 +4,6 @@
> >>>>      cp -f ${.IMPSRC} ${.TARGET}
> >>>>      chmod a+x ${.TARGET}
> >>>>=20
> >>>> -.c.ln:
> >>>> -     ${LINT} ${LINTOBJFLAGS} ${CFLAGS:M-[DIU]*} ${.IMPSRC} || \
> >>>> -         touch ${.TARGET}
> >>>> -
> >>>> -.cc.ln .C.ln .cpp.ln .cxx.ln:
> >>>> -     ${LINT} ${LINTOBJFLAGS} ${CXXFLAGS:M-[DIU]*} ${.IMPSRC} || \
> >>>> -         touch ${.TARGET}
> >>>> -
> >>>> .c:
> >>>>      ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
> >>>>      ${CTFCONVERT_CMD}
> >>>>=20
> >>>> Modified: head/share/mk/sys.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/share/mk/sys.mk      Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/share/mk/sys.mk      Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -142,7 +142,7 @@ NO_META_IGNORE_HOST_HEADERS=3D      1
> >>>> .if defined(%POSIX)
> >>>> .SUFFIXES:   .o .c .y .l .a .sh .f
> >>>> .else
> >>>> -.SUFFIXES:   .out .a .ln .o .bco .llo .c .cc .cpp .cxx .C .m .F .f =
.e =20
> >>> .r .y .l .S .asm .s .cl .p .h .sh =20
> >>>> +.SUFFIXES:   .out .a .o .bco .llo .c .cc .cpp .cxx .C .m .F .f .e .=
r .y =20
> >>> .l .S .asm .s .cl .p .h .sh =20
> >>>> .endif
> >>>>=20
> >>>> AR           ?=3D      ar
> >>>> @@ -244,13 +244,6 @@ LFLAGS           ?=3D
> >>>> LD           ?=3D      ld
> >>>> LDFLAGS              ?=3D
> >>>> _LDFLAGS     =3D       ${LDFLAGS:S/-Wl,//g:N-mabi=3D*:N-fuse-ld=3D*}
> >>>> -
> >>>> -LINT         ?=3D      lint
> >>>> -LINTFLAGS    ?=3D      -cghapbx
> >>>> -LINTKERNFLAGS        ?=3D      ${LINTFLAGS}
> >>>> -LINTOBJFLAGS ?=3D      -cghapbxu -i
> >>>> -LINTOBJKERNFLAGS?=3D   ${LINTOBJFLAGS}
> >>>> -LINTLIBFLAGS ?=3D      -cghapbxu -C ${LIB}
> >>>>=20
> >>>> MAKE         ?=3D      make
> >>>>=20
> >>>>=20
> >>>> Modified: head/sys/conf/kern.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/sys/conf/kern.mk     Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/sys/conf/kern.mk     Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -228,7 +228,7 @@ PHONY_NOTMAIN =3D afterdepend afterinstall all =
=20
> >>> beforedep =20
> >>>>              beforelinking build build-tools buildfiles buildinclude=
s \
> >>>>              checkdpadd clean cleandepend cleandir cleanobj configur=
e \
> >>>>              depend distclean distribute exe \
> >>>> -             html includes install installfiles installincludes lin=
t \
> >>>> +             html includes install installfiles installincludes \
> >>>>              obj objlink objs objwarn \
> >>>>              realinstall regress \
> >>>>              tags whereobj
> >>>>=20
> >>>> Modified: head/sys/conf/kern.post.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/sys/conf/kern.post.mk        Fri Nov 17 18:00:52 2017 =20
> >>> (r325953) =20
> >>>> +++ head/sys/conf/kern.post.mk        Fri Nov 17 18:16:46 2017 =20
> >>> (r325954) =20
> >>>> @@ -153,7 +153,6 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o
> >>>>=20
> >>>> OBJS_DEPEND_GUESS+=3D  assym.s vnode_if.h ${BEFORE_DEPEND:M*.h} \
> >>>>                      ${MFILES:T:S/.m$/.h/}
> >>>> -LNFILES=3D     ${CFILES:T:S/.c$/.ln/}
> >>>>=20
> >>>> .for mfile in ${MFILES}
> >>>> # XXX the low quality .m.o rules gnerated by config are normally used
> >>>> @@ -167,15 +166,11 @@ ${mfile:T:S/.m$/.h/}: ${mfile}
> >>>> kernel-clean:
> >>>>      rm -f *.o *.so *.pico *.ko *.s eddep errs \
> >>>>          ${FULLKERNEL} ${KERNEL_KO} ${KERNEL_KO}.debug \
> >>>> -         linterrs tags vers.c \
> >>>> +         tags vers.c \
> >>>>          vnode_if.c vnode_if.h vnode_if_newproto.h vnode_if_typedef.=
h \
> >>>>          ${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
> >>>>          ${CLEAN}
> >>>>=20
> >>>> -lint: ${LNFILES}
> >>>> -     ${LINT} ${LINTKERNFLAGS} ${CFLAGS:M-[DILU]*} ${.ALLSRC} 2>&1 |=
 \
> >>>> -         tee -a linterrs
> >>>> -
> >>>> # This is a hack.  BFD "optimizes" away dynamic mode if there are no
> >>>> # dynamic references.  We could probably do a '-Bforcedynamic' mode =
like
> >>>> # in the a.out ld.  For now, this works.
> >>>> @@ -364,9 +359,6 @@ kernel-reinstall:
> >>>> config.o env.o hints.o vers.o vnode_if.o:
> >>>>      ${NORMAL_C}
> >>>>      ${NORMAL_CTFCONVERT}
> >>>> -
> >>>> -config.ln env.ln hints.ln vers.ln vnode_if.ln:
> >>>> -     ${NORMAL_LINT}
> >>>>=20
> >>>> .if ${MK_REPRODUCIBLE_BUILD} !=3D "no"
> >>>> REPRO_FLAG=3D"-r"
> >>>>=20
> >>>> Modified: head/sys/conf/kern.pre.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/sys/conf/kern.pre.mk Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/sys/conf/kern.pre.mk Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -46,7 +46,6 @@ M=3D          ${MACHINE}
> >>>>=20
> >>>> AWK?=3D                awk
> >>>> CP?=3D         cp
> >>>> -LINT?=3D               lint
> >>>> NM?=3D         nm
> >>>> OBJCOPY?=3D    objcopy
> >>>> SIZE?=3D               size
> >>>> @@ -121,9 +120,6 @@ CFLAGS+=3D  ${CONF_CFLAGS}
> >>>> LDFLAGS+=3D    -Wl,--build-id=3Dsha1
> >>>> .endif
> >>>>=20
> >>>> -# Optional linting. This can be overridden in /etc/make.conf.
> >>>> -LINTFLAGS=3D   ${LINTOBJKERNFLAGS}
> >>>> -
> >>>> NORMAL_C=3D ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.IMPSRC}
> >>>> NORMAL_S=3D ${CC:N${CCACHE_BIN}} -c ${ASM_CFLAGS} ${WERROR} ${.IMPSR=
C}
> >>>> PROFILE_C=3D ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC}
> >>>> @@ -175,8 +171,6 @@ NORMAL_CTFCONVERT=3D
> >>>> .else
> >>>> NORMAL_CTFCONVERT=3D   @:
> >>>> .endif
> >>>> -
> >>>> -NORMAL_LINT=3D ${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.IMPSRC}
> >>>>=20
> >>>> # Linux Kernel Programming Interface C-flags
> >>>> LINUXKPI_INCLUDES=3D   -I$S/compat/linuxkpi/common/include
> >>>>=20
> >>>> Modified: head/sys/conf/kmod.mk
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/sys/conf/kmod.mk     Fri Nov 17 18:00:52 2017        (r3259=
53)
> >>>> +++ head/sys/conf/kmod.mk     Fri Nov 17 18:16:46 2017        (r3259=
54)
> >>>> @@ -469,9 +469,6 @@ genassym.o: ${SRCS:Mopt_*.h}
> >>>>          ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c
> >>>> .endif
> >>>>=20
> >>>> -lint: ${SRCS}
> >>>> -     ${LINT} ${LINTKERNFLAGS} ${CFLAGS:M-[DILU]*} ${.ALLSRC:M*.c}
> >>>> -
> >>>> .if defined(KERNBUILDDIR)
> >>>> ${OBJS}: opt_global.h
> >>>> .endif
> >>>>=20
> >>>> Modified: head/usr.sbin/config/mkmakefile.c
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
> >>>> --- head/usr.sbin/config/mkmakefile.c Fri Nov 17 18:00:52 2017 =20
> >>> (r325953) =20
> >>>> +++ head/usr.sbin/config/mkmakefile.c Fri Nov 17 18:16:46 2017 =20
> >>> (r325954) =20
> >>>> @@ -690,18 +690,11 @@ do_rules(FILE *f)
> >>>>                              continue;
> >>>>                      }
> >>>>                      if (ftp->f_depends) {
> >>>> -                             fprintf(f, "%s%sln: $S/%s%c %s\n",
> >>>> -                                     ftp->f_objprefix, tail(np), np=
, =20
> >>> och, =20
> >>>> -                                     ftp->f_depends);
> >>>> -                             fprintf(f, "\t${NORMAL_LINT}\n\n");
> >>>>                              fprintf(f, "%s%so: $S/%s%c %s\n",
> >>>>                                      ftp->f_objprefix, tail(np), np,=
 =20
> >>> och, =20
> >>>>                                      ftp->f_depends);
> >>>>                      }
> >>>>                      else {
> >>>> -                             fprintf(f, "%s%sln: $S/%s%c\n",
> >>>> -                                     ftp->f_objprefix, tail(np), np=
, =20
> >>> och); =20
> >>>> -                             fprintf(f, "\t${NORMAL_LINT}\n\n");
> >>>>                              fprintf(f, "%s%so: $S/%s%c\n",
> >>>>                                      ftp->f_objprefix, tail(np), np,=
 =20
> >>> och); =20
> >>>>                      }
> >>>>=20
> >>>>  =20
> >>>=20
> >>> --
> >>> Rod Grimes
> >>> rgrimes@freebsd.org
> >>>  =20
> >=20
> > --=20
> > Rod Grimes                                                 rgrimes@free=
bsd.org
> >  =20
>=20
> _______________________________________________
> svn-src-head@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"



--=20
O. Hartmann

Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr
Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.=
 4 BDSG).

--Sig_/C+PBCrhfiGisjrz+lM4aNtO
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWhAE9wAKCRDS528fyFhY
lGU+Af9CjaKDOgKr552mH+zOpy/jtF/L9JI78usPwjj2ImtAvm0GeXF5SlJQz7ZD
8xrOwjzdcnvKRlcWaGsgDdK6b6fhAf9+1+SchapPQQTW/b4kDQAVlFZh95zGOXkd
CqVdf3Ujgx1UxFqQdn6xb21j38NXkUcpgvkqZQme2I0cYGJR3N8s
=5x5i
-----END PGP SIGNATURE-----

--Sig_/C+PBCrhfiGisjrz+lM4aNtO--



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