aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-09-30 11:33:46 +0200
committerKhem Raj <raj.khem@gmail.com>2021-09-30 08:50:42 -0700
commitc9121e1ae497088687ccc386a81b97b503a51db1 (patch)
treee3b41412747692445748d630b488590598f1fbf9
parentddf3442b62ad3b9a7562ab1683fc3810f82bb62a (diff)
downloadmeta-openembedded-c9121e1ae497088687ccc386a81b97b503a51db1.tar.gz
README: mention linux-libc-dev:i386 for luajit on ubuntu-21.10
* for host* parts you need to install linux-libc-dev:i386 on ubuntu-21.10 (not pulled by gcc-multilib already mentioned in meta-oe/README), otherwise build for 32bit target will fail like this: cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/git/src$ gcc -m32 -Wall -I. -DLUAJIT_TARGET=LUAJIT_ARCH_arm -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -isystem/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o host/minilua.o host/minilua.c In file included from /usr/include/bits/errno.h:26, from /usr/include/errno.h:28, from host/minilua.c:40: /usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory 1 | #include <asm/errno.h> | ^~~~~~~~~~~~~ compilation terminated. while for 64bit taget it would build without -m32 and work fine without linux-libc-dev:i386: cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/git/src$ gcc -Wall -I. -DLUAJIT_TARGET=LUAJIT_ARCH_arm -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -isystem/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/luajit/2.1.0~beta3-210112-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o host/minilua.o host/minilua.c <OK> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/README b/meta-oe/README
index bf17415391..676a2c8925 100644
--- a/meta-oe/README
+++ b/meta-oe/README
@@ -14,7 +14,7 @@ e.g. on archlinux based distributions install prerequisites like below
pacman -S lib32-gcc-libs lib32-glibc
Ubuntu
-sudo apt-get install gcc-multilib
+sudo apt-get install gcc-multilib linux-libc-dev:i386
Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-oe]' in the subject'