All of lore.kernel.org
 help / color / mirror / Atom feed
* luajit fails to build
@ 2015-10-30  6:27 Andreas Müller
  2015-10-30 15:03 ` Martin Jansa
  2015-10-30 20:58 ` Khem Raj
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Müller @ 2015-10-30  6:27 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Hi with latest masters luajit fails to build. I did already test - it
is the same for luajit 2.04. I get

ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at
/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
ERROR: Logfile of failure stored in:
/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j8 CROSS=arm-angstrom-linux-gnueabi- TARGET_CFLAGS=
--sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
-march=armv7-a -mthumb  -mthumb-interwork -mfloat-abi=hard
-mfpu=neon-vfpv4 -mtune=cortex-a7 TARGET_LDFLAGS=
--sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
TARGET_SHLDFLAGS=
--sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
TARGET_STRIP=/bin/echo HOST_CC=gcc  -m32
| ==== Building LuaJIT 2.1.0-beta1 ====
| make -C src
| make[1]: Entering directory
'/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
| HOSTCC    host/buildvm_peobj.o
| HOSTCC    host/minilua.o
| HOSTCC    host/buildvm_asm.o
| CC        lj_gc.o
| HOSTCC    host/buildvm_fold.o
| HOSTCC    host/buildvm_lib.o
| CC        lj_char.o
| CC        lj_obj.o
| In file included from /usr/include/features.h:389:0,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_peobj.c:9:
| /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| In file included from /usr/include/features.h:389:0,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_lib.c:6:
| /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| In file included from /usr/include/features.h:389:0,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_fold.c:6:
| /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| compilation terminated.
| compilation terminated.
| In file included from /usr/include/features.h:389:0,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_asm.c:6:
| /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| In file included from /usr/include/features.h:389:0,
|                  from /usr/include/limits.h:25,
|                  from
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:168,
|                  from
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/syslimits.h:7,
|                  from
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:34,
|                  from host/minilua.c:33:
| /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| Makefile:672: recipe for target 'host/buildvm_fold.o' failed
| make[1]: *** [host/buildvm_fold.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| Makefile:672: recipe for target 'host/buildvm_lib.o' failed
| make[1]: *** [host/buildvm_lib.o] Error 1
| Makefile:672: recipe for target 'host/buildvm_peobj.o' failed
| make[1]: *** [host/buildvm_peobj.o] Error 1
| Makefile:672: recipe for target 'host/minilua.o' failed
| make[1]: *** [host/minilua.o] Error 1
| Makefile:672: recipe for target 'host/buildvm_asm.o' failed
| make[1]: *** [host/buildvm_asm.o] Error 1
| make[1]: Leaving directory
'/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
| Makefile:105: recipe for target 'default' failed
| make: *** [default] Error 2
| WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/run.do_compile.9725:1
exit 1 from
|   exit 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at
/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
ERROR: Task 7633
(/home/superandy/data/oe-core/sources/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.1.bb,
do_compile) failed with exit code '1'

Seems it tries to use my host headers. Anybody with an idea why it does that?

Andreas


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

* Re: luajit fails to build
  2015-10-30  6:27 luajit fails to build Andreas Müller
@ 2015-10-30 15:03 ` Martin Jansa
  2015-10-30 20:58 ` Khem Raj
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2015-10-30 15:03 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 5951 bytes --]

