All of lore.kernel.org
 help / color / mirror / Atom feed
From: "François Perrad" <francois.perrad@gadz.org>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
Date: Tue, 17 Jul 2012 10:26:25 +0200	[thread overview]
Message-ID: <CAB0FRstqKPq8FoJiN5PgC+jqHX0q=uq8sBr6w8y2f_k7+sM-8A@mail.gmail.com> (raw)
In-Reply-To: <20120716140847.085F496974@busybox.osuosl.org>

try this patch http://patchwork.ozlabs.org/patch/171357/ ,
some wrong dependencies may cause problem when using make -jN

currently, lua & luac are linked with liblua.so, but depend on liblua.a

Fran?ois

2012/7/16  <bugzilla@busybox.net>:
> https://bugs.busybox.net/show_bug.cgi?id=5354
>
> --- Comment #7 from Vincent de RIBOU <belzo2005-dolphin@yahoo.fr> 2012-07-16 14:08:46 UTC ---
> my new log during host-lua build
>
>
>>>> host-lua 5.1.5 Extracting
> gzip -d -c /home/vincent/BR2/buildroot/dl/lua-5.1.5.tar.gz | tar
> --strip-components=1 -C /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.5
> -xf -
>>>> host-lua 5.1.5 Patching package//lua
>
> Applying lua-root-path.patch using patch:
> patching file src/luaconf.h
>
> Applying lua-shared-libs.patch using patch:
> patching file Makefile
> patching file src/ldo.h
> patching file src/lfunc.h
> patching file src/lmem.h
> patching file src/lstring.h
> patching file src/lundump.h
> patching file src/Makefile
>>>> host-lua 5.1.5 Configuring
>>>> host-lua 5.1.5 Building
> sed -i -e 's/-O2//'
> /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.5/src/Makefile
> sed -i -e 's/\/usr\/local/\/usr/'
> /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.5/etc/lua.pc
> /usr/bin/make -j8 MYCFLAGS="-fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX"
> MYLIBS="-ldl" PKG_VERSION=5.1.5 -C
> /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.5/src all
> make[2]: warning: -jN forced in submake: disabling jobserver mode.
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lapi.o lapi.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lcode.o lcode.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o ldebug.o ldebug.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o ldo.o ldo.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o ldump.o ldump.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lfunc.o lfunc.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lgc.o lgc.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o llex.o llex.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lmem.o lmem.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lobject.o lobject.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lopcodes.o lopcodes.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lparser.o lparser.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lstate.o lstate.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lstring.o lstring.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o ltable.o ltable.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o ltm.o ltm.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lundump.o lundump.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lvm.o lvm.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lzio.o lzio.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lauxlib.o lauxlib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lbaselib.o lbaselib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o ldblib.o ldblib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o liolib.o liolib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lmathlib.o lmathlib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o loslib.o loslib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o ltablib.o ltablib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lstrlib.o lstrlib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o loadlib.o loadlib.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o linit.o linit.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o lua.o lua.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o luac.o luac.c
> gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX   -c -o print.o print.c
> ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o
> lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o
> lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o
> loslib.o ltablib.o lstrlib.o loadlib.o linit.o    # DLL needs all object files
> gcc -o liblua.so.5.1.5 -shared -Wl,-soname="liblua.so.5.1.5" lapi.o lcode.o
> ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o
> lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o
> lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o
> linit.o -nostdlib -lgcc
> ranlib liblua.a
> gcc -o lua -L. -llua  lua.o liblua.a -lm -ldl
> gcc -o luac -L. -llua  luac.o print.o lopcodes.o liblua.a -lm -ldl
> ldebug.o: In function `addinfo':
> ldebug.c:(.text+0x1822): undefined reference to `__stack_chk_fail_local'
> ldo.o: In function `luaD_callhook':
> ldo.c:(.text+0x825): undefined reference to `__stack_chk_fail_local'
> ldump.o: In function `DumpHeader':
> ldump.c:(.text+0x54a): undefined reference to `__stack_chk_fail_local'
> llex.o: In function `luaX_lexerror':
> llex.c:(.text+0x31b): undefined reference to `__stack_chk_fail_local'
> lobject.o: In function `luaO_pushvfstring':
> lobject.c:(.text+0x632): undefined reference to `__stack_chk_fail_local'
> lundump.o:lundump.c:(.text+0x9a9): more undefined references to
> `__stack_chk_fail_local' follow
> collect2: ld returned 1 exit status
> make[2]: *** [liblua.so] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: ***
> [/home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.5/.stamp_built] Error 2
> make: *** [all] Error 2
>
> --
> Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2012-07-17  8:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
2012-07-13 12:32 ` [Buildroot] [Bug 5354] " bugzilla at busybox.net
2012-07-13 12:47 ` bugzilla at busybox.net
2012-07-13 20:50 ` bugzilla at busybox.net
2012-07-15 11:45 ` bugzilla at busybox.net
2012-07-15 21:33 ` bugzilla at busybox.net
2012-07-16 14:05 ` bugzilla at busybox.net
2012-07-16 14:06 ` bugzilla at busybox.net
2012-07-16 14:08 ` bugzilla at busybox.net
2012-07-17  8:26   ` François Perrad [this message]
2012-11-17 21:24 ` bugzilla at busybox.net
2013-05-26 13:40 ` bugzilla at busybox.net

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='CAB0FRstqKPq8FoJiN5PgC+jqHX0q=uq8sBr6w8y2f_k7+sM-8A@mail.gmail.com' \
    --to=francois.perrad@gadz.org \
    --cc=buildroot@busybox.net \
    /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.