ARMv6 -- pkg repo build

Sean Bruno sbruno at ignoranthack.me
Fri Nov 21 17:19:21 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20141121/5b8aa430/attachment.sig>


More information about the freebsd-arm mailing list