svn commit: r309144 - in head: lib/libipsec sys/net sys/netipsec [-r309174 does not fix everything]

Conrad Meyer cem at freebsd.org
Mon Nov 28 03:50:36 UTC 2016


Hi Mark,

I believe this was addressed by Scott Long in r309201.  r309174 (an
incomplete fix for the same problem) can probably be reverted.

Best,
Conrad

On Sun, Nov 27, 2016 at 6:34 PM, Mark Millard <markmi at dsl-only.net> wrote:
> key_debug.c is not the only place with problems : The below is
> based on my experience with head -r309179. First what someone
> else reported:
>
>> On Fri, Nov 25, 2016 at 05:34:51PM +0100, O. Hartmann wrote:
>> > Recent sources do not build kernel due to:
>> >
>> > [...]
>> > Building /usr/obj/usr/src/sys/SB21X1/ipsec_mbuf.o
>> > In file included from /usr/src/sys/netipsec/ipsec_mbuf.c:43:
>> > In file included from /usr/src/sys/netipsec/ipsec.h:46:
>> > In file included from /usr/src/sys/netipsec/keydb.h:38:
>> > /usr/src/sys/sys/mutex.h:367:2: error: LOCK_DEBUG not defined, include <sys/lock.h>
>> > before <sys/mutex.h> #error LOCK_DEBUG not defined, include <sys/lock.h> before
>> > <sys/mutex.h> ^
>> > /usr/src/sys/sys/mutex.h:369:5: error: 'LOCK_DEBUG' is not defined, evaluates to 0
>> > [-Werror,-Wundef] #if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE)
>> > ^
>> > 2 errors generated.
>> > *** Error code 1
> (From: https://lists.freebsd.org/pipermail/freebsd-current/2016-November/063920.html )
>
> I ran into the same thing in the same place.
>
> Like O. Hartmann I followed the compiler's advice to work around
> the problem. That allowed my buildworld buildkernel to complete.
>
>
> ===
> Mark Millard
> markmi at dsl-only.net
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


More information about the freebsd-current mailing list