From nobody Thu Apr 21 15:56:30 2022 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 16DA211CC946 for ; Thu, 21 Apr 2022 15:56:33 +0000 (UTC) (envelope-from stephane.rochoy@stormshield.eu) Received: from work.stormshield.eu (gwlille.netasq.com [91.212.116.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4Kkhww1V1wz3QhL; Thu, 21 Apr 2022 15:56:31 +0000 (UTC) (envelope-from stephane.rochoy@stormshield.eu) Received: from work.stormshield.eu (localhost.localdomain [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTPS id 21E6D3760EE4; Thu, 21 Apr 2022 17:56:31 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 0B8C03761768; Thu, 21 Apr 2022 17:56:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 work.stormshield.eu 0B8C03761768 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormshield.eu; s=5EC8D4C2-228B-11EC-A8BC-C05B4988C3CE; t=1650556591; bh=U8nLUcT2oIftPeuToNfEGxcXaPMs60S/xQHKEXPxCAw=; h=From:To:Date:Message-ID:MIME-Version; b=JlYWfYUn1CmnfiA7CqC84pJ30anv51ttBWJI5h0Eu2vTHuwaCts8QolqU0qEj+bIu Au8X39JxJ8ffI0IA23Xu7Vewf2mCE7/+XAopi+lpQdGCLv6gisEP/fRvT7gJjCn1xl 26cXcrfaXuwfggAkhLkLuK0mIRxTdtBLAVFogxgE= Received: from work.stormshield.eu ([127.0.0.1]) by localhost (work.stormshield.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CtzJK2A1VAki; Thu, 21 Apr 2022 17:56:30 +0200 (CEST) Received: from cthulhu.stephaner.labo.int (unknown [10.2.16.1]) by work.stormshield.eu (Postfix) with ESMTPSA id ED53F3760EE4; Thu, 21 Apr 2022 17:56:30 +0200 (CEST) Received: by cthulhu.stephaner.labo.int (Postfix, from userid 1000) id EEAA01FDBB; Thu, 21 Apr 2022 17:56:30 +0200 (CEST) References: <874k2mzf8t.fsf@stormshield.eu> <8735i6zdpy.fsf@stormshield.eu> User-agent: mu4e 1.2.0; emacs 27.1 From: stephane rochoy To: Mark Johnston Cc: stephane rochoy , FreeBSD Hackers Subject: Re: vwarn: libc vs opensolaris/ctf/tools In-reply-to: Date: Thu, 21 Apr 2022 17:56:30 +0200 Message-ID: <871qxqzaz5.fsf@stormshield.eu> 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=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Kkhww1V1wz3QhL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=stormshield.eu header.s=5EC8D4C2-228B-11EC-A8BC-C05B4988C3CE header.b=JlYWfYUn; dmarc=pass (policy=quarantine) header.from=stormshield.eu; spf=pass (mx1.freebsd.org: domain of stephane.rochoy@stormshield.eu designates 91.212.116.1 as permitted sender) smtp.mailfrom=stephane.rochoy@stormshield.eu X-Spamd-Result: default: False [-0.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[stormshield.eu:s=5EC8D4C2-228B-11EC-A8BC-C05B4988C3CE]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:91.212.116.1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.70)[0.698]; NEURAL_SPAM_MEDIUM(0.40)[0.396]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[stormshield.eu:+]; DMARC_POLICY_ALLOW(-0.50)[stormshield.eu,quarantine]; MLMMJ_DEST(0.00)[freebsd-hackers]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:49068, ipnet:91.212.116.0/24, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Mark Johnston writes: > On Thu, Apr 21, 2022 at 04:57:13PM +0200, stephane rochoy wrote: >>=20 >> Mark Johnston writes: >>=20 >> > On Thu, Apr 21, 2022 at 04:24:18PM +0200, stephane rochoy=20 >> > wrote: >> >> The vwarn function seems to be defined both in=20 >> >> lib/libc/gen/err.c >> >> and in cddl/contrib/opensolaris/tools/ctf/common/utils.c. It=20 >> >> seems >> >> to be ok to workaround the problem by enclosing OpenSolaris' >> >> implementation in #if 0. >> > >> > I think that'd be fine. We can remove it outright. >> > >> > Your build is statically linking ctfdump, due to the use of=20 >> > NO_SHARED. >> > I can reproduce the failure locally, but as far as I can tell=20 >> > the >> > problem has been there for a long time. >>=20 >> Ok, got it. > > Fixed in main now: > https://cgit.FreeBSD.org/src/commit/?id=3D45dd2eaac379e5576f7453802604702= 04c49beac I confirm it's ok for me too. Thanks again :) Regards, --=20 St=C3=A9phane Rochoy O: Stormshield