From owner-freebsd-arm@freebsd.org Sun Oct 18 20:27:51 2015 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 F20F8A1896E for ; Sun, 18 Oct 2015 20:27:51 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FBE7375; Sun, 18 Oct 2015 20:27:51 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: by wicfv8 with SMTP id fv8so51949011wic.0; Sun, 18 Oct 2015 13:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=F0gTXOmiT0XoxsuHYxybnbh04u/TK3dYfNUUn73wG+s=; b=nl9m4r+bEou9gQb9qJY1aELI2v4p4WWksWP+OAKBmDmAwpLAwW4LpJugudVrn3NDSY KGSJRDt5xIaVNsCigpKdqgreDgFV8bJwsIXni44aKj7iqIEtagpyFoEEVeDbMfeZOogn gb0TH/cmPDFPgSZKSLUuJA95CL6GrgFonB+8g993pw0UII5D0quKd9kiSrjcWR8LkRnf frotSmcSLXn9AirWVSXsPRsh3jGWXHeuXD4AXeEqO1QnUS9VPHq0scfkA4wprB4eL3r7 hu5aANv1cl269q7SGQ7aQGaw0e86tePGd1HOH+GFklaSIRMFPUZ8jRzc1RmzeZS18UNi jMrg== MIME-Version: 1.0 X-Received: by 10.180.206.8 with SMTP id lk8mr15693150wic.44.1445200068481; Sun, 18 Oct 2015 13:27:48 -0700 (PDT) Received: by 10.194.127.199 with HTTP; Sun, 18 Oct 2015 13:27:48 -0700 (PDT) In-Reply-To: <1445187147.71631.59.camel@freebsd.org> References: <20151018162950.GA52948@chilled.skew.org> <1445187147.71631.59.camel@freebsd.org> Date: Sun, 18 Oct 2015 23:27:48 +0300 Message-ID: Subject: Re: BeagleBone self-built 10-STABLE hangs, segfaults From: Andrey Fesenko To: Ian Lepore Cc: Mike Brown , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Sun, 18 Oct 2015 20:27:52 -0000 On Sun, Oct 18, 2015 at 7:52 PM, Ian Lepore wrote: > On Sun, 2015-10-18 at 10:29 -0600, Mike Brown wrote: >> I installed a 10.2-STABLE snapshot on my BeagleBone Black, then >> grabbed the >> latest source and upgraded the old fashioned way, to make sure it >> would work. >> (make buildworld, buildkernel etc., after creating a 2 GB swap file). >> >> The only thing odd I noticed during the builds was during the make >> buildkernel >> KERNCONF=BEAGLEBONE stage, I got many warnings from ld saying >> "Unknown EABI >> object attribute 68". Is this expected and of any concern? >> >> The reason I ask is because I'm getting some hangs and crashes now >> when trying >> to run or rebuild ports. > > I've seen those unknown attribute warnings before, I don't think > they're anything to worry about. I haven't tried running a self-hosted > build on any armv6 for a long time, it's possible there's something > ugly like a code-generation bug that happens when running native but > not on a cross build. Things like that are pretty rare, though. > Confirm both Rpi and bb "Segmentation fault", i'm build with crochet and CURRENT-r289459 (builded 289522) last lines sh -x crochet + _DTBINTERMEDIATEDIR=/usr/obj/fdt/fdt.kUEP6Z + _DTSIN=/usr/src/sys/boot/fdt/dts/arm/beaglebone.dts + _DTBINTERMEDIATE=/usr/obj/fdt/fdt.kUEP6Z + echo /usr/src/sys/tools/fdt/make_dtb.sh /usr/src/sys /usr/src/sys/boot/fdt/dts/arm/beaglebone.dts /usr/obj/fdt/fdt.kUEP6Z + cd /usr/src + make 'TARGET_ARCH=armv6' buildenv + _DTSOUT=bbone.dts + dtc -I dtb -O dts /usr/obj/fdt/fdt.kUEP6Z/beaglebone.dtb Segmentation fault root@des:/usr/src # pkg info | grep eabi arm-none-eabi-binutils-2.25.1 GNU binutils for bare metal arm cross-development arm-none-eabi-gcc492-4.9.2_1 GNU Compiler Collection for bare metal arm cross-development