Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Oct 2022 11:18:45 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        "Alexander V. Chernikov" <melifaro@ipfw.ru>
Cc:        Freebsd current <freebsd-current@freebsd.org>
Subject:   Re: Build Break?
Message-ID:  <c45ee995837ef99cb7c4e7ca2397b399@lerctr.org>
In-Reply-To: <7F2A1941-C042-47FF-969C-3D993D56D088@ipfw.ru>
References:  <f649e982004a88f10aeccdcf3a82b199@lerctr.org> <7F2A1941-C042-47FF-969C-3D993D56D088@ipfw.ru>

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

[-- Attachment #1 --]
On 10/02/2022 8:12 am, Alexander V. Chernikov wrote:
>> On 1 Oct 2022, at 22:57, Larry Rosenman <ler@lerctr.org> wrote:
>> 
>> --- all_subdir_nfscommon ---
>> Building 
>> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/nfscommon/nfs_commonkrpc.o
>> --- all_subdir_netgraph ---
>> --- all_subdir_netgraph/deflate ---
>> Building 
>> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/deflate/offset.inc
>> --- all_subdir_netgraph/device ---
>> Building 
>> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/device/i386
>> --- all_subdir_netgraph/echo ---
>> ===> netgraph/echo (all)
>> --- all_subdir_netlink ---
>> --- netlink_io.o ---
>> /usr/src/sys/netlink/netlink_io.c:146:2: error: implicit declaration 
>> of function 'mtx_lock' is invalid in C99 
>> [-Werror,-Wimplicit-function-declaration]
>>        NLP_LOCK(nlp);
> That’s interesting. netlink_io.c includes sys/mutex.h which defines 
> mutex_lock() / mutex_unlock().
>  Could you share the diff between GENERIC and LER-MINIMAL?
> 
I sent the diff in another message, but here is LER-MINIMAL.

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

[-- Attachment #2 --]
# LER-MINIMAL  -- kernel config based on MINIMAL

include		MINIMAL
ident		LER-MINIMAL

nooptions 	WITNESS			# Enable checks to detect deadlocks and cycles
nooptions 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
options		KDB_UNATTENDED
#options		DEBUG_MEMGUARD
#options		DEBUG_REDZONE
makeoptions 	WITH_EXTRA_TCP_STACKS=1
options 	TCPHPTS
device		mfi
options		TCP_RFC7413
# Kernel dump features.
options         EKCD                    # Support for encrypted kernel dumps
options         GZIO                    # gzip-compressed kernel and user dumps
options         ZSTDIO                  # zstd-compressed kernel and user dumps
options         NETDUMP                 # netdump(4) client support
# ipsec support
options		IPSEC_SUPPORT
device		crypto

#netgraph debug
options		NETGRAPH_DEBUG

#tcp ratelimit
options		RATELIMIT

## INVARIANTS
options		INVARIANT_SUPPORT
#options		INVARIANTS
help

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