From owner-freebsd-mips@freebsd.org Sun Jul 19 11:01:14 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 7B6EB9A45D7; Sun, 19 Jul 2015 11:01:14 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S16.hotmail.com (col004-omc1s16.hotmail.com [65.55.34.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5265A19BC; Sun, 19 Jul 2015 11:01:13 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W22 ([65.55.34.9]) by COL004-OMC1S16.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 19 Jul 2015 04:01:06 -0700 X-TMN: [WxDmIGUIMyz3uCBgJRe61AWeJVdWXkHs] X-Originating-Email: [m.vale@live.com.au] Message-ID: Content-Type: multipart/mixed; boundary="_e530d51a-60a1-4856-8bec-da355a60b8e2_" From: Michael Vale To: "freebsd-embedded@freebsd.org" , "freebsd-arm@freebsd.org" , "freebsd-mips@freebsd.org" , "bapt@freebsd.org" , "portmgr@freebsd.org" Subject: bsd.port.mk - cross compiling and target binary set Date: Sun, 19 Jul 2015 21:31:06 +1030 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2015 11:01:06.0928 (UTC) FILETIME=[36429F00:01D0C212] X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 19 Jul 2015 11:01:14 -0000 --_e530d51a-60a1-4856-8bec-da355a60b8e2_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Okay=2C I've done a lot more work on this patch. It builds and installs bu= ild=2C lib and run depends=2C builds and installs the target port recursive= ly. The only problem is if a build/install process wishes to run an execut= able that has been built for the target. The patch assumes you have a src tree in ${HOME}/src=2C a WRKDIR=3D${HOME}/= work=2C TARGETDIR=3D${HOME}/root and OBJDIR=3D${HOME}/obj. It also assumes= you have built a target filesystem with freebsd-wifi-build or similar. It will build and install as a user like so: bmake TARGET_ARCH=3Dmips BUILD_AS_USER=3D INSTALL_AS_USER=3D SRC_BASE=3D/ho= me/masked/src install --------------------------------------- Can anyone tell me or confirm if I don't set a target triple=2C and just a = host triple=2C if the executables are compiled in a cross arch manner like = the name cross-compiler implies? that the binaries will execute on both th= e build machine and the host machine assuming configure --host=3D${AN_ARCH_= OTHER_THAN_THE_BUILD_MACHINE}? I doubt it=2C but it'd be nice if thats what's actually going on here. = = --_e530d51a-60a1-4856-8bec-da355a60b8e2_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bsd.port.mk.patch" LS0tIGJzZC5wb3J0Lm1rCTIwMTUtMDctMTEgMDM6MjU6NTAuMTg0NDE2MDAwICsxMDAwCisrKyBi c2QucG9ydC5tay5uZWFyY29tcGxldGlvbgkyMDE1LTA3LTE5IDIwOjMyOjI3LjU4MDU2ODAwMCAr MTAwMApAQCAtMSw3ICsxLDcgQEAKICMtKi0gdGFiLXdpZHRoOiA0OyAtKi0KICMgZXg6dHM9NAog IwotIyAkRnJlZUJTRCQKKyMgJEZyZWVCU0Q6IGhlYWQvTWsvYnNkLnBvcnQubWsgMzkyMzIyIDIw MTUtMDctMTYgMjA6NTM6MjhaIGt3bSAkCiAjCSROZXRCU0Q6ICQKICMKICMJYnNkLnBvcnQubWsg LSA5NDA4MjAgSm9yZGFuIEsuIEh1YmJhcmQuCkBAIC0zNDIsMjcgKzM0Miw2IEBACiAjIENYWEZM QUdTXyR7QVJDSH0KICMJ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JCRkaXI7IFwKKwkJaWYgWyAtZCAke1NZU1JPT1R9LyQkZGlyIF07IHRoZW4gXAor CQkJJHtFQ0hPX0NNRH0gJHtTWVNST09UfS8kJGRpcjsgXAogCQllbHNlIFwKIAkJCSR7RUNIT19N U0d9ICIke1BLR05BTUV9OiBcIiQkZGlyXCIgbm9uLWV4aXN0ZW50IC0tIGRlcGVuZGVuY3kgbGlz dCBpbmNvbXBsZXRlIiA+JjI7IFwKIAkJZmk7IFwKQEAgLTQ1MjcsNyArNDUwMyw3IEBACiAJZmk7 IFwKIAljaGVja2VkPSIke1BBUkVOVF9DSEVDS0VEfSI7IFwKIAlmb3IgZGlyIGluICR7X0xJQl9S VU5fREVQRU5EUzpDLFteOl0qOihbXjpdKik6Py4qLFwxLH07IGRvIFwKLQkJZGlyPSQkKCR7UkVB TFBBVEh9ICQkZGlyKTsgXAorCQlkaXI9JCQoJHtTWVNST09UfS8ke1JFQUxQQVRIfSAkJGRpcik7 IFwKIAkJaWYgWyAtZCAkJGRpciBdOyB0aGVuIFwKIAkJCWNhc2UgJCRjaGVja2VkIGluCVwKIAkJ CSQkZGlyfCQkZGlyXCAqfCpcICQkZGlyfCpcICQkZGlyXCAqKSBjb250aW51ZTs7CVwK --_e530d51a-60a1-4856-8bec-da355a60b8e2_-- From owner-freebsd-mips@freebsd.org Sun Jul 19 15:08:06 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 3BD049A52DB; Sun, 19 Jul 2015 15:08:06 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S8.hotmail.com (col004-omc1s8.hotmail.com [65.55.34.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1579A1B7C; Sun, 19 Jul 2015 15:08:05 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL401-EAS467 ([65.55.34.8]) by COL004-OMC1S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 19 Jul 2015 08:06:59 -0700 X-TMN: [irltMREWZgnVHbEaAvK8aXi17hKx6hxA] X-Originating-Email: [m.vale@live.com.au] Message-ID: Content-Type: multipart/related; boundary="_aab9fb25-4c08-42e6-904b-43306b3eb34c_" From: =?utf-8?B?bS52YWxlQGxpdmUuY29tLmF1?= To: , , , , Subject: Re: bsd.port.mk - cross compiling and target binary set X-Priority: 3 Importance: Normal Date: Sun, 19 Jul 2015 15:06:52 +0000 MIME-Version: 1.0 X-Mailer: Infraware POLARIS Mobile Mailer v2.5 X-OriginalArrivalTime: 19 Jul 2015 15:06:59.0811 (UTC) FILETIME=[8FA9EB30:01D0C234] X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 19 Jul 2015 15:08:06 -0000 --_aab9fb25-4c08-42e6-904b-43306b3eb34c_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Well. Upon further examination that patch was rather no good. I've fix= ed all the bugs now I just have to test it out properly. I will probably post something substantial in the next 24 hours. Sent from my LG G3 on the Telstra Mobile network ------ Original message------From: Michael ValeDate: Sun=2C 19 Jul 2015 21:= 01To: freebsd-embedded@freebsd.org=3Bfreebsd-arm@freebsd.org=3Bfreebsd-mips= @freebsd.org=3Bbapt@freebsd.org=3Bportmgr@freebsd.org=3BSubject:bsd.port.mk= - cross compiling and target binary set Okay=2C I've done a lot more work on this patch. It builds and installs bu= ild=2C lib and run depends=2C builds and installs the target port recursive= ly. The only problem is if a build/install process wishes to run an execut= able that has been built for the target. The patch assumes you have a src tree in ${HOME}/src=2C a WRKDIR=3D${HOME}/= work=2C TARGETDIR=3D${HOME}/root and OBJDIR=3D${HOME}/obj. It also assumes= you have built a target filesystem with freebsd-wifi-build or similar. It will build and install as a user like so: bmake TARGET_ARCH=3Dmips BUILD_AS_USER=3D INSTALL_AS_USER=3D SRC_BASE=3D/ho= me/masked/src install --------------------------------------- Can anyone tell me or confirm if I don't set a target triple=2C and just a = host triple=2C if the executables are compiled in a cross arch manner like = the name cross-compiler implies? that the binaries will execute on both th= e build machine and the host machine assuming configure --host=3D${AN_ARCH_= OTHER_THAN_THE_BUILD_MACHINE}? I doubt it=2C but it'd be nice if thats what's actually going on here. --_aab9fb25-4c08-42e6-904b-43306b3eb34c_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-embedded@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-embedded To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" --_aab9fb25-4c08-42e6-904b-43306b3eb34c_-- From owner-freebsd-mips@freebsd.org Sun Jul 19 19:40:40 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 064C89A66A7 for ; Sun, 19 Jul 2015 19:40:40 +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 E24791203 for ; Sun, 19 Jul 2015 19:40:39 +0000 (UTC) (envelope-from sbruno@ignoranthack.me) Received: from [192.168.200.214] (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 72BCD193DA2 for ; Sun, 19 Jul 2015 19:40:38 +0000 (UTC) Message-ID: <55ABFD35.1040509@ignoranthack.me> Date: Sun, 19 Jul 2015 12:40:37 -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: "freebsd-mips@freebsd.org" Subject: lang/gcc for mips64 Content-Type: text/plain; charset=utf-8 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: Sun, 19 Jul 2015 19:40:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Does anyone have a hidden patchset or work in progress for allowing lang/gcc (gcc-4.8) to build for mips64? Currently, this blocks about 3k ports from building for this target. http://dirty.ysv.freebsd.org/build.html?mastername=11mips64-default&build=2015-07-19_17h13m28s sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJVq/01XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kQOUH/0T0bYxuX0qq5vShQX2+f8GJ xrTmBidkXMAHOfyHlamTH6YgI4y+kVmQhrKMY7iEgu4pjFISY/XjqlIvjLxWo4De f2qyuGY3ygQZo7bCsV7UHM1fjA2EVMWRQu9iIECfnxQGtU1oa30pyiKvUXdwYMgA 3Tj+geR/FSzw13vW8zZp7gmsKst+r9lrpdTD1GKt+Iy5QYNJacotKu1ED5qHn/SM uOHLFgycTepMt3lCIcXBWlhoiy3j0bciXzSgQxiqRv9W9ZOMqiYyQbBXpyNMgLSK UE3kHtd5D/FeO4c/mZTLX+x9eeUWytgOLKmbpWKV+s7BGQQqNbJsK7bu05fxZV4= =Q+CI -----END PGP SIGNATURE----- From owner-freebsd-mips@freebsd.org Sun Jul 19 22:50:14 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 32CDF9A4CB1; Sun, 19 Jul 2015 22:50:14 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S6.hotmail.com (col004-omc1s6.hotmail.com [65.55.34.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07ED31E2A; Sun, 19 Jul 2015 22:50:13 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W43 ([65.55.34.7]) by COL004-OMC1S6.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 19 Jul 2015 15:49:07 -0700 X-TMN: [KI4YEeWjp0MmfEAWPCkDTb9/uOn5VsyN] X-Originating-Email: [m.vale@live.com.au] Message-ID: Content-Type: multipart/mixed; boundary="_9557dbe8-53a8-46ec-858d-dcb4718eb481_" From: Michael Vale To: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "bapt@freebsd.org" , "portmgr@freebsd.org" , Adrian Chadd Subject: X_BUILD_FOR is back! Date: Mon, 20 Jul 2015 09:19:07 +1030 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2015 22:49:07.0888 (UTC) FILETIME=[1EE2B300:01D0C275] X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 19 Jul 2015 22:50:14 -0000 --_9557dbe8-53a8-46ec-858d-dcb4718eb481_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Okay! =20 Patch and go! =20 bmake X_BUILD_FOR=3Dmips BUILD_AS_USER=3D SRC_BASE=3D/home/masked/src =20 Will build and install ports into /home/masked/src/../root/mips/ =20 By default at first it will want to build and install mips-gcc to cross com= pile. Next it will want to build and install pkg-1.5.5. Personally I had = problems with pkg's configure script and external/libucl/xxhash.c that need= ed debugging. "cross_compiling" =3D "yes" after a search for "git head" in= pkg's configure needs to be changed from "yes" to "maybe" and a search for= swap32 in xxhash.c=2C finds you with an elif for __bswap32 that needs to b= e erased=2C then pkg should compile. Please let me know if you have differ= ent results. =20 Currently ports "install" is broken. I'm not sure what is wrong with it=2C= but rather than wait until it is fixed=2C I thought I would post this anyw= ay as I have been using the stage target as install=2C pointing STAGEDIR to= SYSROOT. =20 Next I will go through it and remove SHARE files=2C DOCs=2C MAN pages=2C an= d other stuff that we don't need on embedded systems. =20 I did do some changes to Scripts/do-depends.sh and Scripts/find-lib.sh=2C I= 'm unsure now if any of those changes were needed and I don't have a copy o= f the originals right now so rather than post patches=2C I've posted the en= tire files=2C sorry about that. =20 Correction =3D Install /does/ work for some ports=2C it depends on a few fa= ctors=2C I will iron them out ASAP. Other than that=2C and the excess junk= from the ports (DOC's MAN's SHARE=2C etc). This iteration is for the most= -part complete. =20 Practically /all/ of the pkg support is complete=2C it will register packag= es to a database on the embedded filesystems root and successfully delete p= ackages=2C regardless of the fact that install is not working 100% right no= w. =20 The majority of ports should build=2C "stage-install"=2C install and packag= e up without a fuss. Dependency checking and building should all be sane. =20 Please let me know what you think. =20 Regards=2C =20 Michael. = --_9557dbe8-53a8-46ec-858d-dcb4718eb481_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attach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QQVRIfSAkJGRpcik7IFwKIAkJaWYgWyAtZCAkJGRpciBdOyB0aGVuIFwKIAkJCWNh c2UgJCRjaGVja2VkIGluCVwKIAkJCSQkZGlyfCQkZGlyXCAqfCpcICQkZGlyfCpcICQkZGlyXCAq KSBjb250aW51ZTs7CVwK --_9557dbe8-53a8-46ec-858d-dcb4718eb481_-- From owner-freebsd-mips@freebsd.org Sun Jul 19 23:04:40 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 0C31A9A4FCE; Sun, 19 Jul 2015 23:04:40 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC4S15.hotmail.com (col004-omc4s15.hotmail.com [65.55.34.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DADD014A2; Sun, 19 Jul 2015 23:04:39 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W88 ([65.55.34.201]) by COL004-OMC4S15.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 19 Jul 2015 16:03:33 -0700 X-TMN: [UrCyIO7ME6MpLYioJg2WHGQoTlVwG7rJ] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: Adrian Chadd , "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "bapt@freebsd.org" , "portmgr@freebsd.org" Subject: X_BUILD_FOR - more info Date: Mon, 20 Jul 2015 09:33:33 +1030 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2015 23:03:33.0176 (UTC) FILETIME=[22A32B80:01D0C277] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 19 Jul 2015 23:04:40 -0000 Sorry about the multiple posts=2C but I was mistaken when I said the insta= ll target doesn't work. It does in fact work. INSTALL_AS_USER=3D does not= work. Must install without INSTALL_AS_USER=3D and enter a super-user pass= word to proceed. Sorry about this=2C I will fix it as soon as possible. =20 Now installs are doing great. Occasionally a problem crops up and I have b= een maintaining the works and applying the changes to greater support a wid= er range of ports and the system was at a reasonably stable state worthy of= showing. I will continue to work on the inconsistencies but I will lay of= f on emailing any more patches now until either I hear back from portmgr@ o= r my work reaches a significant milestone worthy of submission. =20 Regards=2C =20 Michael. = From owner-freebsd-mips@freebsd.org Mon Jul 20 01:55:23 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 AD4509A5AB0; Mon, 20 Jul 2015 01:55:23 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (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 7E7A8122D; Mon, 20 Jul 2015 01:55:23 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=eOtIzE/i4lpR5XyloZFZ/CImIwchXmyy/n9ICKOF34s=; b=R5evdnflWgCqw+fS9LC5oN7b5uh3p5MexxZx9igaYvaV8z13UXWJKtp8jvqqDT38U1lXHFoFE/ZqfbbyczNQkl/XztxM6mfW/Eha5T6RtHBE66QmuskVyiX35SPbAL5SRwCwKLqPvJFO95SQMogzE2+SBc0jSHyRg9QB6GsRTuI=; Received: from [114.121.153.197] (port=49010 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZH0IU-004L2B-OL; Sun, 19 Jul 2015 19:55:15 -0600 Date: Mon, 20 Jul 2015 09:55:07 +0800 From: Erich Dollansky To: Michael Vale Cc: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "bapt@freebsd.org" , "portmgr@freebsd.org" , Adrian Chadd Subject: Re: X_BUILD_FOR is back! Message-ID: <20150720095507.0fe291f2@X220.alogt.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: 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: Mon, 20 Jul 2015 01:55:23 -0000 Hi, this sounds good. Erich On Mon, 20 Jul 2015 09:19:07 +1030 Michael Vale wrote: > Okay! > > Patch and go! > > bmake X_BUILD_FOR=mips BUILD_AS_USER= SRC_BASE=/home/masked/src > > Will build and install ports into /home/masked/src/../root/mips/ > > By default at first it will want to build and install mips-gcc to > cross compile. Next it will want to build and install pkg-1.5.5. > Personally I had problems with pkg's configure script and > external/libucl/xxhash.c that needed debugging. "cross_compiling" = > "yes" after a search for "git head" in pkg's configure needs to be > changed from "yes" to "maybe" and a search for swap32 in xxhash.c, > finds you with an elif for __bswap32 that needs to be erased, then > pkg should compile. Please let me know if you have different > results. Currently ports "install" is broken. I'm not sure what is > wrong with it, but rather than wait until it is fixed, I thought I > would post this anyway as I have been using the stage target as > install, pointing STAGEDIR to SYSROOT. Next I will go through it and > remove SHARE files, DOCs, MAN pages, and other stuff that we don't > need on embedded systems. I did do some changes to > Scripts/do-depends.sh and Scripts/find-lib.sh, I'm unsure now if any > of those changes were needed and I don't have a copy of the originals > right now so rather than post patches, I've posted the entire files, > sorry about that. Correction = Install /does/ work for some ports, it > depends on a few factors, I will iron them out ASAP. Other than > that, and the excess junk from the ports (DOC's MAN's SHARE, etc). > This iteration is for the most-part complete. Practically /all/ of > the pkg support is complete, it will register packages to a database > on the embedded filesystems root and successfully delete packages, > regardless of the fact that install is not working 100% right now. > The majority of ports should build, "stage-install", install and > package up without a fuss. Dependency checking and building should > all be sane. Please let me know what you think. Regards, Michael. From owner-freebsd-mips@freebsd.org Mon Jul 20 04:31:56 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 AAABD9A6299; Mon, 20 Jul 2015 04:31:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (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 6EB371057; Mon, 20 Jul 2015 04:31:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iecri3 with SMTP id ri3so14932469iec.2; Sun, 19 Jul 2015 21:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Lrj83suJOa1DzuyyCUd2iOSD1SLHd7ujyIUAi8d5H9w=; b=0FDqzOJhvWPcZApzGOXH4Pp5BmNkDa1XYGtStTLo/srSXLOlQb/Lxp0UcRL7ANT1l2 YunkOcNv7ixH7Nt1IFDJDQA7hQIX34oPrIogKoRBGLnD+8FtS3lHpZGku/CA2fxkEcw1 yRlP9ZjRn9FdoZTMML4/jxCrCHJO0RtMHQyH9OwMadVA0Ev0u06tDtvikf5FLNoPd9o2 pDCfynNo5oUIlEpU1FuGxo0qTIHDq+0urkLDTktx+OqGnigOr8ogSeNPZY5Fj+8IUWjz S8EIT0KZo7tZWaP2zwrRXWqreWU2JM4Xe4EOoz4eOt33yRn0TiskGCGPLxwCZ57PZCLl wsxA== MIME-Version: 1.0 X-Received: by 10.107.35.144 with SMTP id j138mr36927886ioj.105.1437366715776; Sun, 19 Jul 2015 21:31:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sun, 19 Jul 2015 21:31:55 -0700 (PDT) In-Reply-To: <20150720095507.0fe291f2@X220.alogt.com> References: <20150720095507.0fe291f2@X220.alogt.com> Date: Sun, 19 Jul 2015 21:31:55 -0700 X-Google-Sender-Auth: 3jBHoHoublvnS_3rbxpCy3kqO7Q Message-ID: Subject: Re: X_BUILD_FOR is back! From: Adrian Chadd To: Erich Dollansky Cc: Michael Vale , "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "bapt@freebsd.org" , "portmgr@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Mon, 20 Jul 2015 04:31:56 -0000 hiya, can you make it use DESTDIR or something? Ie, not assume it's SRCDIR../../root/mips/ ? -a On 19 July 2015 at 18:55, Erich Dollansky wrote: > Hi, > > this sounds good. > > Erich > > > On Mon, 20 Jul 2015 09:19:07 +1030 > Michael Vale wrote: > >> Okay! >> >> Patch and go! >> >> bmake X_BUILD_FOR=mips BUILD_AS_USER= SRC_BASE=/home/masked/src >> >> Will build and install ports into /home/masked/src/../root/mips/ >> >> By default at first it will want to build and install mips-gcc to >> cross compile. Next it will want to build and install pkg-1.5.5. >> Personally I had problems with pkg's configure script and >> external/libucl/xxhash.c that needed debugging. "cross_compiling" = >> "yes" after a search for "git head" in pkg's configure needs to be >> changed from "yes" to "maybe" and a search for swap32 in xxhash.c, >> finds you with an elif for __bswap32 that needs to be erased, then >> pkg should compile. Please let me know if you have different >> results. Currently ports "install" is broken. I'm not sure what is >> wrong with it, but rather than wait until it is fixed, I thought I >> would post this anyway as I have been using the stage target as >> install, pointing STAGEDIR to SYSROOT. Next I will go through it and >> remove SHARE files, DOCs, MAN pages, and other stuff that we don't >> need on embedded systems. I did do some changes to >> Scripts/do-depends.sh and Scripts/find-lib.sh, I'm unsure now if any >> of those changes were needed and I don't have a copy of the originals >> right now so rather than post patches, I've posted the entire files, >> sorry about that. Correction = Install /does/ work for some ports, it >> depends on a few factors, I will iron them out ASAP. Other than >> that, and the excess junk from the ports (DOC's MAN's SHARE, etc). >> This iteration is for the most-part complete. Practically /all/ of >> the pkg support is complete, it will register packages to a database >> on the embedded filesystems root and successfully delete packages, >> regardless of the fact that install is not working 100% right now. >> The majority of ports should build, "stage-install", install and >> package up without a fuss. Dependency checking and building should >> all be sane. Please let me know what you think. Regards, Michael. From owner-freebsd-mips@freebsd.org Mon Jul 20 04:37:26 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 C1E099A6300; Mon, 20 Jul 2015 04:37:26 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S14.hotmail.com (col004-omc1s14.hotmail.com [65.55.34.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B2711167; Mon, 20 Jul 2015 04:37:26 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL401-EAS423 ([65.55.34.9]) by COL004-OMC1S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 19 Jul 2015 21:36:21 -0700 X-TMN: [FwtzLB15WzG9nB11FB5OEi8ZesXZJo08] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: , CC: , , , , Subject: Re: X_BUILD_FOR is back! X-Priority: 3 Importance: Normal Date: Mon, 20 Jul 2015 04:36:14 +0000 MIME-Version: 1.0 X-Mailer: Infraware POLARIS Mobile Mailer v2.5 X-OriginalArrivalTime: 20 Jul 2015 04:36:21.0202 (UTC) FILETIME=[A0822320:01D0C2A5] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 20 Jul 2015 04:37:27 -0000 It /is/ using DESTDIR. And sure=2C if your root/mips is elsewhere you c= an specify it there. In fact=2C iirc from Memory DESTDIR=3DSYSROOT... just = search for either in the Makefile to get your bearings. Sent from my LG G3 on the Telstra Mobile network ------ Original message------From: Adrian ChaddDate: Mon=2C 20 Jul 2015 14:= 31To: Erich Dollansky=3BCc: Michael Vale=3Bfreebsd-embedded@freebsd.org=3Bf= reebsd-mips@freebsd.org=3Bfreebsd-arm@freebsd.org=3Bbapt@freebsd.org=3Bport= mgr@freebsd.org=3BSubject:Re: X_BUILD_FOR is back! hiya=2C can you make it use DESTDIR or something? Ie=2C not assume it's SRCDIR../../root/mips/ ? -a On 19 July 2015 at 18:55=2C Erich Dollansky w= rote: > Hi=2C > > this sounds good. > > Erich > > > On Mon=2C 20 Jul 2015 09:19:07 +1030 > Michael Vale wrote: > >> Okay! >> >> Patch and go! >> >> bmake X_BUILD_FOR=3Dmips BUILD_AS_USER=3D SRC_BASE=3D/home/masked/src >> >> Will build and install ports into /home/masked/src/../root/mips/ >> >> By default at first it will want to build and install mips-gcc to >> cross compile. Next it will want to build and install pkg-1.5.5. >> Personally I had problems with pkg's configure script and >> external/libucl/xxhash.c that needed debugging. "cross_compiling" =3D >> "yes" after a search for "git head" in pkg's configure needs to be >> changed from "yes" to "maybe" and a search for swap32 in xxhash.c=2C >> finds you with an elif for __bswap32 that needs to be erased=2C then >> pkg should compile. Please let me know if you have different >> results. Currently ports "install" is broken. I'm not sure what is >> wrong with it=2C but rather than wait until it is fixed=2C I thought I >> would post this anyway as I have been using the stage target as >> install=2C pointing STAGEDIR to SYSROOT. Next I will go through it and >> remove SHARE files=2C DOCs=2C MAN pages=2C and other stuff that we don't >> need on embedded systems. I did do some changes to >> Scripts/do-depends.sh and Scripts/find-lib.sh=2C I'm unsure now if any >> of those changes were needed and I don't have a copy of the originals >> right now so rather than post patches=2C I've posted the entire files=2C >> sorry about that. Correction =3D Install /does/ work for some ports=2C i= t >> depends on a few factors=2C I will iron them out ASAP. Other than >> that=2C and the excess junk from the ports (DOC's MAN's SHARE=2C etc). >> This iteration is for the most-part complete. Practically /all/ of >> the pkg support is complete=2C it will register packages to a database >> on the embedded filesystems root and successfully delete packages=2C >> regardless of the fact that install is not working 100% right now. >> The majority of ports should build=2C "stage-install"=2C install and >> package up without a fuss. Dependency checking and building should >> all be sane. Please let me know what you think. Regards=2C Michael. From owner-freebsd-mips@freebsd.org Mon Jul 20 04:38:02 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 AA84E9A634D; Mon, 20 Jul 2015 04:38:02 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC1S17.hotmail.com (col004-omc1s17.hotmail.com [65.55.34.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 840A91212; Mon, 20 Jul 2015 04:38:02 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL401-EAS165 ([65.55.34.8]) by COL004-OMC1S17.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 19 Jul 2015 21:36:55 -0700 X-TMN: [oJuk8bvm1zzhNF4PHDbPQd3z8D0JGbfU] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: , CC: , , , , Subject: Re: X_BUILD_FOR is back! X-Priority: 3 Importance: Normal Date: Mon, 20 Jul 2015 04:36:49 +0000 MIME-Version: 1.0 X-Mailer: Infraware POLARIS Mobile Mailer v2.5 X-OriginalArrivalTime: 20 Jul 2015 04:36:55.0867 (UTC) FILETIME=[B52B98B0:01D0C2A5] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 20 Jul 2015 04:38:02 -0000 In actual fact yoy dont even need to specify SRC_BASE. Sent from my LG G3 on the Telstra Mobile network ------ Original message------From: Adrian ChaddDate: Mon=2C 20 Jul 2015 14:= 31To: Erich Dollansky=3BCc: Michael Vale=3Bfreebsd-embedded@freebsd.org=3Bf= reebsd-mips@freebsd.org=3Bfreebsd-arm@freebsd.org=3Bbapt@freebsd.org=3Bport= mgr@freebsd.org=3BSubject:Re: X_BUILD_FOR is back! hiya=2C can you make it use DESTDIR or something? Ie=2C not assume it's SRCDIR../../root/mips/ ? -a On 19 July 2015 at 18:55=2C Erich Dollansky w= rote: > Hi=2C > > this sounds good. > > Erich > > > On Mon=2C 20 Jul 2015 09:19:07 +1030 > Michael Vale wrote: > >> Okay! >> >> Patch and go! >> >> bmake X_BUILD_FOR=3Dmips BUILD_AS_USER=3D SRC_BASE=3D/home/masked/src >> >> Will build and install ports into /home/masked/src/../root/mips/ >> >> By default at first it will want to build and install mips-gcc to >> cross compile. Next it will want to build and install pkg-1.5.5. >> Personally I had problems with pkg's configure script and >> external/libucl/xxhash.c that needed debugging. "cross_compiling" =3D >> "yes" after a search for "git head" in pkg's configure needs to be >> changed from "yes" to "maybe" and a search for swap32 in xxhash.c=2C >> finds you with an elif for __bswap32 that needs to be erased=2C then >> pkg should compile. Please let me know if you have different >> results. Currently ports "install" is broken. I'm not sure what is >> wrong with it=2C but rather than wait until it is fixed=2C I thought I >> would post this anyway as I have been using the stage target as >> install=2C pointing STAGEDIR to SYSROOT. Next I will go through it and >> remove SHARE files=2C DOCs=2C MAN pages=2C and other stuff that we don't >> need on embedded systems. I did do some changes to >> Scripts/do-depends.sh and Scripts/find-lib.sh=2C I'm unsure now if any >> of those changes were needed and I don't have a copy of the originals >> right now so rather than post patches=2C I've posted the entire files=2C >> sorry about that. Correction =3D Install /does/ work for some ports=2C i= t >> depends on a few factors=2C I will iron them out ASAP. Other than >> that=2C and the excess junk from the ports (DOC's MAN's SHARE=2C etc). >> This iteration is for the most-part complete. Practically /all/ of >> the pkg support is complete=2C it will register packages to a database >> on the embedded filesystems root and successfully delete packages=2C >> regardless of the fact that install is not working 100% right now. >> The majority of ports should build=2C "stage-install"=2C install and >> package up without a fuss. Dependency checking and building should >> all be sane. Please let me know what you think. Regards=2C Michael. From owner-freebsd-mips@freebsd.org Mon Jul 20 05:07:43 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 BDC499A6947; Mon, 20 Jul 2015 05:07:43 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC3S12.hotmail.com (col004-omc3s12.hotmail.com [65.55.34.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 996C3149A; Mon, 20 Jul 2015 05:07:43 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL401-EAS207 ([65.55.34.137]) by COL004-OMC3S12.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 19 Jul 2015 22:07:37 -0700 X-TMN: [X8FJDfXSnwVccwxqX9DzxpLPSDmdhKgn] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: =?utf-8?B?bS52YWxlQGxpdmUuY29tLmF1?= To: =?utf-8?B?ZnJlZWJzZC1taXBzQGZyZWVic2Qub3Jn?= Subject: Watch "Limp Bizkit - Take a Look Around (Live At Main Square Festival 2011) *HD PRO-SHOT" on YouTube X-Priority: 3 Importance: Normal Date: Mon, 20 Jul 2015 05:07:32 +0000 MIME-Version: 1.0 X-Mailer: Infraware POLARIS Mobile Mailer v2.5 X-OriginalArrivalTime: 20 Jul 2015 05:07:37.0205 (UTC) FILETIME=[FEB17A50:01D0C2A9] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 20 Jul 2015 05:07:43 -0000 CgoKCgoKICAgIGh0dHBzOi8veW91dHUuYmUvY1NpVWNwWGliYUkKClNlbnQgZnJvbSBteSBMRyBH MyBvbiB0aGUgVGVsc3RyYSBNb2JpbGUgbmV0d29yawoKCg==