From owner-svn-src-stable@freebsd.org Thu Jan 11 17:51:24 2018 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D3B5E71D32; Thu, 11 Jan 2018 17:51:24 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8A4A7C54A; Thu, 11 Jan 2018 17:51:23 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0C60F18326; Thu, 11 Jan 2018 17:51:23 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0BHpMJC045905; Thu, 11 Jan 2018 17:51:22 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0BHpMpw045899; Thu, 11 Jan 2018 17:51:22 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201801111751.w0BHpMpw045899@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Thu, 11 Jan 2018 17:51:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r327837 - in stable/11: . share/man/man5 share/mk usr.bin X-SVN-Group: stable-11 X-SVN-Commit-Author: ian X-SVN-Commit-Paths: in stable/11: . share/man/man5 share/mk usr.bin X-SVN-Commit-Revision: 327837 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 17:51:24 -0000 Author: ian Date: Thu Jan 11 17:51:22 2018 New Revision: 327837 URL: https://svnweb.freebsd.org/changeset/base/327837 Log: Do not build lint(1) by default on stable-11, add WITH_LINT to enable building it. lint(1) is required on the host build system to build lint(1) libraries, and it is no longer available on FreeBSD 12. This prevents using a 12 or later host to build an 11 or earlier system, which causes problems for building jails and using poudriere. The problem could be fixed by treating lint as a bootstrap tool when building on 12+, but that just adds complexity and build time to build a broken tool that virtually nobody uses anymore. This is a direct commit to 11-stable because lint no longer exists in later branches. PR: 223892 Relnotes: yes Differential Revision: https://reviews.freebsd.org/D13799 Modified: stable/11/UPDATING stable/11/share/man/man5/src.conf.5 stable/11/share/mk/src.opts.mk stable/11/usr.bin/Makefile Modified: stable/11/UPDATING ============================================================================== --- stable/11/UPDATING Thu Jan 11 17:23:24 2018 (r327836) +++ stable/11/UPDATING Thu Jan 11 17:51:22 2018 (r327837) @@ -16,6 +16,12 @@ from older versions of FreeBSD, try WITHOUT_CLANG and the tip of head, and then rebuild without this option. The bootstrap process from older version of current across the gcc/clang cutover is a bit fragile. +20180108: + lint(1) binaries and library are no longer built by default. To + enable building them, define WITH_LINT in src.conf. If you are using + a FreeBSD 12 or later system to build 11-stable, you may need to + install a lint(1) binary to use WITH_LINT. + 20171003: When building multiple kernels using KERNCONF, non-existent KERNCONF files will produce an error and buildkernel will fail. Previously Modified: stable/11/share/man/man5/src.conf.5 ============================================================================== --- stable/11/share/man/man5/src.conf.5 Thu Jan 11 17:23:24 2018 (r327836) +++ stable/11/share/man/man5/src.conf.5 Thu Jan 11 17:51:22 2018 (r327837) @@ -1,6 +1,6 @@ .\" DO NOT EDIT-- this file is generated by tools/build/options/makeman. .\" $FreeBSD$ -.Dd September 7, 2017 +.Dd January 8, 2018 .Dt SRC.CONF 5 .Os .Sh NAME @@ -927,6 +927,8 @@ Set to not build the .Nm libthr (1:1 threading) library. +.It Va WITH_LINT +Set to build the lint binaries and library. .It Va WITHOUT_LLD Set to not build LLVM's lld linker. .Pp Modified: stable/11/share/mk/src.opts.mk ============================================================================== --- stable/11/share/mk/src.opts.mk Thu Jan 11 17:23:24 2018 (r327836) +++ stable/11/share/mk/src.opts.mk Thu Jan 11 17:51:22 2018 (r327837) @@ -187,6 +187,7 @@ __DEFAULT_NO_OPTIONS = \ EISA \ HESIOD \ LIBSOFT \ + LINT \ NAND \ OFED \ OPENLDAP \ Modified: stable/11/usr.bin/Makefile ============================================================================== --- stable/11/usr.bin/Makefile Thu Jan 11 17:23:24 2018 (r327836) +++ stable/11/usr.bin/Makefile Thu Jan 11 17:51:22 2018 (r327837) @@ -286,7 +286,7 @@ SUBDIR.${MK_TOOLCHAIN}+= readelf SUBDIR.${MK_TOOLCHAIN}+= rpcgen SUBDIR.${MK_TOOLCHAIN}+= unifdef SUBDIR.${MK_TOOLCHAIN}+= size -.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build +.if ${MK_LINT} != "no" && ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build SUBDIR.${MK_TOOLCHAIN}+= xlint .endif SUBDIR.${MK_TOOLCHAIN}+= xstr