Re: vwarn: libc vs opensolaris/ctf/tools

From: stephane rochoy <>
Date: Thu, 21 Apr 2022 14:57:13 UTC
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 
>> lib/libc/gen/err.c
>> and in cddl/contrib/opensolaris/tools/ctf/common/utils.c. It 
>> 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 
> I can reproduce the failure locally, but as far as I can tell 
> the
> problem has been there for a long time.

Ok, got it.


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!

St├ęphane Rochoy
O: Stormshield