* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
@ 2009-12-14 20:16 ` bugzilla at busybox.net
2009-12-14 20:21 ` Michael S. Zick
2009-12-14 22:05 ` bugzilla at busybox.net
` (7 subsequent siblings)
8 siblings, 1 reply; 13+ messages in thread
From: bugzilla at busybox.net @ 2009-12-14 20:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gustavo at zacarias.com.ar
--- Comment #1 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2009-12-14 20:16:31 UTC ---
You're probably missing a patch in your patch file since normally lua doesn't
build shared libs (a patch to lua's Makefile to be precise), maybe you forgot
to include it?
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-14 20:16 ` [Buildroot] [Bug 803] " bugzilla at busybox.net
@ 2009-12-14 20:21 ` Michael S. Zick
2009-12-14 20:53 ` Gustavo Zacarias
0 siblings, 1 reply; 13+ messages in thread
From: Michael S. Zick @ 2009-12-14 20:21 UTC (permalink / raw)
To: buildroot
On Mon December 14 2009, bugzilla at busybox.net wrote:
> https://bugs.busybox.net/show_bug.cgi?id=803
>
>
> Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |gustavo at zacarias.com.ar
>
>
>
>
> --- Comment #1 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2009-12-14 20:16:31 UTC ---
>
> You're probably missing a patch in your patch file since normally lua doesn't
> build shared libs (a patch to lua's Makefile to be precise), maybe you forgot
> to include it?
>
Depends on the version - but the current and recent version have had the makefile
reorganized to always build-in the standard libraries;
So yes, the makefile needs to be un-reorganized (by a patch?) to get Lua + shared
libraries out of it.
(The prior to 5.0 organization).
Mike
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-14 20:21 ` Michael S. Zick
@ 2009-12-14 20:53 ` Gustavo Zacarias
2009-12-14 21:00 ` Michael S. Zick
0 siblings, 1 reply; 13+ messages in thread
From: Gustavo Zacarias @ 2009-12-14 20:53 UTC (permalink / raw)
To: buildroot
Michael S. Zick wrote:
> Depends on the version - but the current and recent version have had the makefile
> reorganized to always build-in the standard libraries;
> So yes, the makefile needs to be un-reorganized (by a patch?) to get Lua + shared
> libraries out of it.
> (The prior to 5.0 organization).
>
> Mike
I think we're on a different tune here.
I'm commenting about the proposed patch that changes the lua package in
the following ways:
1) Makes a shared liblua instead of a static one.
2) Allows the package to just install liblua with options for lua and luac.
3) Also allows for lua to be built without readline support.
Plain upstream 5.1.4 lua (current in buildroot) doesn't build shared
libraries by default, and that's what i talking about (point 1) and the
proposed change in buildroot is probably lacking a patch (or the libtool
hooks to do so in the .mk file).
Regards.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-14 20:53 ` Gustavo Zacarias
@ 2009-12-14 21:00 ` Michael S. Zick
0 siblings, 0 replies; 13+ messages in thread
From: Michael S. Zick @ 2009-12-14 21:00 UTC (permalink / raw)
To: buildroot
On Mon December 14 2009, Gustavo Zacarias wrote:
> Michael S. Zick wrote:
>
> > Depends on the version - but the current and recent version have had the makefile
> > reorganized to always build-in the standard libraries;
> > So yes, the makefile needs to be un-reorganized (by a patch?) to get Lua + shared
> > libraries out of it.
> > (The prior to 5.0 organization).
> >
> > Mike
>
> I think we're on a different tune here.
>
No, I follow you, there is just two interpertations of "Lua" -
See my post on recommending that its inclusion in Buildroot should
be reorganized before too much time is spent doing these "special case"
changes. I.E: the reorganization described in my post will also
give you what you are trying to achieve here.
Mike
> I'm commenting about the proposed patch that changes the lua package in
> the following ways:
> 1) Makes a shared liblua instead of a static one.
> 2) Allows the package to just install liblua with options for lua and luac.
> 3) Also allows for lua to be built without readline support.
> Plain upstream 5.1.4 lua (current in buildroot) doesn't build shared
> libraries by default, and that's what i talking about (point 1) and the
> proposed change in buildroot is probably lacking a patch (or the libtool
> hooks to do so in the .mk file).
> Regards.
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
2009-12-14 20:16 ` [Buildroot] [Bug 803] " bugzilla at busybox.net
@ 2009-12-14 22:05 ` bugzilla at busybox.net
2009-12-15 14:24 ` bugzilla at busybox.net
` (6 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2009-12-14 22:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
rvpaasen <rvpaasen@t3i.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #831 is|0 |1
obsolete| |
--- Comment #2 from rvpaasen <rvpaasen@t3i.nl> 2009-12-14 22:05:45 UTC ---
Created an attachment (id=845)
--> (https://bugs.busybox.net/attachment.cgi?id=845)
lua patch
fixed patch: now created with git format-patch
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
2009-12-14 20:16 ` [Buildroot] [Bug 803] " bugzilla at busybox.net
2009-12-14 22:05 ` bugzilla at busybox.net
@ 2009-12-15 14:24 ` bugzilla at busybox.net
2009-12-15 23:54 ` bugzilla at busybox.net
` (5 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2009-12-15 14:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
--- Comment #3 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2009-12-15 14:24:28 UTC ---
Could you add -DLUA_USE_DLOPEN to MYCFLAGS?
That way we'll enable the extension loader for shared objects which we most
definitely want.
Otherwise it's working good now for me.
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
` (2 preceding siblings ...)
2009-12-15 14:24 ` bugzilla at busybox.net
@ 2009-12-15 23:54 ` bugzilla at busybox.net
2009-12-23 12:37 ` bugzilla at busybox.net
` (4 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2009-12-15 23:54 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
rvpaasen <rvpaasen@t3i.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #845 is|0 |1
obsolete| |
--- Comment #4 from rvpaasen <rvpaasen@t3i.nl> 2009-12-15 23:54:45 UTC ---
Created an attachment (id=857)
--> (https://bugs.busybox.net/attachment.cgi?id=857)
lua patch with -DLUA_USE_DLOPEN
Patch with -DLUA_USE_DLOPEN added.
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
` (3 preceding siblings ...)
2009-12-15 23:54 ` bugzilla at busybox.net
@ 2009-12-23 12:37 ` bugzilla at busybox.net
2010-02-21 22:33 ` bugzilla at busybox.net
` (3 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2009-12-23 12:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |719
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
` (4 preceding siblings ...)
2009-12-23 12:37 ` bugzilla at busybox.net
@ 2010-02-21 22:33 ` bugzilla at busybox.net
2010-04-29 21:08 ` bugzilla at busybox.net
` (2 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2010-02-21 22:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.05
--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2010-02-21 22:33:07 UTC ---
Move milestone to 2010.05 since enhancements will not be handled before the
release of 2010.02.
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
` (5 preceding siblings ...)
2010-02-21 22:33 ` bugzilla at busybox.net
@ 2010-04-29 21:08 ` bugzilla at busybox.net
2010-05-01 20:32 ` bugzilla at busybox.net
2010-05-01 20:50 ` bugzilla at busybox.net
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2010-04-29 21:08 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #857 is|0 |1
obsolete| |
AssignedTo|unassigned at buildroot.uclibc.|gustavo at zacarias.com.ar
|org |
Status|NEW |ASSIGNED
--- Comment #6 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2010-04-29 21:08:24 UTC ---
Created an attachment (id=1597)
--> (https://bugs.busybox.net/attachment.cgi?id=1597)
Migrate lua to gentargets and improve it
Convert the lua package to gentargets.
It also enables new options to install selectively the lua interpreter,
compiler and shared library.
This allows us to build lua modules and packages for them in the future among
other things.
It defaults to build just the static liblua, users have to enable extra
functionality now (interpreter, compiler, shared liblua in target).
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
` (6 preceding siblings ...)
2010-04-29 21:08 ` bugzilla at busybox.net
@ 2010-05-01 20:32 ` bugzilla at busybox.net
2010-05-01 20:50 ` bugzilla at busybox.net
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2010-05-01 20:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Peter Korsgaard <jacmet@uclibc.org> ---
Thanks, committed. I've fixed up Config.in though, as lua/luac dynamically
links to liblua.so.*, so they need to select it.
--
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] 13+ messages in thread* [Buildroot] [Bug 803] [PATCH] lua - add shared library patch and config option for readline/ncurses support
2009-12-13 1:53 [Buildroot] [Bug 803] New: [PATCH] lua - add shared library patch and config option for readline/ncurses support bugzilla at busybox.net
` (7 preceding siblings ...)
2010-05-01 20:32 ` bugzilla at busybox.net
@ 2010-05-01 20:50 ` bugzilla at busybox.net
8 siblings, 0 replies; 13+ messages in thread
From: bugzilla at busybox.net @ 2010-05-01 20:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=803
--- Comment #8 from Gustavo Zacarias <gustavo@zacarias.com.ar> ---
Sure about that?
lua/luac just link to liblua.so only when it's built.
When the SHARED option is disabled liblua.so isn't built so they just link
statically against liblua.a ...
--
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] 13+ messages in thread