From nobody Fri Nov 19 06:28:35 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 992CE185588E; Fri, 19 Nov 2021 06:28:59 +0000 (UTC) (envelope-from kevans91@ksu.edu) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2071.outbound.protection.outlook.com [40.107.94.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HwRZg2240z3PbD; Fri, 19 Nov 2021 06:28:59 +0000 (UTC) (envelope-from kevans91@ksu.edu) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PwHygmu9ZmD9RqQkco0HS0zvyoQP6K3tyvM59/B1PMyQG7n55XyA/sKi/ePgS3YnCQrtjq1YpL9y5UBWnRFhC69EOSuDPCZK4JRwHO2PeO1zehCXMifKugBxZ2BHUX5YFJoPRfsH/3tXgyiJJ6EZlI511N7WUyylJ7lbxo1J60Qiq1fq4YVe9uFIMu/HvyPv2M/rrTNAklNbkvadvKeIw9r3BXzrm5R5A6pGpYFdBQnHaOYa4355UskkHAUAP9x5OskiS6fzQsOjBooE1B4OR/pWDG/o54yMst9+gmsERvWBrphvIxz+/GbfOVhbBUCBmwUws8/fhamTMcTS7aCciQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VAPbQSCZW20EHUZ2flLubtYZZj+cKb/q4jHAFJJV7lc=; b=lrG0k5ZD62fzDASb4ICsvu3JEcr/P8RgOhvUa+ONlrtreTbo9M0U1BqcYxlCE7sE+2FZTSUQQZ9AhpP+FCrnmHDltkiPx885+Ove+SjQT/yNnjoKTDv3Aen8nu5zq89Nbv8Y8RmW20zU+OTTDTgNoBnM23IA6lsToKYrBvSgUyDdsbwwVD4/G225bECrZtL/A08MzGgMcLLlkiQ9Nsz4+cCMawaN20BWTGDbRf3D+IFVz5Tj81WQWTg0axB21JCOZc7zemfDXPO9ltIUjVVSW7A2TRyi/OUFWjIJQ1x1d+heJ5oH2u/2g43KxANa6OzIwGWYHnbPZ+XDUM5YctQcgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ksu.edu; dmarc=pass action=none header.from=ksu.edu; dkim=pass header.d=ksu.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ksu.edu; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VAPbQSCZW20EHUZ2flLubtYZZj+cKb/q4jHAFJJV7lc=; b=VBZyj/sitFCSgIAhoSsfMq65kn1TX3UGcKij4jCJk+ywdLJVwke8iKLIYFrSr6TiWwrj8b3wrFFnxdSKuOdBAiHWk8wqQn8lTUqGE5Tojdl9d6syYI9SxUk9JFK2lFzGXPRkyi73Vz4vYaV62mEdeWMg/7H9Hd1bGqYhMrAol10= Received: from DM6PR05MB6953.namprd05.prod.outlook.com (2603:10b6:5:206::17) by DM6PR05MB6506.namprd05.prod.outlook.com (2603:10b6:5:126::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.15; Fri, 19 Nov 2021 06:28:50 +0000 Received: from DM6PR05MB6953.namprd05.prod.outlook.com ([fe80::e8b3:ed98:faf7:8233]) by DM6PR05MB6953.namprd05.prod.outlook.com ([fe80::e8b3:ed98:faf7:8233%4]) with mapi id 15.20.4713.019; Fri, 19 Nov 2021 06:28:50 +0000 X-Gm-Message-State: AOAM532WJeQyJ5aicbPbB05fCtgzQePYtR/o9SYWyTPUMLArLKovM3OI hHladjNWAT8Ds1jKsHdAu6ER6+PSwExoJ3lBqM4= X-Google-Smtp-Source: ABdhPJye/zpv0SZP8VkFXzdziEeSlLIStkwHZ7bf/ZV62rZuVxk3Iybbd8xp+z9UZv0vIbvWQKS0v3BXwTMZR4Dbs0c= X-Received: by 2002:ac8:4e28:: with SMTP id d8mr3539769qtw.11.1637303326343; Thu, 18 Nov 2021 22:28:46 -0800 (PST) References: <202111190614.1AJ6EfS2069583@gitrepo.freebsd.org> In-Reply-To: <202111190614.1AJ6EfS2069583@gitrepo.freebsd.org> From: Kyle Evans Date: Fri, 19 Nov 2021 00:28:35 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: a420a672bc53 - main - Bootstrap: Prune building from pre-FreeBSD 11 support To: Warner Losh Cc: src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: BL0PR01CA0022.prod.exchangelabs.com (2603:10b6:208:71::35) To DM6PR05MB6953.namprd05.prod.outlook.com (2603:10b6:5:206::17) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Received: from mail-qt1-f169.google.com (209.85.160.169) by BL0PR01CA0022.prod.exchangelabs.com (2603:10b6:208:71::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Fri, 19 Nov 2021 06:28:49 +0000 Received: by mail-qt1-f169.google.com with SMTP id j17so8658155qtx.2; Thu, 18 Nov 2021 22:28:49 -0800 (PST) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aefe01cd-d81e-46b4-c107-08d9ab25d961 X-MS-TrafficTypeDiagnostic: DM6PR05MB6506: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uM94Jdg++EP9KhqLM7aDnSSIKxeY9I6AZYh8jrg7weem+I8Z+Cw3Wxhc3gzVL0482kSMP2aubibaE1ZwxACMB+KfKYQ/yrGZSG1m5SbbkEvgJh4b1DtveXb10bz0fTBRjj79KhcmGNlSgPvi9Tb7lryUsVBeSwCXHuoHwfKBmit9W8BkQVsJ8sxHRu4YegetFx5dlEfbKnxWlVvXakF6c76a02TjCIaEv9QvDON734jqxZncBS+G/Z+EcOYAKUV/Mp59deu+A6wzj+cLYMCoCKzteHKx+W/zoSRigWEWY9/AjSR1a4QkYBSI6FyLl+SC19MjIdnQZWfKWpSOFnxQDr6mJ/XP6JTKFUC76gLEBwPdpMhp2S5iTnujqOA9Ps/72LR62mIotugWcIMdonfAC3ITBJ56WWLd/iQjA4j87hS8GQ3Lcm+qdVDyVQPg6KCjw/VuuoJXyR1cZkHeedI8ZwbmMuwfu3aogXyMhDms7VYDx/7Eu8OOUGJb+HVSN4AWXlD9PGLkc8AepJNWWGmDMg8ia8zH9LuBOHFdtmwtXu1JQzPjRGqcCny9r+2r/qYKqotHtHjXgKICmn5KFerkG5Duf63t9HwQkkN9A4SGxzfC5hdDrpoJB8939FJAriIc5xQrnIba1u2B9EgG2EEsw3VlaTyMTV5srOOrZUuoGnKOEPLWlI2Oy8M9u42Wr7oFTwTNeT5eGLdbFrx8OCY4Ieb9PglECLrWk7lb6aKq/XRsMs9hSYlY7dhDybmP88C7Kk7JJbYtmdpzaqWQHgccY66SO+8cQuSUB4KKD977HJhucCLWztOr4+MKGyIhhox5nA6J3KPQAw27jFDgeQMsug== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR05MB6953.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(83380400001)(66476007)(450100002)(53546011)(4326008)(4001150100001)(9686003)(66556008)(38100700002)(54906003)(38350700002)(55446002)(186003)(508600001)(26005)(786003)(2906002)(966005)(55236004)(6666004)(75432002)(316002)(52116002)(45080400002)(86362001)(8676002)(66946007)(5660300002)(6916009)(42186006)(8936002)(84970400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Sng5OU5tdmhaUXdFSG4rbGtkVWpxV201TEo4NXdKRXNZTnBsK1YrKytiZXdl?= =?utf-8?B?bjdQc0VlWGxOZE5oNUlUT2p4L2JhRG9EVCtrVHllU0ZXRHlpTnVFLzdiM0Nl?= =?utf-8?B?Kyt3T2F5WG5EMHc3ZE50bTZyNUpJRUJqeEFvanVQaXkrOW1LOCtJL0FUYUF1?= =?utf-8?B?NnovNlJmVXFPMXJSTlZiZHVpVUt0WWZsYmpBa0VHSnkzRTdxNWVmODNLQkQ2?= =?utf-8?B?amhDSW9QY1ZhOXJrOWVGb2QweldDM0RnbXJkRC94NVB0QUJ5bzdNY1hNNzRv?= =?utf-8?B?c0dlMVZKTytrVVFmaDhaSnFqNVA1aEpwalNVejZKSTNUOGMwOHFuL1Jld2c5?= =?utf-8?B?SmtrRUE2ZWtHNTQvZVkvWkJQQlVwa2t5alBYUEsyVWZOeTAyTTM5MHBSRlRt?= =?utf-8?B?L0ZoZXBScUl5OGYwaTBuS2NaNlVMaUswUUJBYnVnNzdQd3V0RzFUa05EMmpT?= =?utf-8?B?cDd0NVpkSEZOQktGeGFSNWhoMFJLekVGMU9DOGZ6K2RIeVlVVnRqWmpiNXUr?= =?utf-8?B?MWdtejNNbzVVa3BybUpVZHpYaEUwMHFWWmhjMUpOOVYrMElTTDlwSk8wdXhu?= =?utf-8?B?eWJHd2RRM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WjlvS051a2svV25URTRJZkJxaWwydTVSalptSC9JQnZoSitld3ViN3BJK080?= =?utf-8?B?OC9LdUlRTWFqMGVuNWV0eUhsWWdEQ1k1R3JkcTlueWFoRDBYNWJjMGRWM1pq?= =?utf-8?B?US9PKzlXeGhSbDUvd1ltKzVsV2dzQnI4eWM0eG0yeHh6YTlyREcrMjR3V1gr?= =?utf-8?B?bFNpTFQ3VDZTbG9vV3RaNDF4YU16N1U0QmhWTmtqVlkxQ3dWd1FUU0NMZk9G?= =?utf-8?B?bXkrUWlXblUwVVlHYm5FZzRLMGVadXc1OXRqN3ZCMkRnNUQvcmlTdGNxQ3FB?= =?utf-8?B?dktyWDk1MW9IYkQxY3U3bEVjTk1ncDI3UEtCRFRJTHFjaXFGdTQ5V3RaZTRI?= =?utf-8?B?YWR5WVNkcTVjdUc0REU0czNoQVpQTHBUQkYxeklseUtZcStBR3ZxVmdGN3pB?= =?utf-8?B?L2tsT05oazFDSGozMjRQYlRYVVEwbDlJMFR0dTE4c1ZiVlBIVCtFdGdWK2k1?= =?utf-8?B?VVhMZm43VFdOMXUyYnZuWkZVM2VsY1Jka2tGbWs5S3AvYlBSUUpvMU1ITkw4?= =?utf-8?B?ZHFyWE92K2lUdUFnbVlSanpnS2paMWhFeG5HTVo0QXRjZmU3KzZ2dGZINDBz?= =?utf-8?B?UDhEMHhkNk5tM2oxa0Jpd0swcEZrcUlVRG1mWXVPUDFYYU5Cems3R3gza09r?= =?utf-8?Q?a/hKsXNB4RC6ELzJ9q6iD4c=3D?= X-OriginatorOrg: ksu.edu X-MS-Exchange-CrossTenant-Network-Message-Id: aefe01cd-d81e-46b4-c107-08d9ab25d961 X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB6953.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2021 06:28:50.1366 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9a2fa71-d67d-4cb6-b541-06ccaa8013fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: czUm0fy++UJs43azmHJHekg8d919Eisli4ieZWJ7wkphGZ+Z0xV+WM4k5KzjrY5/21AQl54fzjGnBb5oYTX7Qg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB6506 X-Rspamd-Queue-Id: 4HwRZg2240z3PbD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, Nov 19, 2021 at 12:14 AM Warner Losh wrote: > > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=a420a672bc53bd3928626aa5d0ec5b41c0471356 > > commit a420a672bc53bd3928626aa5d0ec5b41c0471356 > Author: Warner Losh > AuthorDate: 2021-10-10 17:28:54 +0000 > Commit: Warner Losh > CommitDate: 2021-11-19 06:13:44 +0000 > > Bootstrap: Prune building from pre-FreeBSD 11 support > > We don't need to bootstrap lex or md4 anymore. > Cat doesn't need to be bootstrapped (but is needed for buildkernel) > cruncgen doesn't need to be bootstrapped at all. > kbdcontrol isn't needed > > Sponsored by: Netflix > Pull Request: https://github.com/freebsd/freebsd-src/pull/554 > --- > Makefile.inc1 | 51 ++++----------------------------------------------- > 1 file changed, 4 insertions(+), 47 deletions(-) > > diff --git a/Makefile.inc1 b/Makefile.inc1 > index d8f50cf77d4b..6573b4a079a1 100644 > --- a/Makefile.inc1 > +++ b/Makefile.inc1 > @@ -681,8 +681,8 @@ PACKAGE= kernel > > BOOTSTRAPPING?= 0 > # Keep these in sync > -MINIMUM_SUPPORTED_OSREL?= 1002501 > -MINIMUM_SUPPORTED_REL?= 10.3 > +MINIMUM_SUPPORTED_OSREL?= 1102501 > +MINIMUM_SUPPORTED_REL?= 11.3 > > # Common environment for world related stages > CROSSENV+= \ > @@ -2239,24 +2239,6 @@ _vtfontcvt= usr.bin/vtfontcvt > # If you add a new bootstrap tool where we could also use the host version, > # please ensure that you also add a .else case where you add the tool to the > # _bootstrap_tools_links variable. > -.if ${BOOTSTRAPPING} < 1000033 > -# Note: lex needs m4 to build but m4 also depends on lex (which needs m4 to > -# generate any files). To fix this cyclic dependency we can build a bootstrap > -# version of m4 (with pre-generated files) then use that to build the real m4. > -# We can't simply use the host m4 since e.g. the macOS version does not accept > -# the flags that are passed by lex. > -# For lex we also use the pre-gerated files since we would otherwise need to > -# build awk and sed first (which need lex to build) > -# TODO: add a _bootstrap_lex and then build the real lex afterwards > -_lex= usr.bin/lex > -_m4= tools/build/bootstrap-m4 usr.bin/m4 > -${_bt}-tools/build/bootstrap-m4: ${_bt}-usr.bin/lex ${_bt}-lib/libopenbsd ${_bt}-usr.bin/yacc > -${_bt}-usr.bin/m4: ${_bt}-lib/libopenbsd ${_bt}-usr.bin/yacc ${_bt}-usr.bin/lex ${_bt}-tools/build/bootstrap-m4 > -_bt_m4_depend=${_bt}-usr.bin/m4 > -_bt_lex_depend=${_bt}-usr.bin/lex ${_bt_m4_depend} > -.else > -_bootstrap_tools_links+=m4 lex > -.endif > > # ELF Tool Chain libraries are needed for ELF tools and dtrace tools. > # r296685 fix cross-endian objcopy I'll leave a comment on just this first one, but it applies to the others as well... this left a bunch of references to the removed variables elsewhere in Makefile.inc1 that need to be removed. I'm also not entirely convinced that flat removal was entirely right....these should have probably been replaced with just the _bootstrap_tools_links additions, because we presumably still want them linked in if we're not building them. > @@ -2292,21 +2274,6 @@ ${_bt}-usr.sbin/nmtree: ${_bt}-lib/libnetbsd > _bootstrap_tools_links+=mtree > .endif > > -# r246097: log addition login.conf.db, passwd, pwd.db, and spwd.db with cat -l > -.if ${BOOTSTRAPPING} < 1000027 > -_cat= bin/cat > -.else > -_bootstrap_tools_links+=cat > -.endif > - > -# r277259 crunchide: Correct 64-bit section header offset > -# r281674 crunchide: always include both 32- and 64-bit ELF support > -.if ${BOOTSTRAPPING} < 1100078 > -_crunchide= usr.sbin/crunch/crunchide > -.else > -_bootstrap_tools_links+=crunchide > -.endif > - > # 1300115: Higher WARNS fixes > .if ${BOOTSTRAPPING} < 1202502 || \ > (${BOOTSTRAPPING} > 1300000 && ${BOOTSTRAPPING} < 1300131) > @@ -2315,18 +2282,6 @@ _crunchgen= usr.sbin/crunch/crunchgen > _bootstrap_tools_links+=crunchgen > .endif > > -# r296926 -P keymap search path, MFC to stable/10 in r298297 > -# Note: kbdcontrol can not be bootstrapped on non-FreeBSD systems > -.if !defined(CROSSBUILD_HOST) > -.if (${BOOTSTRAPPING} < 1003501 || \ > - (${BOOTSTRAPPING} >= 1100000 && ${BOOTSTRAPPING} < 1100103) || \ > - (!exists(/usr/sbin/kbdcontrol))) > -_kbdcontrol= usr.sbin/kbdcontrol > -.else > -_bootstrap_tools_links+=kbdcontrol > -.endif > -.endif > - > # 1300102: VHDX support > .if ${BOOTSTRAPPING} < 1201520 || \ > (${BOOTSTRAPPING} > 1300000 && ${BOOTSTRAPPING} < 1300102) > @@ -2423,6 +2378,8 @@ _basic_bootstrap_tools+=usr.sbin/services_mkdb usr.sbin/pwd_mkdb > # bootstrap ldd on non-FreeBSD systems > _basic_bootstrap_tools+=usr.bin/ldd > .endif > +# cat is used by sys/kern/genoffset.sh and sys/conf/newvers.sh > +_basic_bootstrap_tools+=bin/cat > # sysctl/chflags are required for installkernel: > .if !defined(CROSSBUILD_HOST) > _basic_bootstrap_tools+=bin/chflags