From nobody Thu Jun 29 10:25:43 2023 X-Original-To: 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 4QsF394JVdz4kNlT for ; Thu, 29 Jun 2023 10:25:57 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QsF382qS1z4ksT; Thu, 29 Jun 2023 10:25:56 +0000 (UTC) (envelope-from wjw@digiware.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=digiware.nl header.s=medusa-2017 header.b="Wj/cqFe6"; dkim=pass header.d=digiware.nl header.s=medusa-2017 header.b=pUVDgzh3; spf=pass (mx1.freebsd.org: domain of wjw@digiware.nl designates 2001:4cb8:90:ffff::3 as permitted sender) smtp.mailfrom=wjw@digiware.nl; dmarc=pass (policy=quarantine) header.from=digiware.nl Received: from router10g.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 790974A8D0; Thu, 29 Jun 2023 12:25:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=digiware.nl; s=medusa-2017; t=1688034344; bh=m5ar+OHeiQdySx3WrMF9pLA8AK+HpqtbKFs6VlZRguA=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Wj/cqFe6SlGOesCHJHgmlyuT2ipH+ChxzzBgnGauR8lsWMBkMYUdpgh1tLlPoVnhx gUyREfguUqgelV8xUxreK3fHLDMAt+CfkxvfoYEo4riS/CLloSsO6cNiTjV7k8hXpN 0fuP4DaA9lykO7YKhMwuXV1Sww9tbebx9FMG+jb74wMiG/Rt4x1nbp8/AvWphixUlR T4BEygcOqb5FEOrfWRXIlsMWFp1fldWuq1LCN48IFUs++xN9IsMgWQAJD8khoc5ohk OR7j8T4ij5/A6MGkcubSydyD2gDQQ7BPBGY4VGAORJkmqiVrt4YFCl/AZwzaB5OWiZ 2+K2yuf9gHFew== X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by router10g.digiware.nl (router10g.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y99ncW-mHNVa; Thu, 29 Jun 2023 12:25:43 +0200 (CEST) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id C79F84AA3B; Thu, 29 Jun 2023 12:25:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=digiware.nl; s=medusa-2017; t=1688034343; bh=m5ar+OHeiQdySx3WrMF9pLA8AK+HpqtbKFs6VlZRguA=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=pUVDgzh3Z7QaIgsrnj5HIfJHEXv1Lov3B+P9stQK9L6XuSpfmSBhN2iaREphe+trR 4IyPnzj1gFVXV8SOIbogrMGw8ei8giYnIFI32mUXRqPFQifYa0UfQ8xiatTd9GWRjG TQXnBmkYT+d3oO+PDfI1olb9MFLcaKUxOht90F/HtozXIz8N1KQ3VyJnu5mrRp75e3 11NqYxOYOLsxzCnmzmydMwzS6tXYTsvoeoly/fNynf33V2NUk5N7CWtZyssDdJPW3P 8jpNDTikDu/oPNQKalJgFvvdnKk3xJ+8SjQdbxhMAV3yyJ6SIFWokXqBsvkah8B3JC 1tSlkzvgCxi/Q== Message-ID: <08035b3a-7356-efc8-616b-cbf46c1904e7@digiware.nl> Date: Thu, 29 Jun 2023 12:25:43 +0200 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.12.0 Subject: Re: __cxa_thread_call_dtors: dtr 0x........ from unloaded dso, skipping Content-Language: nl To: Dimitry Andric , "Bjoern A. Zeeb" Cc: current@freebsd.org References: <46pq4r4n-p46r-47nn-r1ss-7r2984891pn7@yvfgf.mnoonqbm.arg> <16A8852E-DEA9-408E-80BC-94322FB2415E@FreeBSD.org> <0A55614E-3577-4933-9CCD-4D723DFA86E8@FreeBSD.org> From: Willem Jan Withagen In-Reply-To: <0A55614E-3577-4933-9CCD-4D723DFA86E8@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.87 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.87)[-0.871]; DMARC_POLICY_ALLOW(-0.50)[digiware.nl,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[digiware.nl:s=medusa-2017]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[digiware.nl:+]; RCVD_COUNT_THREE(0.00)[4]; ASN(0.00)[asn:28878, ipnet:2001:4cb8::/29, country:NL]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QsF382qS1z4ksT X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 26-6-2023 17:38, Dimitry Andric wrote: > On 26 Jun 2023, at 17:29, Bjoern A. Zeeb wrote: >> On Mon, 26 Jun 2023, Dimitry Andric wrote: >> >>> On 26 Jun 2023, at 17:00, Bjoern A. Zeeb wrote: >>>> while building world and current I see a lot of: >>>> >>>> __cxa_thread_call_dtors: dtr 0x...... from unloaded dso, skipping >>>> >>>> Can anyone shed light on that? >>> You need (thanks to Kostik): >>> https://cgit.freebsd.org/src/commit/?id=42ceab3ea1a997db93b65404be0ee4b17b5382d7 >>> >>> Build libc and install it, then the messages should disappear. >> Great! Basically update world and it'll go. >> Do we add an UPDATING note for this or do we consider it developer noise? > I think the message has been there for a long time, but was not often > noticed. It happened when the buildworld bootstrap decides to build a > static bootstrap lld ("SYSTEM_LINKER: libclang will be built for > bootstrapping a cross-linker"), so usually when lld's version is bumped. > And that is because lld is one of the few threaded build tools in the > tree. > > The messages themselves are harmless and can be ignored. Feel free to > add an UPDATING note to that effect, otherwise worried users might think > something is off. :) Actually I had that in my Ceph-ports as well, and chose to ignore it.... Looked into the difference between FreeBSD and Linux. Linux prevents that message by counting the number of loads, and only unloads when the counter hits zero. FreeBSD just seems to unload, and report illegal access. --WjW