[OE-core] [PATCH] libjpeg-turbo: fix build on aarch64 or non-intel build hosts

Maxin B. John maxin.john at intel.com
Thu Mar 30 08:09:56 UTC 2017


Hi Tristan,

On Wed, Mar 29, 2017 at 06:44:38PM -0700, Andre McCurdy wrote:
> On Wed, Mar 29, 2017 at 5:11 AM, Tristan Van Berkom
> <tristan.vanberkom at codethink.co.uk> wrote:
> > This is already filed in the appropriate bugzilla:
> >    https://bugzilla.yoctoproject.org/show_bug.cgi?id=11240
> >
> > Just notifying the list as the custom goes...
> >
> > libjpeg-turbo in recipes-graphics has an unconditional dependency on
> > nasm-native, which is intel specific and wont be provided on non intel
> > arches.

Yes, nasm is intel specific. However, we should be able to run nasm on other
archs like arm/aarch64 as it claims to be a portable 80x86 assembler.

> > Attaching a patch which fixes this by only requiring nasm-native when
> > targeting intel architectures.
> 
> Even with this patch, trying to build for an x86 target on an aarch64
> host will still fail, right?

Agree with Andre here. I would suggest to update nasm recipe to support
build for other archs as well (tested on arm and it works as expected. Will
require more testing on other archs).

> > Cheers,
> >     -Tristan

Best Regards,
Maxin



More information about the Openembedded-core mailing list