From nobody Mon Apr 24 03:39:44 2023 X-Original-To: freebsd-current@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 4Q4W9f3rwkz46vTg; Mon, 24 Apr 2023 03:40:22 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4W9f2DNVz3LPj; Mon, 24 Apr 2023 03:40:22 +0000 (UTC) (envelope-from sjg@juniper.net) Authentication-Results: mx1.freebsd.org; none Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33NMCo5Q021526; Sun, 23 Apr 2023 20:40:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=to : cc : subject : in-reply-to : references : from : mime-version : content-type : content-id : date : message-id; s=PPS1017; bh=hnn/FyjUqsF+Ofk4itc2247Nqf9Y1UoE0HIkFaZ43Xo=; b=KsndWqXgEbMprmeq4L50EmVqpgrY1P/4wJdsEr0gcu39y64X9bOEudqrjqsrWZ9vTpuW a2k+aVncMj53qGJVf4oh4zppV0lUFjIaTGo+KOD5DBo416ScTnOEv2RI/CEDmodGmlOs KHkO9atxhiayfzDUcUP9JzO1kIR6/Pzstgzbjn9dDIgA4s/GWWRvUIRsHNlIJk9a3MsX 3C5pWg1naneJ3il5R6xo68YDd4wmunkjx1jtCaVz4e1Z/nP+eWJ+mZD1M9fVgfHOqM9d AMNIv0ivdJTfiCIHNatG38neiRLNNKu7gSRKDPPUKCafcfni7msAUhnPjDdxaejlPfQa Mg== Received: from cy4pr02cu008.outbound.protection.outlook.com (mail-westcentralusazlp17012028.outbound.protection.outlook.com [40.93.6.28]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3q4duaj61c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 23 Apr 2023 20:40:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JhHqu8FRan1CANPaFyH6nrPyNH4/2mz4bZNamNuTDfXrNs3s/ZSyVUR0w05mXfxN1kv+9hNWlxMxcRCFgSqq0KqyaV1XvBll4EjyBWzBeQV0u9Y4Tc4w05d5a16d8edYBrQR5XWmMQQECNuwttar0SpNI849OJGWwvWleEC/6OZYzXxOEyekzJ5DcqcBHI2gw8Gf+tHkxBF8ftIQIhQwHA94xr86jAWCowJymwHDTTHEi1mpJTWJ1E/p6Yx1DqmrIRsxQnnCFMkWQr3nCorytJU7Wx0ONoYuvkLMQrYBHyPreUeV2vbjxZfKksVDNy1Pz1DrqUmuRQLEFsF1xce/PQ== 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=hnn/FyjUqsF+Ofk4itc2247Nqf9Y1UoE0HIkFaZ43Xo=; b=OZAyC6yaqyaA8Z2BWN1wUK+0ke+jLUAwGsdvkZ1gC8BgLJ+FG4dMdmPzDRnitgFHqRm+KIgGFTitWFk3uvMeRrljAcmGNQ5GtPpWiUucuqZtIMUfRwaAkEb6gmwFqwXYF8Jpc98JTWT0IOdIOMDeYkEoglgyjIP/tGlujRNYraNiJD10LCYu99yv/ks9tyvDyapf0v30rBXEDQNHO1iLoEJsdX7zAOuC5adIOvWhzmGQTON6RgqQR9RvioSQDr/vslzwmKxHntjVLCeHNYc2O1ICZ886VcLNS/jNl+EpwuvhP0qVeeYVThvGGiyOo0U5zksFGoP5fJxM7tR3J7akcA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.239.15) smtp.rcpttodomain=yahoo.com smtp.mailfrom=juniper.net; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=juniper.net; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hnn/FyjUqsF+Ofk4itc2247Nqf9Y1UoE0HIkFaZ43Xo=; b=JPI+p7KpOK+ldP+iznL4r8877JREVZJ8UOk/IJ761ONbNTZa4MXWnHoFuhOOTQHjjuRU+7OKYZxF7VeMRr3aRE3v78iDe+A4W/jVatZDV5XzY3rmAp8dgYNtBBESUa2pLtEkGHgEFR+A9+LE/jNtlEqwO1VjUZBqLYFhVTM9gow= Received: from BN1PR13CA0011.namprd13.prod.outlook.com (2603:10b6:408:e2::16) by BLAPR05MB7217.namprd05.prod.outlook.com (2603:10b6:208:29e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Mon, 24 Apr 2023 03:40:17 +0000 Received: from BN8NAM12FT096.eop-nam12.prod.protection.outlook.com (2603:10b6:408:e2:cafe::4a) by BN1PR13CA0011.outlook.office365.com (2603:10b6:408:e2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.19 via Frontend Transport; Mon, 24 Apr 2023 03:40:17 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 66.129.239.15) smtp.mailfrom=juniper.net; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender) Received: from p-exchfe-eqx-02.jnpr.net (66.129.239.15) by BN8NAM12FT096.mail.protection.outlook.com (10.13.182.174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.19 via Frontend Transport; Mon, 24 Apr 2023 03:40:17 +0000 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchfe-eqx-02.jnpr.net (10.104.9.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Sun, 23 Apr 2023 22:40:16 -0500 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchbe-eqx-01.jnpr.net (10.104.9.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Sun, 23 Apr 2023 22:40:16 -0500 Received: from p-mailhub01.juniper.net (10.104.20.6) by p-exchbe-eqx-01.jnpr.net (10.104.9.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7 via Frontend Transport; Sun, 23 Apr 2023 22:40:16 -0500 Received: from kaos.jnpr.net (kaos.jnpr.net [172.23.255.201]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id 33O3eFR2023354; Sun, 23 Apr 2023 20:40:15 -0700 (envelope-from sjg@juniper.net) Received: by kaos.jnpr.net (Postfix, from userid 1377) id C94FD8660C; Sun, 23 Apr 2023 20:39:44 -0700 (PDT) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id C81E886525; Sun, 23 Apr 2023 20:39:44 -0700 (PDT) To: Mark Millard CC: FreeBSD Toolchain , Current FreeBSD , Subject: Re: /lib/libc.so.7 vs. __libc_start1@FBSD_1.7 in main [so: 14] recently ? In-Reply-To: <5B26AB25-075F-4630-86C1-886E6082CDCF@yahoo.com> References: <5B26AB25-075F-4630-86C1-886E6082CDCF.ref@yahoo.com> <5B26AB25-075F-4630-86C1-886E6082CDCF@yahoo.com> Comments: In-reply-to: Mark Millard message dated "Sun, 23 Apr 2023 20:08:33 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.2 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <88091.1682307584.1@kaos.jnpr.net> Date: Sun, 23 Apr 2023 20:39:44 -0700 Message-ID: <90353.1682307584@kaos.jnpr.net> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM12FT096:EE_|BLAPR05MB7217:EE_ X-MS-Office365-Filtering-Correlation-Id: d3b442c4-d660-4fd2-a76b-08db44759ef2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LSxN+1tf0DwtjQZuw7ktWQkOqAWD4CG/pMzX1oJQey5l8MA0uJuCFFx4WFmza2an6hiRv9bMUX2Wz0ICxUPazwEZKS5v6OnLPVFpp3FfVtoT8HWGtEcFUz6ijDtO/wVFu6rd3NYJ1KFaKKXU+F03zTP5StSsbJ6lTKsJwrN6OfD5VkR/Q37j+AOk8CYMRGyiTDqmKhhHwfyFYFV8k9QcNAQZi7s5x31bjXBTWqA4O3wCr+fFIE1zxOD4h9MR9QibC2fSxS4R5TqEdjDYk7l/OvJCOze2TRu83FB3MBxjU+CzNGFaeCgRBTKxjBc/oVICHtH5Tj6XLKx1dA6lKYOYBck3JsXAJh0q2gZWE43rzB4ONCdvi9t4hpIO+HipicH9O8SIjfN3Z2Xkf1KxNJXxU5pVXDAg6Xd61tZOVxuK91YRyJ7Nd6jaQjtG5NNRb3pN3LpQp0N/Yp+Yd8ozbgSSCep6UB4iS4Dq1Ldl+kf/VAL18BJkBuE8OTucrAwH9JR5OLhJnmhjPLb50Pofe6oTqfiJ8KpM0bFjOgaEwHOL0QQP7r6GWYt6nTAY4yQxMaF2ZRAB9LrTgQ+tSVOHGyAUhK8GGl1VQoEAnm8Voi0PBbcvBFPmWrV1nbIMNUX03o+G09Vq49OOTpU1c80SucP/xoPXLAT1Hpn9iqK8kf3IMgjTsnRC4UapCPcKOJ/K4T0qj+0Gnokw7Il1ejBYyZ/SlCttAJbvhZtqz9qBH5ns4aCV8o3dqs8HhAjE3x7nRDjcFQdbH/+C62ZDOEmkDkG0y5HsWr/aa5XaVsAY1U8ceRs= X-Forefront-Antispam-Report: CIP:66.129.239.15;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:p-exchfe-eqx-02.jnpr.net;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(39860400002)(396003)(346002)(376002)(451199021)(36840700001)(46966006)(40470700004)(2906002)(7696005)(107886003)(55016003)(7126003)(6266002)(9686003)(26005)(186003)(40480700001)(70586007)(70206006)(8676002)(8936002)(316002)(41300700001)(6916009)(4326008)(478600001)(5660300002)(54906003)(82740400003)(356005)(81166007)(82310400005)(86362001)(40460700003)(36860700001)(47076005)(336012)(83380400001)(66899021)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2023 03:40:17.0372 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3b442c4-d660-4fd2-a76b-08db44759ef2 X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4;Ip=[66.129.239.15];Helo=[p-exchfe-eqx-02.jnpr.net] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM12FT096.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR05MB7217 X-Proofpoint-GUID: sENA-2bqD3bw5k3ighK2cnNZ-yrZVB-b X-Proofpoint-ORIG-GUID: sENA-2bqD3bw5k3ighK2cnNZ-yrZVB-b X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-24_01,2023-04-21_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 clxscore=1011 phishscore=0 suspectscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 spamscore=0 lowpriorityscore=0 mlxlogscore=933 adultscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304240033 X-Rspamd-Queue-Id: 4Q4W9f2DNVz3LPj X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:22843, ipnet:67.231.152.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Mark Millard wrote: > I will not get into why, but I executed a git built for 1400082 > in a 1400081 world context and got what was to me a surprise, > given that /lib/libc.so.7 is part of 13.2-RELEASE : > > ld-elf.so.1: /usr/local/bin/git: Undefined symbol "__libc_start1@FBSD_1.7" This is a symptom of trying to run a prog built for target on a host which is not the same. I hit this a lot recently while updating Makefile.depend files for userland. There are a number of makefiles (eg for sh, csh, awk) which need to run a tool on the host to generate something. When trying to build 14.0 on a 13.1 host each of those tools failed with the above issue until actually built for the host. AFAIK the non-DIRDEPS_BUILD build does a separate pass through the tree to do the target build-tools to build these things. The DIRDEPS_BUILD uses a pseudo MACHINE "host" to deal with such things, ideally those tools would be built in a subdirectory of sh, csh etc, so that one can choose to build only that tool if desired - sometimes you want to build the app (eg awk) for the host as well but usually not. --sjg