All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] README: Document need for 32bit compiler
@ 2019-10-07  5:20 Khem Raj
  2019-10-07  8:42 ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2019-10-07  5:20 UTC (permalink / raw)
  To: openembedded-devel

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, 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:
-- 
2.23.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] README: Document need for 32bit compiler
  2019-10-07  5:20 [meta-oe][PATCH] README: Document need for 32bit compiler Khem Raj
@ 2019-10-07  8:42 ` Adrian Bunk
  2019-10-07 14:31   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2019-10-07  8:42 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] README: Document need for 32bit compiler
  2019-10-07  8:42 ` Adrian Bunk
@ 2019-10-07 14:31   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2019-10-07 14:31 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: openembeded-devel

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
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-07 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07  5:20 [meta-oe][PATCH] README: Document need for 32bit compiler Khem Raj
2019-10-07  8:42 ` Adrian Bunk
2019-10-07 14:31   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.