From nobody Mon Oct 02 21:53:42 2023 X-Original-To: stable@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 4RzvqF2lFZz4wXCw for ; Mon, 2 Oct 2023 21:54:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RzvqF2Fw6z3RLj; Mon, 2 Oct 2023 21:54:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696283641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LzNwMaaH1EW7qEyukV/Xn1NmuJ8che0pztzTGs7wIcw=; b=RVQN7KEwp7CQG59q1DMCsXLJI5V6PGiW0joWBflS1E9z6DgKnKykGzWmz81F+DjbiTOlf1 PA5CI/KxJxhXeHeX7QvtaKAMUIYfXtM3GIWWZcyqwX+UXNrcLikefzqxRII4CkJRIlQXd6 fordX5mD0WQCoUFfaQM2+2rNMZOERDKGmG5rO1ZE7zW98+4Hoo8Bfhg/e6oi1NuZxL+mm9 zz67dNi1KeCn9Ck+Y84L2/ozEActRUl9r7UoOsNgM4xMH6rrZZXuCQAgMe5FW3HLqxQwJB I5m3cSjwzTOjtf/5WsQllpBHBV1QepGRH6GHRI024/DHCRUYmEKJSxHgcGnyYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696283641; a=rsa-sha256; cv=none; b=QGj4FpY7FsQT9qzpfSFUyh+TwXZGypo1IrVLzV+Xn+KCN2UT6XZvKX/9hmOd2MyCbZGB4g 8+65KiWGmEG8MD4CxsHCbmSz3MlYgURj9mQQMDyfOfm77wVrV4Jy316YR0eyC2mHWnBIao ssFpes5ZE55t9GC+6yp/lwbeFgbLviOQsJhBXGyls0X9/Kn3BeZ+MGyDnDt5YHthAblLqi 4nj+hilgYQiONCcuQvted1NclW8I9hCKVCXIhewdIaOBcYZ2hd3qtRXR773Jxu7PmJQgZo E5RwKrSgufmMKFIzijP5q58bVFcktPGJ2l8kmOvXVhXrmeMYpSVDJoV7IO6Pog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696283641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LzNwMaaH1EW7qEyukV/Xn1NmuJ8che0pztzTGs7wIcw=; b=Y+ukT5+rbVQ7QyBHY3ehdx98n6LA9MIRVufbObkjJO5qCypl1DPigrIVrwgDfIkzKYY2LB YcLRrBV07/y2HA0HI44hwBlcKAotdr6klpJZ0SO+zZLaFVi5SnFsMfo9ZXqJ5QJNHYMush ZK1JZDVvxpuslEYsExrS2f3mQVuTGnZKykrQBcndsMBEihictn7s/S0jhoMGJ+aFNq4AVA 0tmN20QLkrPOksjm9hJOM977FcDXiLGZH751NpQ9XS2utPXSmDUzO1IC81mu1QPCfCnNPs vekDRCxEt498TD4hb7k/BL5H17MWN+YSkN61Aqd/LTn8iYO+HAcHd6BSOCY+DA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RzvqF0ZRBz90l; Mon, 2 Oct 2023 21:54:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 25CFA59A48; Mon, 2 Oct 2023 23:53:59 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_E549E8D1-FF69-4DFC-AB8B-28E2CE8D52E2"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Base libc++ missing symbol From: Dimitry Andric In-Reply-To: <20231002220029.7fd36b77@beefy02> Date: Mon, 2 Oct 2023 23:53:42 +0200 Cc: "stable@freebsd.org" Message-Id: References: <20231002220029.7fd36b77@beefy02> To: Joel Bodenmann X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_E549E8D1-FF69-4DFC-AB8B-28E2CE8D52E2 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 2 Oct 2023, at 22:00, Joel Bodenmann wrote: > > It seems like I finally managed to hose a FreeBSD system. > The machine in question is my workstation at home. It has been running > stable/13 without any problems. Yesterday I've updated to > ef295f69abbffb3447771a30df6906ca56a5d0c0 and since then I'm getting an > undefined symbol on anything using Qt: > > ld-elf.so.1: /usr/local/lib/qt5/libQt5Widgets.so.5: Undefined symbol > "_ZTVNSt3__13pmr25monotonic_buffer_resourceE" > > Unless I'm missing something, it would seem like my base libc++ > is missing the pmr::monotonic_buffer_resource symbol. It should be in libc++.so.1, you can check this with grep. If it is not there, there might have been some issue installing a newly built copy of libc++.so.1 into your file system? You could check if there is a memory_resource.pico file in your /usr/obj; it should typically be in /usr/obj/usr/src/amd64.amd64/lib/libc++. The libc++.so.1 file in that directory should definitely have the symbol. Another possibility is that Qt is doing something strange when loading their shared libraries. It has been known to perform weird tricks... -Dimitry --Apple-Mail=_E549E8D1-FF69-4DFC-AB8B-28E2CE8D52E2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZRs75wAKCRCwXqMKLiCW o2rrAJwIhdgsqu+CDTELrf8kr9gtwTY5wgCdG8SmrshVgzSCVfhVVs+lU47W47c= =u99U -----END PGP SIGNATURE----- --Apple-Mail=_E549E8D1-FF69-4DFC-AB8B-28E2CE8D52E2--