On Sat, May 08, 2021 at 08:57:39AM -0700, Khem Raj wrote: > This ensures that WORDSIZE is as per the target, currently this does not > get it right for cross-compilation env, and OE uses multilib headers by > default ( even when you do not use multilib ) which means if WORDSIZE > is wrong it will go on to include wrong headers due to these artificial stubs > > Fixes > swig -python -py3 > -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.1.0/include > > -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.1.0/include-fixed > > -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/lib/aarch64-oe-linux/11.1.0/include > > -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include > > -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include > > -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include/python3.9 > -I/usr/include/openssl -includeall -modern -builtin -outdir > TOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/M2Crypto-0.37.1/M2Crypto > -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i > > TOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include/openssl/opensslconf.h:23: > Error: Unable to find 'openssl/opensslconf-32.h' > > Signed-off-by: Khem Raj <[email protected]> > Cc: Martin Jansa <[email protected]> > --- > v1->v2: > - Fix typos in commit > - Drop do_configure_prepend as its no longer needed
Thanks Khem Acked-by: Martin Jansa <[email protected]>
signature.asc
Description: PGP signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#91203): https://lists.openembedded.org/g/openembedded-devel/message/91203 Mute This Topic: https://lists.openembedded.org/mt/82680640/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
