diff mbox series

[oe,meta-oe] README: Document need for 32bit compiler

Message ID 20191007052019.1127879-1-raj.khem@gmail.com
State Accepted
Commit da6db0b815e698f68ef9cca9c6e2c7fffaf6efd9
Headers show
Series [oe,meta-oe] README: Document need for 32bit compiler | expand

Commit Message

Khem Raj Oct. 7, 2019, 5:20 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/README | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Adrian Bunk Oct. 7, 2019, 8:42 a.m. UTC | #1
On Sun, Oct 06, 2019 at 10:20:19PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta-oe/README | 7 +++++++

>  1 file changed, 7 insertions(+)

> 

> diff --git a/meta-oe/README b/meta-oe/README

> index 0e9f8423bd..347816b0d1 100644

> --- a/meta-oe/README

> +++ b/meta-oe/README

> @@ -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

-- 

       "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

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Khem Raj Oct. 7, 2019, 2:31 p.m. UTC | #2
On Mon, Oct 7, 2019 at 1:42 AM Adrian Bunk <bunk@stusta.de> wrote:
>

> On Sun, Oct 06, 2019 at 10:20:19PM -0700, Khem Raj wrote:

> > Signed-off-by: Khem Raj <raj.khem@gmail.com>

> > ---

> >  meta-oe/README | 7 +++++++

> >  1 file changed, 7 insertions(+)

> >

> > diff --git a/meta-oe/README b/meta-oe/README

> > index 0e9f8423bd..347816b0d1 100644

> > --- a/meta-oe/README

> > +++ b/meta-oe/README

> > @@ -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".

>


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

> 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

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/README b/meta-oe/README
index 0e9f8423bd..347816b0d1 100644
--- a/meta-oe/README
+++ b/meta-oe/README
@@ -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 openembedded-devel@lists.openembedded.org with '[meta-oe]' in the subject'
 
 When sending single patches, please use something like: