From nobody Thu Apr 21 14:57:13 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 51777198A029 for ; Thu, 21 Apr 2022 14:57:25 +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 4Kkgch2NS1z4sxH; Thu, 21 Apr 2022 14:57:24 +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 9A49F3761080; Thu, 21 Apr 2022 16:57:23 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 82187376112B; Thu, 21 Apr 2022 16:57:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 work.stormshield.eu 82187376112B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormshield.eu; s=5EC8D4C2-228B-11EC-A8BC-C05B4988C3CE; t=1650553043; bh=TxC78kyPaiM7GFHF5wMk7luwHM8SAKiFP07Us127euU=; h=From:To:Date:Message-ID:MIME-Version; b=JN6d5Vo3McWCFIoLa9HCNflWkjiyRaA+Y3ztb/PgGZJlTPgG4YoF0W8JNI5keHiht nJ7HaW/a+uyJuFl0+zAFitCw1XmouU7FLkECusCIMB3NA7qzH9otY+YV4aKe9Esg02 Wdcp9ULgftxbYfYUB17nc6qiUcafeomxq32SMlvw= 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 m1vpXwN-LmQL; Thu, 21 Apr 2022 16:57:23 +0200 (CEST) Received: from cthulhu.stephaner.labo.int (unknown [10.2.16.1]) by work.stormshield.eu (Postfix) with ESMTPSA id 6EDCA3761080; Thu, 21 Apr 2022 16:57:23 +0200 (CEST) Received: by cthulhu.stephaner.labo.int (Postfix, from userid 1000) id 6C4771FDBB; Thu, 21 Apr 2022 16:57:13 +0200 (CEST) References: <874k2mzf8t.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 16:57:13 +0200 Message-ID: <8735i6zdpy.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: 4Kkgch2NS1z4sxH X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=stormshield.eu header.s=5EC8D4C2-228B-11EC-A8BC-C05B4988C3CE header.b=JN6d5Vo3; 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 [-1.02 / 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:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.74)[0.738]; NEURAL_SPAM_MEDIUM(0.14)[0.140]; 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:24:18PM +0200, stephane rochoy 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. Ok, got it. >> WITH_SHLIBRANDOM=3D1 > > What is WITH_SHLIBRANDOM? A feature borrowed from HardenedBSD. You would be right to suspect my src.conf need some cleanup ;) Anyway, thanks for the (lighthning fast) answer Mark! Regards, --=20 St=C3=A9phane Rochoy O: Stormshield