Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2014 09:19:19 -0800
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: ARMv6 -- pkg repo build
Message-ID:  <1416590359.7423.61.camel@bruno>
In-Reply-To: <1416585106.7423.52.camel@bruno>
References:  <1416531121.7423.47.camel@bruno> <20141121011905.GC99957@funkthat.com> <1416537224.7423.49.camel@bruno> <20141121042452.GD99957@funkthat.com> <E80D1B56-C606-44BB-A676-2B08F9A93483@bsdimp.com> <1416579333.7423.51.camel@bruno>  <1416585106.7423.52.camel@bruno>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-UvUZjbD8uUzBLhqIkKqE
Content-Type: text/plain; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable

On Fri, 2014-11-21 at 07:51 -0800, Sean Bruno wrote:
> On Fri, 2014-11-21 at 06:15 -0800, Sean Bruno wrote:
> > > > 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
> > >=20
> > > this is correct. MACHINE should be arm. If it is anything else, then =
bad things
> > > are going to happen.
> > >=20
> > > There=92s safeties to prevent it, but are you sure you=92re saying TA=
RGET=3Darm
> > > TARGET_ARCH=3Darmv6? and not TARGET=3Darmv6?
> > >=20
> > > Warner
> >=20
> >=20
> > I'm positive.  The poudriere code accepts takes "-a TARGET.TARGET_ARCH"
> > and nowhere in the code does it substitue armv6 for armv7
> >=20
> > sean
>=20
>=20
> Full output from:
>=20
> poudriere jail -c -j 11armv6 -m svn -v head -a arm.armv6 -x
>=20
> https://people.freebsd.org/~sbruno/poudriere_arm_armv6.txt
>=20
> See anything odd in there?
>=20
> sean


Hrm ... I notice that MACHINE_CPU is set to the host version (amd64) and
not the jail version in my port builds.  So, for things like math/fftw3,
it tries to compile with x86 cpu options.  I wonder if this is causing
grief and how I should work around this?

sean

--=-UvUZjbD8uUzBLhqIkKqE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAABCgBmBQJUb3QXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5klSYH/R1CSTmNqm3b7HUAmttseIfP
AL5lR5RRR1okpKx6HXVUrF6oJdD/3QZnLB4djdddpQgHJgS6+zMKQde+OOtan399
jkoMZLk7cWccEXTyL7BXUXRSdbE9Hg/HKp9PEq2Slam2nZmJP1MtU4J1mpdpdSoL
oOTZhB963zEwKdatHnaCZkgB0RL+5c2xkq1c92K1isCSKUdMfgZdhajPmKH27bu/
Y5qR5r5vN78+GZVXsuCrVIfrYoGkFu8DGnKV1GZ8uDijUCwGGOlC5rTRpqAHeADZ
ON7/Kc6vXbUtmGI/trBJeUTICMRM2Jowl9ZCctMlvnG8BNB3SKMEbCkCLHlQhjU=
=SAay
-----END PGP SIGNATURE-----

--=-UvUZjbD8uUzBLhqIkKqE--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1416590359.7423.61.camel>