* [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary
@ 2012-07-13 12:32 bugzilla at busybox.net
2012-07-13 12:32 ` [Buildroot] [Bug 5354] " bugzilla at busybox.net
` (9 more replies)
0 siblings, 10 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-13 12:32 UTC (permalink / raw)
To: buildroot
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,
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
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 ` bugzilla at busybox.net
2012-07-13 12:47 ` bugzilla at busybox.net
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-13 12:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
Vincent de RIBOU <belzo2005-dolphin@yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 |P3
Severity|minor |major
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
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
` (7 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-13 12:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #1 from Vincent de RIBOU <belzo2005-dolphin@yahoo.fr> 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
>>> 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 -
>>> 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
>>> 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
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
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
` (6 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-13 20:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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.
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
` (2 preceding siblings ...)
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
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-15 11:45 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #3 from Vincent de RIBOU <belzo2005-dolphin@yahoo.fr> 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
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
` (3 preceding siblings ...)
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
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-15 21:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-07-15 21:33:06 UTC ---
Thanks.
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
` (4 preceding siblings ...)
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
` (3 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-16 14:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #5 from Vincent de RIBOU <belzo2005-dolphin@yahoo.fr> 2012-07-16 14:05:33 UTC ---
Created attachment 4418
--> https://bugs.busybox.net/attachment.cgi?id=4418
config file
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
` (5 preceding siblings ...)
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
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-16 14:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
Vincent de RIBOU <belzo2005-dolphin@yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #6 from Vincent de RIBOU <belzo2005-dolphin@yahoo.fr> 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,
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
` (6 preceding siblings ...)
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
2012-11-17 21:24 ` bugzilla at busybox.net
2013-05-26 13:40 ` bugzilla at busybox.net
9 siblings, 1 reply; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-07-16 14:08 UTC (permalink / raw)
To: buildroot
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-16 14:08 ` bugzilla at busybox.net
@ 2012-07-17 8:26 ` François Perrad
0 siblings, 0 replies; 12+ messages in thread
From: François Perrad @ 2012-07-17 8:26 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
` (7 preceding siblings ...)
2012-07-16 14:08 ` bugzilla at busybox.net
@ 2012-11-17 21:24 ` bugzilla at busybox.net
2013-05-26 13:40 ` bugzilla at busybox.net
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2012-11-17 21:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
--- Comment #8 from Peter Korsgaard <jacmet@uclibc.org> 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?
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [Bug 5354] host-lua doesn't build for EFL elementary
2012-07-13 12:32 [Buildroot] [Bug 5354] New: host-lua doesn't build for EFL elementary bugzilla at busybox.net
` (8 preceding siblings ...)
2012-11-17 21:24 ` bugzilla at busybox.net
@ 2013-05-26 13:40 ` bugzilla at busybox.net
9 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2013-05-26 13:40 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5354
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WORKSFORME
--- Comment #9 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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!
--
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-05-26 13:40 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2012-11-17 21:24 ` bugzilla at busybox.net
2013-05-26 13:40 ` bugzilla at busybox.net
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.