From owner-freebsd-mips@freebsd.org Fri Jul 10 16:37:45 2015 Return-Path: Delivered-To: freebsd-mips@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 EAAD1997BB0 for ; Fri, 10 Jul 2015 16:37:45 +0000 (UTC) (envelope-from sbruno@ignoranthack.me) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C21A718FC for ; Fri, 10 Jul 2015 16:37:45 +0000 (UTC) (envelope-from sbruno@ignoranthack.me) Received: from [192.168.200.204] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 04BE5193DA3; Fri, 10 Jul 2015 16:37:42 +0000 (UTC) Message-ID: <559FF4D5.6040605@ignoranthack.me> Date: Fri, 10 Jul 2015 09:37:41 -0700 From: Sean Bruno Reply-To: sbruno@freebsd.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Michael Vale , "freebsd-mips@freebsd.org" Subject: Re: Cross Ports - working - find attached bsd.port.mk References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 16:37:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 07/10/15 08:31, Michael Vale wrote: > Okay, So, I'm submitting my work on cross ports. Here's what works > and what doesn't work Clang support is there but GNU configure > tries to append -march=mips32r2 to the command which causes the > compiler check to fail. GCC support is there, except when a GNU > configure script tries to link -lgcc_s - apparently Adrian and bapt > were meant to have fixed this in -head, but I updated and still had > the problem. So an example of the ports I've tried and worked are: > sysutils/busyboxsecurity/dropbear Now when running bmake > X_BUILD_FOR=mips on dropbear, it fails "installing" files into the > stage. But if you run bmake again without X_BUILD_FOR=mips it > "installs" those files into stage and one can continue along with > bmake install. It is assumed that one has built a world with > freebsd-wifi-build. An example of running a bmake is > SRCDIR=/home/masked/work/src bmake X_BUILD_FOR=mips > > I'm glad that you've made some progress with cross building without emulation. I'd like to see what you've been able to accomplish with your changes. Is there anyway you can post some kind of unified diff that we can view so that we can more easily (I'm lazy) see what you've been up to? sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJVn/TTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kUKMIAL/ob4UX18T811yyO0KA82YE HJVXdVN/bbx1gQ1PKJVXms5c8nylQ0RRScEvBQUmWXMEsVMFGXbeyPCuqBgEZakT UlRGnEOh3swzXfr6ssXI4afguKmlf/CC/lUPCDauL4efDJGqix2IjjuQhXdnl0y+ E6xZD67NdgyRhOCl/Ynz1LRf5Ov6kYwUoxsnTE6nVACL7VXT1gxEm1pL/yl7n9cA psrbkwOMmANvakTfaVeO2em22YB/YkwYHFjorzxgPWPm3W0gDisQTPck37y8hEqP Vx9W8zdNbt0FMIjip+dY4EbBQZKHW9QfeWK5YBeOQ8d0m+vNLwnz1EQCfLdfsC4= =lh// -----END PGP SIGNATURE-----