From owner-freebsd-arm@freebsd.org Sat Jul 15 05:53:27 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC31FDB6F1D for ; Sat, 15 Jul 2017 05:53:27 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (shadow.sentry.org [103.78.157.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "shadow.sentry.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FCA664D9A for ; Sat, 15 Jul 2017 05:53:25 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (localhost [127.0.0.1]) by shadow.sentry.org (8.15.2/8.15.2) with ESMTP id v6F5du55076232 for ; Sat, 15 Jul 2017 15:39:56 +1000 (AEST) (envelope-from freebsd-arm@sentry.org) To: freebsd-arm From: Trev Subject: Raspberry Pi2 11-STABLE kernel build fails Message-ID: Date: Sat, 15 Jul 2017 15:39:56 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (shadow.sentry.org [0.0.0.0]); Sat, 15 Jul 2017 15:39:56 +1000 (AEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 05:53:27 -0000 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. ------------------------------------------------------------------------