Skip to contentSkip to conversation

README: Document need for 32bit compiler

PATCH In review Khem Raj 2 participants 3 messages Oct 7, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 README: Document need for 32bit compiler

---
 meta-oe/README | 7 +++++++
 1 file changed, 7 insertions(+)
meta-oe/README +7 -0
index 0e9f8423bd..347816b0d1 100644
@@ -7,6 +7,13 @@ URI: git://github.com/openembedded/openembedded-core.git
 branch: master
 revision: HEAD
 
+luajit recipe requires host compiler to be able to generate 32bit code when target is 32bit
+e.g. arm, so ensure that $CC -m32 is functional on build host, if building this recipe, needed
+packages to fullfit this might have different names on different host distributions
+e.g. on archlinux based distributions install prerequisites like below
+
+pacman -S lib32-gcc-libs lib32-glibc
+
 Send pull requests to [email protected] with '[meta-oe]' in the subject'
 
 When sending single patches, please use something like:
Signature · 1 line
2.23.0
#1 lore raw
Quoted 10 lines · Khem Raj
---
 meta-oe/README | 7 +++++++
 1 file changed, 7 insertions(+)
meta-oe/README +0 -0
index 0e9f8423bd..347816b0d1 100644

meta-oe/README URI: git://github.com/openembedded/openembedded-core.git · line 11

Quoted 6 lines
meta-oe/README +2 -0
@@ -7,6 +7,13 @@ URI: git://github.com/openembedded/openembedded-core.git
 branch: master
 revision: HEAD
 
+luajit recipe requires host compiler to be able to generate 32bit code when target is 32bit
+e.g. arm, so ensure that $CC -m32 is functional on build host,
...

This would imply "cannot be built on arm64 hosts for 32bit targets".

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
author
#2 lore raw
Quoted 15 lines · Adrian Bunk
Quoted 13 lines · Khem Raj
---
 meta-oe/README | 7 +++++++
 1 file changed, 7 insertions(+)
meta-oe/README +0 -0
index 0e9f8423bd..347816b0d1 100644
@@ -7,6 +7,13 @@ URI: git://github.com/openembedded/openembedded-core.git
 branch: master
 revision: HEAD
 
Quoted 6 lines

meta-oe/README URI: git://github.com/openembedded/openembedded-core.git · line 11

Quoted 3 lines
meta-oe/README +2 -0
+luajit recipe requires host compiler to be able to generate 32bit code when target is 32bit
+e.g. arm, so ensure that $CC -m32 is functional on build host,
...

This would imply "cannot be built on arm64 hosts for 32bit targets".

Mostly yes, but I have not tried an aarch64 host for this, maybe worth trying to build
for qemux86 on aarch build machine.

Quoted 10 lines

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed