From nobody Mon Oct 2 22:56:01 2023 X-Original-To: freebsd-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 4RzxC90GTHz4wbMl for ; Mon, 2 Oct 2023 22:56:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RzxC81lJsz3Yw5 for ; Mon, 2 Oct 2023 22:56:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=D+7nKSrX; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696287377; bh=1QamOgQU3Yr3ds++x2ujAFkZCJjwZa7TJ11GS1fAMg8=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=D+7nKSrXPduYP4Kh/u+mE2q4/1H6CBtuSMQEvDu3/5/G/GaXXfY9HI2CURwf8WeYVsqqJ0pJxNaA/+ygiOh0iR2nNHcWXGSOAadU11JOymUFcetGKjg/JjqnNhOOugvve23IrxyalGJllblKvmdYwuDAjK1CEO22nvgLxBmNQg5ZwXiMBdaF8LeR5j7Lq3wSPfvESuS+P3uz9EqDupYdQommcfEMap3Au/HzR3K58g5gnzgV3rd0pGuGjfsejCLSdqKWC1yhfrC5IAKimoMelUmWJ2tRLmv4KO8AUYT53L1g6BK79tZ3pTQ36ZW0GiwROj3wqLPuOe6/8w0JJmOXCQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696287377; bh=28W7nUupTlGy2u7V31MJbPD550qXGA8X6TpE9BcIO75=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=QkujzYXYZ2W9UV6HAXrUt8uPO5WMeOC53VwJQ3XVOCvgIQehje7EX8N3oRYCVWU3SiTBH3jl1fCLXlMyUgoZdQK18q9F4yKIGLYmyaTKtajTtL0LIuygooLIgLBlZHocb2EqsMqTx2EWS5/jeRwRVTQ7W6DqrMH750Q8448SwYAgUGkRcMnjqAbH9w+5nC1DeddyMyCoTKfSAG3Pv3dsM04TQHz/pV1XOwWkusTa232n5vmSpY/8yN4iNQDueffKPfVKNYvYTJM5Oj2caqoYFySC7p3LinPICC3JyNwjXwow8NsFzVYkCB3yA5YTG+kZ6TUNgedkDGZX+DnW0zlgvQ== X-YMail-OSG: nhqhGEAVM1kIRXiL5wrUXoTvocpDQZgEhz.FzLkprdev4HXSUeinmQTqKl0XHSY K5EZcsEqNsKA8H3Y2Nodlx63D4DB5eFUeko7GLeGz452CNHGg5NAR93He3pIwN2gmDaZrwEyIPh6 Op.TT7Xkk6E8iD32V3AtZN9BOGtVi299HDWaIzgyAUYslzH0spFoV.r_vUGb4X.CNpw_zTanwwJP IH2VttSMhIIdQxvfJsd_ciL.MfWY2ahI9LYXl0.RhyQ.nVQGJPbgSQSmy0g85X.YXdEy5UBMLXiX lTeaHSaqsu2micafPRFljgHL4ZByKie21y0qUQyZ.l1h5cbbRVAOKofI4F285vfoq9.CFK.vwSnS 6m_qjaaBZa6k58EyU18QDYJwBHppVQKojHvOrjkSchcjWNFSPVxkVQNU5STQjRPvkShAq60raYdR xfl7JmIQEkeVR2pdXoMMRA6aFkuNuS4U9Mu5kPieV8zene9TysGsoiQPJ9OoOXKC5aH9nGbJ5BTB Z6cB6KorSb6.zrwTgcqbjqt7DF.zCzYBQ3W21A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MQ2kPHs9BfNjqm5 ZH4rFN4jpVh_eHNeuI1SS_9aDqRhIsdVZAhKIuSFpkwcAHVTHVLYGwIvNi1495vub_khE7loKBV7 R_kOL_N65_Yvqj.TasVvPvRUfZ1qGNEgn4VqeWOdpDjUxkqhVO4aAJ7VZc0z.ye8Hd6oI90zqR8Y GAOpjN_7DlQTdLi.xnpZPsKSxNliT7vhcJ5lYlbwMpG5yDcgKBloA7c27BZijagXcp8_zQ95KeSD weDnRDrOZRZlmv6CzuQ1x8V4766b53uh4F4F3Ld4g4epwKl.Y86MbFFrwav8k4RdvStg51W2RRvn uMOEhvrHvl0yze.K9v_CWXBev.rw7yN8369HcfxzLyShtpT_1mkqfyy1CDG3bZshTlzeD7eYHmc_ kmXgLGLzNfnl.8uH8X6Yz_OXjd3ryLtDR3oAauvOJWBSjAT2u3Dw7KLXCbhLstjL4wP2Zpb9SFK6 kwG6AaTzpa_jgaI3qQbtbGX3GpLHJ1aImtJ6pyb00fSG5xfg3eoqziSlqIBrNJKaT5_Ik3QuN5mt SbcORpd_hD7hvnLO0GRs8smSyACyBBU3VGwhWFS44jC8YfoTuxCGMe4jcSDaWivmUR0DUKspexdX QaObHz.NvTimeRIpYM9UIckmGcjHD1791cw.2Kqx_z8EVwIptM5FUArVK5AjEjwLBHxKIeCGSojo - X-Sonic-MF: X-Sonic-ID: 6c121325-9b07-4fc1-8eab-93acbdc82f6a Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Mon, 2 Oct 2023 22:56:17 +0000 Received: by hermes--production-gq1-56dd58fbdb-48zbd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 676d7808353619eff8f9c11cc648d008; Mon, 02 Oct 2023 22:56:12 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 \(3774.100.2.1.4\)) Subject: RE: Base libc++ missing symbol Message-Id: <97AB873D-57E4-48D3-985D-AAD64FB42E65@yahoo.com> Date: Mon, 2 Oct 2023 15:56:01 -0700 To: "jbo@freebsd.org" , FreeBSD-STABLE Mailing List X-Mailer: Apple Mail (2.3774.100.2.1.4) References: <97AB873D-57E4-48D3-985D-AAD64FB42E65.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RzxC81lJsz3Yw5 Joel Bodenmann wrote on Date: Mon, 02 Oct 2023 20:00:29 UTC : > 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: >=20 > ld-elf.so.1: /usr/local/lib/qt5/libQt5Widgets.so.5: Undefined symbol > "_ZTVNSt3__13pmr25monotonic_buffer_resourceE" >=20 > Unless I'm missing something, it would seem like my base libc++ > is missing the pmr::monotonic_buffer_resource symbol. I do not have a 13.2 context, so you may want to run the analogous steps in your context for confirming/denying the below applies. # llvm-cxxfilt _ZTVNSt3__13pmr25monotonic_buffer_resourceE vtable for std::__1::pmr::monotonic_buffer_resource Using the example "Run this code" source from: https://en.cppreference.com/w/cpp/memory/monotonic_buffer_resource # c++ -std=3Dc++17 -pedantic -O2 monotonic_buffer_resource.cpp # objdump -x a.out | grep _ZTVNSt3__13pmr25monotonic_buffer_resourceE 0000000000204160 g O .bss.rel.ro 0000000000000038 = _ZTVNSt3__13pmr25monotonic_buffer_resourceE # nm a.out | grep _ZTVNSt3__13pmr25monotonic_buffer_resourceE 0000000000204160 B _ZTVNSt3__13pmr25monotonic_buffer_resourceE # ./a.out t1 (default std alloc): 0.491 sec; t1/t1: 1.000 t2 (default pmr alloc): 0.541 sec; t1/t2: 0.906 t3 (pmr alloc no buf): 0.188 sec; t1/t3: 2.616 t4 (pmr alloc and buf): 0.155 sec; t1/t4: 3.172 Note that the vtable is in the a.out instead of being from a library. It is global but is in the a.out .bss.rel.ro = in the example and is defined. > At first I thought I might have messed up on installworld but rolling > back to the previous boot environment and then performing the same > procedure again lead to the same outcome. If the above works similarly in your context, then I expect that the issue is on the qt5 or port side of things, not the system libraries/headers. As I understand, clang++ 16 is the first vintage with this directly supported, instead of being just in the experimental category/area for libc++. May be tracking that transition is at issue. For reference: # c++ -v FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git = llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin # uname -apKU FreeBSD amd64-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #124 = main-n265447-e5236d25f2c0-dirty: Thu Sep 21 09:06:08 PDT 2023 = root@amd64-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.a= md64/sys/GENERIC-NODBG amd64 amd64 1500001 1500001 > Any ideas or wild guesses? Anything obvious I'm missing here? >=20 > uname -a > FreeBSD beefy02 13.2-STABLE FreeBSD 13.2-STABLE > stable/13-n256443-ef295f69abbf GENERIC amd64 >=20 > freebsd-version -kru > 13.2-STABLE > 13.2-STABLE > 13.2-STABLE >=20 > clang --version > FreeBSD clang version 16.0.6 > (https://github.com/llvm/llvm-project.git > llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd13.2 > Thread model: posix > InstalledDir: /usr/bin =3D=3D=3D Mark Millard marklmi at yahoo.com