Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2022 11:27:20 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        stephane rochoy <stephane.rochoy@stormshield.eu>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: vwarn: libc vs opensolaris/ctf/tools
Message-ID:  <YmF32Car971jjK67@nuc>
In-Reply-To: <8735i6zdpy.fsf@stormshield.eu>
References:  <874k2mzf8t.fsf@stormshield.eu> <YmFtwT%2B7yMYBJ%2BDx@nuc> <8735i6zdpy.fsf@stormshield.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 21, 2022 at 04:57:13PM +0200, stephane rochoy wrote:
> 
> Mark Johnston <markj@freebsd.org> 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 
> > NO_SHARED.
> > 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.

Fixed in main now:
https://cgit.FreeBSD.org/src/commit/?id=45dd2eaac379e5576f745380260470204c49beac



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YmF32Car971jjK67>