New: host-lua doesn't build for EFL elementary
https://bugs.busybox.net/show_bug.cgi?id=5354
Summary: host-lua doesn't build for EFL elementary
Product: buildroot
Version: 2012.02
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: belzo2005-dolphin at yahoo.fr
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Hi all,
I used qemu_x86_defconfig on x86_64 ubuntu precise host, activating more EFL packages with elementary default dependencies.
In building host-lua package, it complains about missing symbols.
Using GCC4.7, same status but not exactly the same reason.
I am bulding with uptodate GIT tree master on July 13rd.
Anyone can help me??
Regards,
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
https://bugs.busybox.net/show_bug.cgi?id=5354
Vincent de RIBOU <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 |P3
Severity|minor |majorSignature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #1 from Vincent de RIBOU <[email protected]> 2012-07-13 12:47:41 UTC --- Here it is the log:
make -C /home/vincent/BR2/buildroot O=/home/vincent/BR2/qemu-i686-build/. host-lua
Quoted 1 line
Quoted 1 line
Quoted 1 line
host-lua 5.1.4 Extracting
gzip -d -c /home/vincent/BR2/buildroot/dl/lua-5.1.4.tar.gz | tar --strip-components=1 -C /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.4 -xf -
Quoted 1 line
Quoted 1 line
Quoted 1 line
host-lua 5.1.4 Patching package//lua
Applying lua-bug3-boolean_expression.patch using patch:
patching file src/lcode.c
Applying lua-bug4-table.patch using patch:
patching file src/lvm.c
Applying lua-bug5-debug_getfenv.patch using patch:
patching file src/ldblib.c
Applying lua-bug6-gc_performance.patch using patch:
patching file src/llex.c
Applying lua-bug7-string_format.patch using patch:
patching file src/lstrlib.c
Applying lua-bug8-io_read.patch using patch:
patching file src/liolib.c
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
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
host-lua 5.1.4 Configuring
host-lua 5.1.4 Building
sed -i -e 's/-O2//' /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.4/src/Makefile sed -i -e 's/\/usr\/local/\/usr/' /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.4/etc/lua.pc /usr/bin/make -j8 MYCFLAGS="-fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX" MYLIBS="-ldl" PKG_VERSION=5.1.4 -C /home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.4/src all
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
gcc -o liblua.so.5.1.4 -shared -Wl,-soname="liblua.so.5.1.4" 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
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[1]: *** [/home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.4/.stamp_built] Error 2
make: *** [all] Error 2
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #2 from Thomas Petazzoni <[email protected]> 2012-07-13 20:50:23 UTC --- Could you attach your Buildroot .config file? This would allow us to try to
reproduce your problem. Thanks.
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #3 from Vincent de RIBOU <[email protected]> 2012-07-15 11:45:16 UTC --- Hi,
Since this morning, it seems to build on upgraded lua 5.1.4->5.1.5 version (with new patches set).
no more help needed now.
thank you
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Thomas Petazzoni <[email protected]> 2012-07-15 21:33:06 UTC --- Thanks.
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #5 from Vincent de RIBOU <[email protected]> 2012-07-16 14:05:33 UTC --- Created attachment 4418
--> https://bugs.busybox.net/attachment.cgi?id=4418
config file
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
Vincent de RIBOU <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |--- Comment #6 from Vincent de RIBOU <[email protected]> 2012-07-16 14:06:40 UTC --- I thought this bug was out of date, but it still occurs.
Please find in attachment my config file.
Regards,
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #7 from Vincent de RIBOU <[email protected]> 2012-07-16 14:08:46 UTC --- my new log during host-lua build
Quoted 1 line
Quoted 1 line
Quoted 1 line
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 -
Quoted 1 line
Quoted 1 line
Quoted 1 line
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
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
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 <[email protected]>:
Quoted 104 lines
https://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #7 from Vincent de RIBOU <[email protected]> 2012-07-16 14:08:46 UTC --- my new log during host-lua build
Quoted 1 line
Quoted 1 line
Quoted 1 line
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 -Quoted 1 line
Quoted 1 line
Quoted 1 line
host-lua 5.1.5 Patching package//lua
Applying lua-root-path.patch using patch:
patching filesrc/luaconf.hApplying lua-shared-libs.patch using patch:
patching fileMakefile
patching filesrc/ldo.h
patching filesrc/lfunc.h
patching filesrc/lmem.h
patching filesrc/lstring.h
patching filesrc/lundump.h
patching file src/MakefileQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
host-lua 5.1.5 Configuring
host-lua 5.1.5 Buildingsed -i -e 's/-O2//'
/home/vincent/BR2/qemu-i686-build/build/host-lua-5.1.5/src/Makefilesed -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/srcall 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.car 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 functionluaD_callhook':
ldo.c:(.text+0x825): undefined reference to__stack_chk_fail_local' ldump.o: In functionDumpHeader':
ldump.c:(.text+0x54a): undefined reference to__stack_chk_fail_local' llex.o: In functionluaX_lexerror':
llex.c:(.text+0x31b): undefined reference to__stack_chk_fail_local' lobject.o: In functionluaO_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
[Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #8 from Peter Korsgaard <[email protected]> 2012-11-17 21:24:54 UTC --- It is most likely because the shared library was linked with -nostdlib -lgcc. I've just committed a fix for that to git (684f208ec 'lua: don't be fancy when creating shared library'), could you give it a try to see if it fixes your issue?
Signature · 3 lines
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] [Bug 5354] host-lua doesn't build for EFL elementary
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5354
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WORKSFORME--- Comment #9 from Thomas Petazzoni <[email protected]> 2013-05-26 13:38:52 UTC --- Peter believes it was fixed, and asked the bug reporter to test this more than
6 months. Since this hasn't happened until now, I'm closing the bug.
Vincent, if you're still seeing the issue with the latest Buildroot version, do not hesitate to reopen this bug and provide the updated details. Thanks!
Signature · 3 lines
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.