From owner-freebsd-arm@FreeBSD.ORG Wed Aug 15 18:30:10 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4BF5106564A for ; Wed, 15 Aug 2012 18:30:10 +0000 (UTC) (envelope-from mattia.rossi.mate@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 420EF8FC14 for ; Wed, 15 Aug 2012 18:30:08 +0000 (UTC) Received: by bkcje9 with SMTP id je9so734450bkc.13 for ; Wed, 15 Aug 2012 11:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=wnydzDeD7GxV9zS2XzCx3G6ivWHXWmbrSskzsmcO850=; b=YrE5fPcaUhD8gkrrL9I2HtCQey27K+bAPO3NDhQr3yBonDZxZ9JIUxpCW+9m/VmY9v iJtqKBK29MerooRytahY58/pDfZDU6edPBZ2uODA8Jwre9vF/23ZmooYnX4DbAonFs6Q Un9P7FCvf/8gA7yMnnREY4IeW0bSi5cdfgDqusFftZvVhpex+gPoSGAkidRGLtMyGpRd rwkDxqZjKTDUWeYt8uZlIA9VxwRlCmaF8jn+shpeyCvQcSXjhYM86o0I92d7LgUammZ/ NvwRo8CJ+2EqSL+KVo7cDKDVPpo+lSye3hQOcGkCRs815aRIG80MzsTlL+uJ5vHAbQHV EDog== Received: by 10.204.154.141 with SMTP id o13mr8072822bkw.72.1345055407409; Wed, 15 Aug 2012 11:30:07 -0700 (PDT) Received: from [192.168.1.252] (host68-104-dynamic.50-79-r.retail.telecomitalia.it. [79.50.104.68]) by mx.google.com with ESMTPS id g6sm1179505bkg.2.2012.08.15.11.30.05 (version=SSLv3 cipher=OTHER); Wed, 15 Aug 2012 11:30:06 -0700 (PDT) Message-ID: <502BEAA9.9080802@gmail.com> Date: Wed, 15 Aug 2012 20:30:01 +0200 From: Mattia Rossi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org References: <5008728C.5040100@jetcafe.org> <1343846511.1128.34.camel@revolution.hippie.lan> <501B0E04.5040901@jetcafe.org> <1343951251.1128.53.camel@revolution.hippie.lan> <502AEC99.70708@jetcafe.org> <48664E9B-0BBB-4C78-B720-9920083E661A@bsdimp.com> <1345039837.27688.14.camel@revolution.hippie.lan> In-Reply-To: <1345039837.27688.14.camel@revolution.hippie.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Building ARM ports (was Re: Globalscale Dreamplug and 8.3 RELEASE) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mattia.rossi.mate@gmail.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 18:30:10 -0000 > The biggest problem we have is build versus run dependencies. When > crossbuilding port foo to run on arm, that port decides it needs the > compile_a_foo port to build the code, so it goes off and cross-builds > compile_a_foo, then wants to run the resulting arm binaries on the x86 > host. The only way I know of to fix that is to tediously identify and > pre-build all the build-time requirements needed by any port you > intend to cross-build. Ports that have their own build systems and > custom tools are essentially impossible to work with. Those are exactly the issues I've run into when attempting to cross build. See my story here: http://matrossi.blogspot.it/2011/08/cross-compiling-ports-for-arm-under.html My Qemu experience: http://matrossi.blogspot.it/2011/09/freebsd-arm-on-qemu-in-virtualbox.html but it didn't prove useful for building ports as there wasn't enough virtual memory to build them, because it fully emulates the 32M of RAM of a gumstix board as well.. Just in case you're interested. Mat