From nobody Mon Apr 22 17:21:20 2024 X-Original-To: freebsd-hackers@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 4VNX8x6j57z5HVtQ for ; Mon, 22 Apr 2024 17:21:21 +0000 (UTC) (envelope-from jeffpc@josefsipek.net) Received: from smtp.jeffnet.31bits.net (josefsipek.net [71.174.62.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4VNX8x6JC3z4Q7P; Mon, 22 Apr 2024 17:21:21 +0000 (UTC) (envelope-from jeffpc@josefsipek.net) Authentication-Results: mx1.freebsd.org; none Received: from satis (satis [172.27.0.85]) by smtp.jeffnet.31bits.net (Postfix) with ESMTPSA id 780E02C2DF; Mon, 22 Apr 2024 17:21:21 +0000 (UTC) Date: Mon, 22 Apr 2024 13:21:20 -0400 From: Josef 'Jeff' Sipek To: Dimitry Andric Cc: Warner Losh , FreeBSD Hackers Subject: Re: Upgrading -RELEASE to -CURRENT Message-ID: References: <9C0C7B9F-9780-4B7D-9B46-CD83B516BD2A@FreeBSD.org> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9C0C7B9F-9780-4B7D-9B46-CD83B516BD2A@FreeBSD.org> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:701, ipnet:71.174.0.0/16, country:US] X-Rspamd-Queue-Id: 4VNX8x6JC3z4Q7P On Mon, Apr 22, 2024 at 19:19:27 +0200, Dimitry Andric wrote: > On 22 Apr 2024, at 19:17, Josef 'Jeff' Sipek wrote: > > > > On Mon, Apr 22, 2024 at 19:11:46 +0200, Dimitry Andric wrote: > >> On 22 Apr 2024, at 18:28, Josef 'Jeff' Sipek wrote: > >>> > >>> On Fri, Apr 19, 2024 at 22:05:17 -0400, Josef 'Jeff' Sipek wrote: > >>> .. > >>>> ld-elf.so.1: /lib/libcxxrt.so.1: version CXXABI_1.3.11 required by /lib/libc++.so.1 not found > >>> > >>> So, the problem is /lib/libcxxrt.so.1 is *not* getting updated by 'make > >>> installworld' because the newly built library ends up in /usr/lib [1]. Therefore, > >>> the broken system has: > >>> > >>> /lib/libcxxrt.so.1 from 14.0-RELEASE > >>> /usr/lib/libcxxrt.so.1 from -CURRENT > >>> > >>> ld-elf.so finds the one in /lib fails to find the required version > >>> (CXXABI_1.3.11) and terminates. > >> > >> This is very strange, and should not happen. > > > > Agreed :) > > > >> The Makefile for libcxxrt > >> specifies SHLIBDIR?=/lib, so have you somehow overridden SHLIBDIR > >> somewhere in your environment? > > > > Nope! This is a fresh 14.0-RELEASE install (updated to -p6 via > > freebsd-update), then I log in as root, install git, get the source, and > > build. > > How, exactly, are you building? See my earlier email from 19 Apr 2024 22:05:17 -0400 for details. But in short, 'make buildworld' 'make buildkernel' 'make installkernel' 'make installworld'. Jeff.