From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: luajit fails to build
Date: Fri, 30 Oct 2015 16:03:31 +0100 [thread overview]
Message-ID: <20151030150331.GA2566@jama> (raw)
In-Reply-To: <CALbNGRTYMJ_Fwg3nj0Mwk1fGWLKGUjOZawSOfRU+9GZmbXMzaQ@mail.gmail.com>
[-- 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 --]
next prev parent reply other threads:[~2015-10-30 15:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-30 6:27 luajit fails to build Andreas Müller
2015-10-30 15:03 ` Martin Jansa [this message]
2015-10-30 20:58 ` Khem Raj
2015-10-30 21:22 ` Andreas Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151030150331.GA2566@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.