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

next in thread | previous in thread | raw e-mail | index | archive | help

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=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



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