On Fri, Oct 30, 2015 at 07:27:00AM +0100, Andreas Müller wrote:
> Hi with latest masters luajit fails to build. I did already test - it
> is the same for luajit 2.04. I get
> 
> ERROR: oe_runmake failed
> ERROR: Function failed: do_compile (log file is located at
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
> ERROR: Logfile of failure stored in:
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j8 CROSS=arm-angstrom-linux-gnueabi- TARGET_CFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> -march=armv7-a -mthumb  -mthumb-interwork -mfloat-abi=hard
> -mfpu=neon-vfpv4 -mtune=cortex-a7 TARGET_LDFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> TARGET_SHLDFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> TARGET_STRIP=/bin/echo HOST_CC=gcc  -m32
> | ==== Building LuaJIT 2.1.0-beta1 ====
> | make -C src
> | make[1]: Entering directory
> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
> | HOSTCC    host/buildvm_peobj.o
> | HOSTCC    host/minilua.o
> | HOSTCC    host/buildvm_asm.o
> | CC        lj_gc.o
> | HOSTCC    host/buildvm_fold.o
> | HOSTCC    host/buildvm_lib.o
> | CC        lj_char.o
> | CC        lj_obj.o
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_peobj.c:9:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_lib.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_fold.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | compilation terminated.
> | compilation terminated.
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_asm.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/limits.h:25,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:168,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/syslimits.h:7,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:34,
> |                  from host/minilua.c:33:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | Makefile:672: recipe for target 'host/buildvm_fold.o' failed
> | make[1]: *** [host/buildvm_fold.o] Error 1
> | make[1]: *** Waiting for unfinished jobs....
> | Makefile:672: recipe for target 'host/buildvm_lib.o' failed
> | make[1]: *** [host/buildvm_lib.o] Error 1
> | Makefile:672: recipe for target 'host/buildvm_peobj.o' failed
> | make[1]: *** [host/buildvm_peobj.o] Error 1
> | Makefile:672: recipe for target 'host/minilua.o' failed
> | make[1]: *** [host/minilua.o] Error 1
> | Makefile:672: recipe for target 'host/buildvm_asm.o' failed
> | make[1]: *** [host/buildvm_asm.o] Error 1
> | make[1]: Leaving directory
> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
> | Makefile:105: recipe for target 'default' failed
> | make: *** [default] Error 2
> | WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/run.do_compile.9725:1
> exit 1 from
> |   exit 1
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (log file is located at
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
> ERROR: Task 7633
> (/home/superandy/data/oe-core/sources/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.1.bb,
> do_compile) failed with exit code '1'
> 
> Seems it tries to use my host headers. Anybody with an idea why it does that?

Here it still fails with:
| -- Detecting CXX compile features - done
| -- Could NOT find Lua51 (missing:  LUA_LIBRARIES)
| CMake Error at CMakeLists.txt:128 (message):
|   Couldn't find system LuaJIT or Lua

Even after Khem's update, he also sent separate lua5.1 recipe, but
without adding dependency on it from sysdig. I'm trying if it fails
after replacing luajit with lua5.1 in depends.

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

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: luajit fails to build
  2015-10-30  6:27 luajit fails to build Andreas Müller
  2015-10-30 15:03 ` Martin Jansa
@ 2015-10-30 20:58 ` Khem Raj
  2015-10-30 21:22   ` Andreas Müller
  1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2015-10-30 20:58 UTC (permalink / raw)
  To: openembeded-devel

On Thu, Oct 29, 2015 at 11:27 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> Hi with latest masters luajit fails to build. I did already test - it
> is the same for luajit 2.04. I get
>
> ERROR: oe_runmake failed
> ERROR: Function failed: do_compile (log file is located at
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
> ERROR: Logfile of failure stored in:
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j8 CROSS=arm-angstrom-linux-gnueabi- TARGET_CFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> -march=armv7-a -mthumb  -mthumb-interwork -mfloat-abi=hard
> -mfpu=neon-vfpv4 -mtune=cortex-a7 TARGET_LDFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> TARGET_SHLDFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> TARGET_STRIP=/bin/echo HOST_CC=gcc  -m32
> | ==== Building LuaJIT 2.1.0-beta1 ====
> | make -C src
> | make[1]: Entering directory
> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
> | HOSTCC    host/buildvm_peobj.o
> | HOSTCC    host/minilua.o
> | HOSTCC    host/buildvm_asm.o
> | CC        lj_gc.o
> | HOSTCC    host/buildvm_fold.o
> | HOSTCC    host/buildvm_lib.o
> | CC        lj_char.o
> | CC        lj_obj.o
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_peobj.c:9:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_lib.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_fold.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | compilation terminated.
> | compilation terminated.
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_asm.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/limits.h:25,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:168,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/syslimits.h:7,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:34,
> |                  from host/minilua.c:33:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | Makefile:672: recipe for target 'host/buildvm_fold.o' failed
> | make[1]: *** [host/buildvm_fold.o] Error 1
> | make[1]: *** Waiting for unfinished jobs....
> | Makefile:672: recipe for target 'host/buildvm_lib.o' failed
> | make[1]: *** [host/buildvm_lib.o] Error 1
> | Makefile:672: recipe for target 'host/buildvm_peobj.o' failed
> | make[1]: *** [host/buildvm_peobj.o] Error 1
> | Makefile:672: recipe for target 'host/minilua.o' failed
> | make[1]: *** [host/minilua.o] Error 1
> | Makefile:672: recipe for target 'host/buildvm_asm.o' failed
> | make[1]: *** [host/buildvm_asm.o] Error 1
> | make[1]: Leaving directory
> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
> | Makefile:105: recipe for target 'default' failed
> | make: *** [default] Error 2
> | WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/run.do_compile.9725:1
> exit 1 from
> |   exit 1
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (log file is located at
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
> ERROR: Task 7633
> (/home/superandy/data/oe-core/sources/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.1.bb,
> do_compile) failed with exit code '1'
>
> Seems it tries to use my host headers. Anybody with an idea why it does that?

LuaJIT's cross build depends on  host compiler also being able to do
same bit length, which means for 32bit arches we need 32bit/i386
compiler
avaiable on host. So if your host is 64bit then installing
gcc-mulitliib package for your build host will be required.

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


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

* Re: luajit fails to build
  2015-10-30 20:58 ` Khem Raj
@ 2015-10-30 21:22   ` Andreas Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Müller @ 2015-10-30 21:22 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

On Fri, Oct 30, 2015 at 9:58 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Thu, Oct 29, 2015 at 11:27 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
>> Hi with latest masters luajit fails to build. I did already test - it
>> is the same for luajit 2.04. I get
>>
>> ERROR: oe_runmake failed
>> ERROR: Function failed: do_compile (log file is located at
>> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
>> ERROR: Logfile of failure stored in:
>> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725
>> Log data follows:
>> | DEBUG: Executing shell function do_compile
>> | NOTE: make -j8 CROSS=arm-angstrom-linux-gnueabi- TARGET_CFLAGS=
>> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
>> -march=armv7-a -mthumb  -mthumb-interwork -mfloat-abi=hard
>> -mfpu=neon-vfpv4 -mtune=cortex-a7 TARGET_LDFLAGS=
>> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
>> TARGET_SHLDFLAGS=
>> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
>> TARGET_STRIP=/bin/echo HOST_CC=gcc  -m32
>> | ==== Building LuaJIT 2.1.0-beta1 ====
>> | make -C src
>> | make[1]: Entering directory
>> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
>> | HOSTCC    host/buildvm_peobj.o
>> | HOSTCC    host/minilua.o
>> | HOSTCC    host/buildvm_asm.o
>> | CC        lj_gc.o
>> | HOSTCC    host/buildvm_fold.o
>> | HOSTCC    host/buildvm_lib.o
>> | CC        lj_char.o
>> | CC        lj_obj.o
>> | In file included from /usr/include/features.h:389:0,
>> |                  from /usr/include/sys/types.h:25,
>> |                  from host/buildvm.h:9,
>> |                  from host/buildvm_peobj.c:9:
>> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
>> file or directory
>> |  # include <gnu/stubs-32.h>
>> |                            ^
>> | In file included from /usr/include/features.h:389:0,
>> |                  from /usr/include/sys/types.h:25,
>> |                  from host/buildvm.h:9,
>> |                  from host/buildvm_lib.c:6:
>> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
>> file or directory
>> |  # include <gnu/stubs-32.h>
>> |                            ^
>> | In file included from /usr/include/features.h:389:0,
>> |                  from /usr/include/sys/types.h:25,
>> |                  from host/buildvm.h:9,
>> |                  from host/buildvm_fold.c:6:
>> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
>> file or directory
>> |  # include <gnu/stubs-32.h>
>> |                            ^
>> | compilation terminated.
>> | compilation terminated.
>> | compilation terminated.
>> | In file included from /usr/include/features.h:389:0,
>> |                  from /usr/include/sys/types.h:25,
>> |                  from host/buildvm.h:9,
>> |                  from host/buildvm_asm.c:6:
>> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
>> file or directory
>> |  # include <gnu/stubs-32.h>
>> |                            ^
>> | compilation terminated.
>> | In file included from /usr/include/features.h:389:0,
>> |                  from /usr/include/limits.h:25,
>> |                  from
>> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:168,
>> |                  from
>> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/syslimits.h:7,
>> |                  from
>> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:34,
>> |                  from host/minilua.c:33:
>> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
>> file or directory
>> |  # include <gnu/stubs-32.h>
>> |                            ^
>> | compilation terminated.
>> | Makefile:672: recipe for target 'host/buildvm_fold.o' failed
>> | make[1]: *** [host/buildvm_fold.o] Error 1
>> | make[1]: *** Waiting for unfinished jobs....
>> | Makefile:672: recipe for target 'host/buildvm_lib.o' failed
>> | make[1]: *** [host/buildvm_lib.o] Error 1
>> | Makefile:672: recipe for target 'host/buildvm_peobj.o' failed
>> | make[1]: *** [host/buildvm_peobj.o] Error 1
>> | Makefile:672: recipe for target 'host/minilua.o' failed
>> | make[1]: *** [host/minilua.o] Error 1
>> | Makefile:672: recipe for target 'host/buildvm_asm.o' failed
>> | make[1]: *** [host/buildvm_asm.o] Error 1
>> | make[1]: Leaving directory
>> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
>> | Makefile:105: recipe for target 'default' failed
>> | make: *** [default] Error 2
>> | WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/run.do_compile.9725:1
>> exit 1 from
>> |   exit 1
>> | ERROR: oe_runmake failed
>> | ERROR: Function failed: do_compile (log file is located at
>> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
>> ERROR: Task 7633
>> (/home/superandy/data/oe-core/sources/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.1.bb,
>> do_compile) failed with exit code '1'
>>
>> Seems it tries to use my host headers. Anybody with an idea why it does that?
>
> LuaJIT's cross build depends on  host compiler also being able to do
> same bit length, which means for 32bit arches we need 32bit/i386
> compiler
> avaiable on host. So if your host is 64bit then installing
> gcc-mulitliib package for your build host will be required.
>
Ahh that explains why it works on one of my machines - thanks. Is
there a chance to add a check for this and drop a note if host won't
match requirements?

Andreas


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

end of thread, other threads:[~2015-10-30 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30  6:27 luajit fails to build Andreas Müller
2015-10-30 15:03 ` Martin Jansa
2015-10-30 20:58 ` Khem Raj
2015-10-30 21:22   ` Andreas Müller

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.