From owner-freebsd-mips@freebsd.org Sun Aug 2 03:30:35 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 F2A0B9AAF0F for ; Sun, 2 Aug 2015 03:30:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 DECDF3C3 for ; Sun, 2 Aug 2015 03:30:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t723UZu5011527 for ; Sun, 2 Aug 2015 03:30:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips Date: Sun, 02 Aug 2015 03:30:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpm@fbsd.es X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 02 Aug 2015 03:30:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201683 --- Comment #4 from Carlos J Puga Medina --- This patch allows to build cairo port with atomic operations enabled: --- Makefile.orig 2015-08-02 05:25:43.503429000 +0200 +++ Makefile 2015-08-02 05:28:26.946450000 +0200 @@ -4,7 +4,7 @@ PORTNAME= cairo PORTVERSION= 1.12.18 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ @@ -16,6 +16,7 @@ .if !defined(REFERENCE_PORT) +BUILD_DEPENDS= ${LOCALBASE}/include/atomic_ops.h:${PORTSDIR}/devel/libatomic_ops LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libpng.so:${PORTSDIR}/graphics/png \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig @@ -26,6 +27,10 @@ CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \ --disable-directfb \ --enable-tee +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} LDFLAGS="${LDFLAGS} \ + cairo_cv_atomic_primitives="libatomic-ops" USES+= cpe libtool pathfix pkgconfig CPE_VENDOR= cairographics USE_XORG= pixman -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-mips@freebsd.org Sun Aug 2 03:31:37 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 9D9E59AAF86 for ; Sun, 2 Aug 2015 03:31:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 899D6769 for ; Sun, 2 Aug 2015 03:31:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t723VbhF016640 for ; Sun, 2 Aug 2015 03:31:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips Date: Sun, 02 Aug 2015 03:31:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpm@fbsd.es X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 02 Aug 2015 03:31:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201683 --- Comment #5 from Carlos J Puga Medina --- Created attachment 159451 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159451&action=edit cairo with atomic operations enabled log -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-mips@freebsd.org Sun Aug 2 03:37:19 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 0C4099AF141 for ; Sun, 2 Aug 2015 03:37:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E2AC3878 for ; Sun, 2 Aug 2015 03:37:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t723bI1H022214 for ; Sun, 2 Aug 2015 03:37:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips Date: Sun, 02 Aug 2015 03:37:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpm@fbsd.es X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 02 Aug 2015 03:37:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201683 Carlos J Puga Medina changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158959|0 |1 is obsolete| | --- Comment #6 from Carlos J Puga Medina --- Comment on attachment 158959 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D158959 cairo-fix-mips.diff >diff -urN graphics/cairo.old/Makefile graphics/cairo/Makefile >--- graphics/cairo.old/Makefile 2015-07-19 03:20:21.000000000 +0200 >+++ graphics/cairo/Makefile 2015-07-19 03:22:06.000000000 +0200 >@@ -4,7 +4,7 @@ >=20 > PORTNAME=3D cairo > PORTVERSION=3D 1.12.18 >-PORTREVISION=3D 1 >+PORTREVISION=3D 2 > PORTEPOCH=3D 2 > CATEGORIES=3D graphics > MASTER_SITES=3D http://cairographics.org/releases/ >@@ -12,11 +12,14 @@ > MAINTAINER=3D gnome@FreeBSD.org > COMMENT=3D Vector graphics library with cross-device output support >=20 >+LICENSE=3D LGPL21 MPL >+LICENSE_COMB=3D multi >+ > USES=3D tar:xz >=20 > .if !defined(REFERENCE_PORT) >=20 >-LIB_DEPENDS=3D libfreetype.so:${PORTSDIR}/print/freetype2 \ >+LIB_DEPENDS+=3D libfreetype.so:${PORTSDIR}/print/freetype2 \ > libpng.so:${PORTSDIR}/graphics/png \ > libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig >=20 >@@ -41,7 +44,7 @@ > --disable-egl \ > --enable-tee >=20 >-OPTIONS_DEFINE=3D OPENGL XCB GLIB X11=20 >+OPTIONS_DEFINE=3D OPENGL XCB GLIB X11 > OPTIONS_DEFAULT=3DXCB GLIB X11 > XCB_DESC=3D Enable XCB (X C-language Binding) Support > GLIB_DESC=3D Enable GObject Functions Feature >@@ -61,6 +64,10 @@ >=20 > .include >=20 >+.if ${ARCH} =3D=3D "mips" >+CONFIGURE_ARGS+=3D --disable-atomic >+.endif >+ > post-patch: > @${REINPLACE_CMD} -e '/test/s/=3D=3D/=3D/g' \ > -e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \ >@@ -77,7 +84,6 @@ > @${REINPLACE_CMD} 's|@CAIRO_CFLAGS@|-I$$(top_srcdir)/src/glew &|' \ > ${WRKSRC}/src/Makefile.in > .endif >+.endif >=20 > .include >- >-.endif >diff -urN graphics/cairo.old/files/patch-src_cairo-xlib-display.c graphics= /cairo/files/patch-src_cairo-xlib-display.c >--- graphics/cairo.old/files/patch-src_cairo-xlib-display.c 2015-07-19 03:= 20:21.000000000 +0200 >+++ graphics/cairo/files/patch-src_cairo-xlib-display.c 2015-07-18 21:45:0= 5.000000000 +0200 >@@ -1,6 +1,6 @@ >---- src/cairo-xlib-display.c.orig 2010-11-21 14:41:31.000000000 -0500 >-+++ src/cairo-xlib-display.c 2010-11-21 14:42:12.000000000 -0500 >-@@ -353,11 +353,7 @@ _cairo_xlib_device_create (Display *dpy) >+--- src/cairo-xlib-display.c.orig 2014-11-06 21:35:30 UTC >++++ src/cairo-xlib-display.c >+@@ -263,11 +263,7 @@ _cairo_xlib_device_create (Display *dpy) > /* Prior to Render 0.10, there is no protocol support for gradients = and > * we call function stubs instead, which would silently consume the = drawing. > */ >diff -urN graphics/cairo.old/files/patch-util_cairo-sphinx_sphinx.c graphi= cs/cairo/files/patch-util_cairo-sphinx_sphinx.c >--- graphics/cairo.old/files/patch-util_cairo-sphinx_sphinx.c 2015-07-19 0= 3:20:21.000000000 +0200 >+++ graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c 2015-07-18 21:45= :05.000000000 +0200 >@@ -1,5 +1,5 @@ >---- util/cairo-sphinx/sphinx.c.orig 2014-10-06 15:22:24.000000000 -0400 >-+++ util/cairo-sphinx/sphinx.c 2014-10-06 15:23:04.000000000 -0400 >+--- util/cairo-sphinx/sphinx.c.orig 2014-11-06 21:35:30 UTC >++++ util/cairo-sphinx/sphinx.c > @@ -1325,7 +1325,7 @@ client_shm (const char *shm_path) >=20=20 > base =3D mmap (NULL, DATA_SIZE, >diff -urN graphics/cairo.old/pkg-descr graphics/cairo/pkg-descr >--- graphics/cairo.old/pkg-descr 2015-07-19 03:20:21.000000000 +0200 >+++ graphics/cairo/pkg-descr 2015-07-18 21:47:24.000000000 +0200 >@@ -10,4 +10,4 @@ > and filling Bezier cubic splines, transforming and compositing translucent > images, and antialiased text rendering. >=20 >-WWW: http://www.cairographics.org >+WWW: http://www.cairographics.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-mips@freebsd.org Mon Aug 3 23:36:49 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 DA62C9B2C71 for ; Mon, 3 Aug 2015 23:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 C702C1346 for ; Mon, 3 Aug 2015 23:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t73NanR2015920 for ; Mon, 3 Aug 2015 23:36:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 201681] [PATCH] [mips] print/harfbuzz: fails to build on mips Date: Mon, 03 Aug 2015 23:36:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpm@fbsd.es X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kwm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 03 Aug 2015 23:36:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201681 Carlos J Puga Medina changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158951|0 |1 is obsolete| | --- Comment #4 from Carlos J Puga Medina --- Created attachment 159508 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159508&action=edit harfbuzz-fix-mips.diff The following patch fixes build with atomic_ops on mips. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-mips@freebsd.org Thu Aug 6 02:51:35 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 C14399B3436; Thu, 6 Aug 2015 02:51:35 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC4S14.hotmail.com (col004-omc4s14.hotmail.com [65.55.34.216]) (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 97047134D; Thu, 6 Aug 2015 02:51:35 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W16 ([65.55.34.199]) by COL004-OMC4S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 5 Aug 2015 19:50:28 -0700 X-TMN: [BiFhrLDouE4RV3WtP5T7PWjmy62aaUUw] X-Originating-Email: [m.vale@live.com.au] Message-ID: Content-Type: multipart/mixed; boundary="_e1e9dfa6-1295-45a5-a56d-b4b57896ae12_" From: Michael Vale To: Adrian Chadd , "bapt@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" Subject: Multi Arch ELF binary/object compiling, linking and more Date: Thu, 6 Aug 2015 13:20:27 +1030 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 06 Aug 2015 02:50:28.0090 (UTC) FILETIME=[A6C7EDA0:01D0CFF2] 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: Thu, 06 Aug 2015 02:51:36 -0000 --_e1e9dfa6-1295-45a5-a56d-b4b57896ae12_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You can try and read my lyrics off of this paper before I lay 'emBut you wo= n't take the sting out these words before I say 'emCause ain't no way I'ma = let you stop me from causing mayhemWhen I say I'ma do something I do it=2CI= don't give a damn what you think=2CI'm doing this for me=2C so fuck the wo= rldFeed it beans=2C it's gassed up=2C if it thinks it's stopping mehttps://= www.youtube.com/watch?v=3Dj5-yKhDd64s Hey=2C Okay here it is. It's not complete yet=2C but I'm throwing it out there wh= ile I have the chance. One can specify the build machine's arch type with ARCH=3D=2C the host (and= in turn the build machine if one is not set) with X_BUILD_FOR=3D and also = finally the target with TARGET=3D. You can choose to set all three to the = same arch as the target=2C or whatever pleases you. Surely if you're smart= and doing some wicked fancy things you can benefit from setting different = archs accordingly=2C if you're accessing these binaries and objects from a = central storage and utilising resources over a network. EDIT: What I forgot to mention is=2C to utilize "cross-compiling" allows on= e to run the same binaries and objects on multiple architectures. So one w= ould think the build variable would have to be one of the machine compiling= the binaries and objects but that is not the case=2C it has other purposes= too. It has been clear in the GNU and FreeBSD way of things that by retai= ning the build variable as the one you compile the binary on and setting th= e HOST variable defines what "other" (sic.) architecture the binaries or ob= ject execute on when infact by setting HOST=2C you also tend to automatical= ly adjust TARGET to suit. The light on this matter is that you can infact = set an intermediate HOST architecture to the TARGET that allows building ta= sks assigned to the BUILD variable=2C 'hosting' and 'operating' on the HOST= architecture and native execution on the TARGET. Don't think for one mome= nt though that you can't set all three BUILD=2C HOST and TARGET to the TARG= ET architecture and use that binary or object as a development utility=2C h= ost or native on the desired platform/architecture. The work is rather complete=2C I've managed to build asterisk=2C kismet and= different X11/Xorg servers and all their dependencies. I haven't begun on slimming down the stage outfits into something suitable = for embedded flashing and packaging. https://www.youtube.com/watch?v=3DBE9CXWV1alg - Michael. = --_e1e9dfa6-1295-45a5-a56d-b4b57896ae12_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bsd.port.mk-thurs-aug6" LS0tIC9ob21lL2dvZC9Eb3dubG9hZHMvYnNkLnBvcnQubWsudmFuaWxsYQkyMDE1LTA4LTA1IDIy OjI1OjQ5LjAwODMyNjQwNSAtMDQwMAorKysgL3Vzci9wb3J0cy9Nay9ic2QucG9ydC5tawkyMDE1 LTA4LTA1IDE5OjA5OjMxLjc0ODE1MDU0MiAtMDQwMApAQCAtMSw3ICsxLDcgQEAKICMtKi0gdGFi LXdpZHRoOiA0OyAtKi0KICMgZXg6dHM9NAogIwotIyAkRnJlZUJTRCQKKyMgJEZyZWVCU0Q6IGhl YWQvTWsvYnNkLnBvcn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ZJR19TSVRFPz0JCSR7UE9SVFNESVJ9L1RlbXBsYXRlcy9jb25m aWcuc2l0ZQogQ09ORklHVVJFX0FSR1MrPQktLXByZWZpeD0ke0dOVV9DT05GSUdVUkVfUFJFRklY fSAkJHtfTEFURV9DT05GSUdVUkVfQVJHU30KIC5pZiBkZWZpbmVkKFhfQlVJTERfRk9SKQotQ09O RklHVVJFX0FSR1MrPQktLWhvc3Q9JHtYX0JVSUxEX0ZPUn0KK0NPTkZJR1VSRV9BUkdTKz0JLS1o b3N0PSR7WF9CVUlMRF9GT1J9LXBvcnRibGQtJHtPUFNZUzp0bH0ke09TUkVMfQorLmVuZGlmCisu aWYgZGVmaW5lZChUQVJHRVQpCitDT05GSUdVUkVfQVJHUys9ICAgICAgICAtLXRhcmdldD0ke1RB UkdFVH0tJHtPUFNZUzp0bH0KIC5lbmRpZgogQ09ORklHVVJFX0VOVis9CQlDT05GSUdfU0lURT0k e0NPTkZJR19TSVRFfSBsdF9jdl9zeXNfbWF4X2NtZF9sZW49JHtDT05GSUdVUkVfTUFYX0NNRF9M RU59CiBIQVNfQ09ORklHVVJFPQkJeWVzCg== --_e1e9dfa6-1295-45a5-a56d-b4b57896ae12_-- From owner-freebsd-mips@freebsd.org Thu Aug 6 02:57:52 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 32C529B35B2; Thu, 6 Aug 2015 02:57:52 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL004-OMC4S6.hotmail.com (col004-omc4s6.hotmail.com [65.55.34.208]) (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 0C11D1500; Thu, 6 Aug 2015 02:57:51 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from COL130-W38 ([65.55.34.200]) by COL004-OMC4S6.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 5 Aug 2015 19:56:45 -0700 X-TMN: [RjoGN3pMdsG3IktsyQj/V097WMCXkWx2] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: Adrian Chadd , "bapt@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" Subject: RE: Multi Arch ELF binary/object compiling, linking and more Date: Thu, 6 Aug 2015 13:26:45 +1030 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 06 Aug 2015 02:56:45.0211 (UTC) FILETIME=[879006B0:01D0CFF3] 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: Thu, 06 Aug 2015 02:57:52 -0000 Sorry=2C there is more. I forgot to mention that you can set X_SYSROOT at = the command line so ports can find the appropriate system headers to build = from as a part of your firmware. You can also set DESTDIR to a valid jail = and set CHROOTED to YES (more on that later) or NO=3Dand specify a subdirec= tory within your jail to isolate your compilations from what would be a for= eign HOST environment. Or you can do what I did and edir Warden to create = a mips template built from freebsd sources and push your host environment o= ut into the build environment and have the jail contain only the firmware k= ernel and userland + the results of any ports you compile and install into = that jail with DESTDIR CHROOTED=3Dyes From: m.vale@live.com.au To: adrian@freebsd.org=3B bapt@freebsd.org=3B freebsd-mips@freebsd.org=3B f= reebsd-arm@freebsd.org=3B freebsd-embedded@freebsd.org Subject: Multi Arch ELF binary/object compiling=2C linking and more Date: Thu=2C 6 Aug 2015 13:20:27 +1030 =0A= =0A= =0A= You can try and read my lyrics off of this paper before I lay 'emBut you wo= n't take the sting out these words before I say 'emCause ain't no way I'ma = let you stop me from causing mayhemWhen I say I'ma do something I do it=2CI= don't give a damn what you think=2CI'm doing this for me=2C so fuck the wo= rldFeed it beans=2C it's gassed up=2C if it thinks it's stopping mehttps://= www.youtube.com/watch?v=3Dj5-yKhDd64s Hey=2C Okay here it is. It's not complete yet=2C but I'm throwing it out there wh= ile I have the chance. One can specify the build machine's arch type with ARCH=3D=2C the host (and= in turn the build machine if one is not set) with X_BUILD_FOR=3D and also = finally the target with TARGET=3D. You can choose to set all three to the = same arch as the target=2C or whatever pleases you. Surely if you're smart= and doing some wicked fancy things you can benefit from setting different = archs accordingly=2C if you're accessing these binaries and objects from a = central storage and utilising resources over a network. EDIT: What I forgot to mention is=2C to utilize "cross-compiling" allows on= e to run the same binaries and objects on multiple architectures. So one w= ould think the build variable would have to be one of the machine compiling= the binaries and objects but that is not the case=2C it has other purposes= too. It has been clear in the GNU and FreeBSD way of things that by retai= ning the build variable as the one you compile the binary on and setting th= e HOST variable defines what "other" (sic.) architecture the binaries or ob= ject execute on when infact by setting HOST=2C you also tend to automatical= ly adjust TARGET to suit. The light on this matter is that you can infact = set an intermediate HOST architecture to the TARGET that allows building ta= sks assigned to the BUILD variable=2C 'hosting' and 'operating' on the HOST= architecture and native execution on the TARGET. Don't think for one mome= nt though that you can't set all three BUILD=2C HOST and TARGET to the TARG= ET architecture and use that binary or object as a development utility=2C h= ost or native on the desired platform/architecture. The work is rather complete=2C I've managed to build asterisk=2C kismet and= different X11/Xorg servers and all their dependencies. I haven't begun on slimming down the stage outfits into something suitable = for embedded flashing and packaging. https://www.youtube.com/watch?v=3DBE9CXWV1alg - Michael. = From owner-freebsd-mips@freebsd.org Sat Aug 8 20:24:00 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 28C7D9B6271 for ; Sat, 8 Aug 2015 20:24:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 1539A92E for ; Sat, 8 Aug 2015 20:24:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t78KNxQb024552 for ; Sat, 8 Aug 2015 20:23:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips Date: Sat, 08 Aug 2015 20:23:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpm@fbsd.es X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sat, 08 Aug 2015 20:24:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201683 Carlos J Puga Medina changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159673| |maintainer-approval+ Flags| | --- Comment #7 from Carlos J Puga Medina --- Created attachment 159673 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159673&action=edit cairo-fix-mips.diff -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-mips@freebsd.org Sat Aug 8 20:28:21 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 49D399B62C5 for ; Sat, 8 Aug 2015 20:28:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 2E35699D for ; Sat, 8 Aug 2015 20:28:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t78KSLms029253 for ; Sat, 8 Aug 2015 20:28:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 201683] [PATCH] [mips] graphics/cairo: fails to build on mips Date: Sat, 08 Aug 2015 20:28:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpm@fbsd.es X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sat, 08 Aug 2015 20:28:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201683 --- Comment #8 from Carlos J Puga Medina --- The last patch is better in this case. Testing@work via poudriere -- You are receiving this mail because: You are on the CC list for the bug.