Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2023 23:53:42 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Joel Bodenmann <jbo@FreeBSD.org>
Cc:        "stable@freebsd.org" <stable@FreeBSD.org>
Subject:   Re: Base libc++ missing symbol
Message-ID:  <C8A2EEC5-572C-40B7-AAE1-55071F2F8164@FreeBSD.org>
In-Reply-To: <20231002220029.7fd36b77@beefy02>
References:  <20231002220029.7fd36b77@beefy02>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <jbo@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C8A2EEC5-572C-40B7-AAE1-55071F2F8164>