Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2017 15:39:56 +1000
From:      Trev <freebsd-arm@sentry.org>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Raspberry Pi2 11-STABLE kernel build fails
Message-ID:  <d301105c-6267-33aa-58fd-8d2406061b6e@sentry.org>

next in thread | raw e-mail | index | archive | help
Build machine: FreeBSD rpi2 11.0-STABLE FreeBSD 11.0-STABLE #0 r318134: 
Wed May 10 23:01:57 UTC 2017 
root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2 arm

svn source version r321000

Having suffered through a successful overnight buildworld and thinking I 
was home and hosed, my buildkernel failed, so definitely hosed but not 
home yet :)

/home/src/sys/kern/kern_exec.c:1353:19: error: implicit declaration of 
function
       'atomic_readandclear_ptr' is invalid in C99
             [-Werror,-Wimplicit-function-declaration]
             argkva = (void *)atomic_readandclear_ptr(
                                              ^
/home/src/sys/kern/kern_exec.c:1353:19: error: this function declaration 
is not
         a prototype [-Werror,-Wstrict-prototypes]
2 errors generated.

The offending code appears to have been added by this commit:

------------------------------------------------------------------------
r320797 | markj | 2017-07-08 11:56:48 +1000 (Sat, 08 Jul 2017) | 3 lines

MFC r311346, r311352, r313756:
Add an allocator for KVA for execve arguments.
------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d301105c-6267-33aa-58fd-8d2406061b6e>