From owner-freebsd-arm@freebsd.org Tue Jan 12 06:18:09 2016 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 48A3BA6CEED for ; Tue, 12 Jan 2016 06:18:09 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from secure.socket.ch (secure.socket.ch [91.199.228.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09D311BBB for ; Tue, 12 Jan 2016 06:18:08 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from 46-253-187-21.dynamic.monzoon.net ([46.253.187.21] helo=fluff-wlan.fsck.ch) by secure.socket.ch with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1aIroM-000IFA-Ip for freebsd-arm@freebsd.org; Tue, 12 Jan 2016 06:48:12 +0100 Message-ID: <56949397.6010906@fsck.ch> Date: Tue, 12 Jan 2016 06:48:07 +0100 From: Toby User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: Cannot build RBPI2 kernel on pi References: <567718A1.7040900@fsck.ch> In-Reply-To: <567718A1.7040900@fsck.ch> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Spam-Report: Spam detection software, running on the system "secure.socket.ch", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 20/12/15 22:07, Toby wrote: > make buildkernel KENRCONF=RPI2 fails with the following error: > > > ERROR: ctfmerge: No ctf sections found to merge > :> export_syms > awk -f /usr/src/sys/conf/kmod_syms.awk if_de.kld export_syms | xargs > -J% objcopy % if_de.kld > ld -Bshareable -d -warn-common -o if_de.ko if_de.kld > objcopy --strip-debug if_de.ko > ===> dtb/rpi (all) > Generating rpi.dtb from rpi.dts > converting rpi.dts -> > /usr/obj/usr/src/sys/RPI2/modules/usr/src/sys/modules/dtb/rpi/rpi.dtb > Unable to open file ./bcm2835.dtsi > Segmentation fault (core dumped) > *** Error code 139 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-SA-Exim-Connect-IP: 46.253.187.21 X-SA-Exim-Mail-From: misc.lists@fsck.ch X-SA-Exim-Scanned: No (on secure.socket.ch); SAEximRunCond expanded to false X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 06:18:09 -0000 On 20/12/15 22:07, Toby wrote: > make buildkernel KENRCONF=RPI2 fails with the following error: > > > ERROR: ctfmerge: No ctf sections found to merge > :> export_syms > awk -f /usr/src/sys/conf/kmod_syms.awk if_de.kld export_syms | xargs > -J% objcopy % if_de.kld > ld -Bshareable -d -warn-common -o if_de.ko if_de.kld > objcopy --strip-debug if_de.ko > ===> dtb/rpi (all) > Generating rpi.dtb from rpi.dts > converting rpi.dts -> > /usr/obj/usr/src/sys/RPI2/modules/usr/src/sys/modules/dtb/rpi/rpi.dtb > Unable to open file ./bcm2835.dtsi > Segmentation fault (core dumped) > *** Error code 139 So, am I the only one with this problem? I just tried again with a new checkout and still the same error when building the kernel on my pi. Is this supposed to work, or am I forced to cross-compile? I remember having read on the list that some people compile the kernel with success directly on their pi. Thanks, Toby