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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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=${SYSDIR}/${MACHINE}/include ;; \
> > > >
> > > > So, looks like MACHINE isn't set correctly, or MACHINE isn't what's
> > > > suppose to be here... Not sure which is correct…
> > >
> > > this is correct. MACHINE should be arm. If it is anything else, then bad things
> > > are going to happen.
> > >
> > > There’s safeties to prevent it, but are you sure you’re saying TARGET=arm
> > > TARGET_ARCH=armv6? and not TARGET=armv6?
> > >
> > > Warner
> >
> >
> > I'm positive. The poudriere code accepts takes "-a TARGET.TARGET_ARCH"
> > and nowhere in the code does it substitue armv6 for armv7
> >
> > sean
>
>
> Full output from:
>
> poudriere jail -c -j 11armv6 -m svn -v head -a arm.armv6 -x
>
> https://people.freebsd.org/~sbruno/poudriere_arm_armv6.txt
>
> See anything odd in there?
>
> 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
[-- Attachment #2 --]
-----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-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1416590359.7423.61.camel>
