From owner-freebsd-arm@freebsd.org Wed Aug 8 21:12:56 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D4A7106B33C for ; Wed, 8 Aug 2018 21:12:56 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C1859468C for ; Wed, 8 Aug 2018 21:12:55 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1533762772; bh=uFXxV7mjenLkZ9vDRVcRHFVQh/vVHrYOj0VKiwAewPg=; h=Subject:To:References:From:Date:In-Reply-To; b=JH7xKqEExqM3JdT+Cbbh/I1JQBL4fc7I1UTpAZd/lW6yX1efh7ANu+8hami5pI9ym dBhwWF2mZLtU7fy7aCzeKj7o/VpFj/302zj6BKOk8r20AAKIfKowglvlL/lK3/4s9H S/tXTJhDYz5alngPcmbYPIqBIlgDLETYlxrDM+A4= Subject: Re: cross compile for rpi3 help needed To: freebsd-arm@freebsd.org References: <9d91c7f3-c41f-7ce0-4c79-0bc31aaa4331@nethead.se> From: Per olof Ljungmark Message-ID: <75a71863-800a-6449-1bea-ea2dd0aa678a@nethead.se> Date: Wed, 8 Aug 2018 23:12:50 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <9d91c7f3-c41f-7ce0-4c79-0bc31aaa4331@nethead.se> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 21:12:56 -0000 On 8/8/18 5:47 PM, Per olof Ljungmark wrote: > In the process of learning arm I have set up a testing platform with > 12-CURRENT r336739 and reading release(7). > > The only change made to src is > SRCBRANCH="base/head@r337160" > in RPI3.conf > > /etc/make.conf and src.conf are empty > > command is > > sh release.sh -c arm64/RPI3.conf > > The build goes on for a while and stops with > ... > --- installconfig_subdir_usr.bin/ofed/libibverbs/ud_pingpong --- > ===> usr.bin/ofed/libibverbs/ud_pingpong (installconfig) > --- installconfig_subdir_share --- > --- installconfig_subdir_share/vt --- > ===> share/vt (installconfig) > --- installconfig_subdir_share/zoneinfo --- > ===> share/zoneinfo (installconfig) > --- installconfig_subdir_share/vt --- > --- installconfig_subdir_share/vt/fonts --- > ===> share/vt/fonts (installconfig) > --- installconfig_subdir_share/vt/keymaps --- > ===> share/vt/keymaps (installconfig) > chroot: /etc/rc.d/ldconfig: Exec format error > > What am I missing here? Replying to myself: Apparently I started release.sh from the wrong place - next try went well.