From owner-freebsd-arm@FreeBSD.ORG Fri Nov 21 05:23:14 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E7931E7 for ; Fri, 21 Nov 2014 05:23:14 +0000 (UTC) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D2F26E0 for ; Fri, 21 Nov 2014 05:23:14 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id bj1so4062562pad.23 for ; Thu, 20 Nov 2014 21:23:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=P7UN16Eq1nnF4pA9lhOznHyXr9CsbmxKF8NjIGsuKRY=; b=CAeZcprWkfeKiaQUfe0eVRdCHHJLxgYMZKW9v8etM3tUKExcIi2/6WpQQmwqZo84SZ Igp2YIEZvzS1W15islDN7QmvqaGYiDBG8p7uE7i+ye7cau7/BMkf2Tm8xNZ2GB2iWm5I vs7jqObB2konVK1hEnk/5eGt5m6X2pV9PRm+ttDO3fMuClhOgmUZKcsHZhGeq+APOqCK uiU+6rmXuJXRRQP1VXn2uO5rK375dY8nzQIhVWIGvGxNcxDz3dK4R7QibrZBT2oql35z 1d7OJyO0/ZjZ77yOoxzn4BUeP/1J9GGTX2dXyKoZur1mfT+JABdcrtmRnUArrMz6hjo8 VFNQ== X-Gm-Message-State: ALoCoQn2jY6FfoN5YrWSpV3R1CCxaurDIFQWhLuP3zL/D9cSB+DPnz6QO+rrgnGB0HkaQYNV5tmA X-Received: by 10.66.157.161 with SMTP id wn1mr3629665pab.40.1416547393594; Thu, 20 Nov 2014 21:23:13 -0800 (PST) Received: from [10.64.27.119] ([69.53.236.236]) by mx.google.com with ESMTPSA id ml5sm3592772pab.32.2014.11.20.21.23.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Nov 2014 21:23:12 -0800 (PST) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_A5C918C5-AA0B-4F0D-B43E-64DD3A9FA6F1"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: ARMv6 -- pkg repo build From: Warner Losh In-Reply-To: <20141121042452.GD99957@funkthat.com> Date: Thu, 20 Nov 2014 22:23:09 -0700 Message-Id: References: <1416531121.7423.47.camel@bruno> <20141121011905.GC99957@funkthat.com> <1416537224.7423.49.camel@bruno> <20141121042452.GD99957@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 05:23:14 -0000 --Apple-Mail=_A5C918C5-AA0B-4F0D-B43E-64DD3A9FA6F1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 20, 2014, at 9:24 PM, John-Mark Gurney wrote: > Sean Bruno wrote this message on Thu, Nov 20, 2014 at 18:33 -0800: >> On Thu, 2014-11-20 at 17:19 -0800, John-Mark Gurney wrote: >>> Sean Bruno wrote this message on Thu, Nov 20, 2014 at 16:52 -0800: >>>> = http://chips.ysv.freebsd.org/build.html?mastername=3D11armv6-11armv6&build= =3D2014-11-21_00h06m29s >>>>=20 >>>> I'm making an attempt at ARMv6 packages this week. If you see >>>> ports that you know how to fix fail (e.g. bmake or = deforas-libsystem) >>>> file a bugzilla ticket with your proposed fixes and I'll drive them = into >>>> the tree. >>>>=20 >>>> Once this build is done, an ARMv6 package repo will be available on >>>> this server for alpha testing while we figure out some mechanical = bits >>>> to the qemu-emulation I'm using. >>>=20 >>> re: cuse4bsd failing: >>>=20 >>> a) not sure why cuse4bsd is being built as a port, since it's been >>> integrated into HEAD as cuse.. >>>=20 >>=20 >> Ah, that is odd. I wonder if we've resolved all the dependencies to >> make ports depend on the base system component? >=20 > It's only been in head for 5 months, so it's possible that the porters > don't know about it yet.. >=20 > Imported: > https://svnweb.freebsd.org/changeset/base/r266581 >=20 > Enabled w/ version bump (1100023 has cuse): > https://svnweb.freebsd.org/changeset/base/r267440 >=20 > After this I looked at the skipped ports, and there are a handful > (30+) that were skipped because of cuse being missing... >=20 >>> b) this looks like a mismatch w/ headers, trying to use machine = local >>> headers instead of arm's... >>=20 >> Odd, this is being done in a jail, even with all my hackery, this >> shouldn't be possible. However, if the build of the arm jail is = copying >> the wrong headers into it in the first place, that's different. >=20 > Ahh, it's an issue w/ sys/conf/kmod.mk when it builds the machine > link... In kmod.mk it does: > ${.OBJDIR}/${_link}: > @case ${.TARGET:T} in \ > machine) \ > path=3D${SYSDIR}/${MACHINE}/include ;; \ >=20 > So, looks like MACHINE isn't set correctly, or MACHINE isn't what's > suppose to be here... Not sure which is correct=85 this is correct. MACHINE should be arm. If it is anything else, then bad = things are going to happen. There=92s safeties to prevent it, but are you sure you=92re saying = TARGET=3Darm TARGET_ARCH=3Darmv6? and not TARGET=3Darmv6? Warner --Apple-Mail=_A5C918C5-AA0B-4F0D-B43E-64DD3A9FA6F1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUbsw9AAoJEGwc0Sh9sBEAHs8P/1JHz+d5JTNHB43B74uSdVZB 14gwsOh1z8bUCPT9mt2k8b8t1HphmW4D8kZi3xoc8OE0gUFNVG9ate2mLQbyuLL0 KRY0VKUESnnsxCvf/Z9mDq+MWw7g86V7uQIkJ1xg4tv3fWyjnmILSluq24o5ght1 r8OQ+04QXsAFS8+t29iYs6iY3u3JEtJ53NHau9jfdsmCwpFG4naVpwcSTVWvZbwx GHDG6USYIHLwQkwKN+bzJM9Vbh2RB5ChZ+sCjEmP17UoR+oJuBKk0lAwQw5MwP18 wIYx9QVsRlvd5zamMlS5q+morS8Kh/hdwUodQ5xqHyuESoth0iNvP2EmnCgBWLOR OHtWrYvB6zS2+GyxpMhVpVvrQpXD/+udHS/soORcyvwiKXZOU9ekx5IJP+wVbeni iekMk+Ht92y7e+WWJVFyWHypj1Mlkb1B3tNxJzh/PuLWjt7vs6vjmDYES39yqCa5 ofHuM4Yu6LJatTpSZXsc2630/k6rIkyCo3SRp+iP76Si29/ZEEdsKz5c26ke0W5+ 3laZV6uR40KmvihFr1jvltkyK9+yjoAHzVd8msnfLRZlqwukDTmd/9uqA2rxDvdC GlejRa500e+dpMgm9l+N8kk0By4X+lmd+T38nn2bPL3IlMVSA9fnLwoRC85dMYgZ UhppvrhjCxEWAQLqKFpL =5G9Q -----END PGP SIGNATURE----- --Apple-Mail=_A5C918C5-AA0B-4F0D-B43E-64DD3A9FA6F1--