[tlbuild] Stripping the luatex binary
Taco Hoekwater
taco at elvenkind.com
Thu Apr 7 11:43:42 CEST 2011
Hi,
On 04/07/11 10:13, Peter Breitenlohner wrote:
>
> 3. it seems to me that the whole problem is somewhat home made by lua and
> caused by a slightly naive handling of extension modules.
The problem will go away in luatex eventually because next year (2012)
the lua interpreter in luatex will become a regular .so/.dll, and none
of strip's oddities for executables will apply any more.
> In other cases (e.g., gtk input methods, pam modules) the procedure is
>
> a) load the extension module
> b) get address of the module's init function
> c) call the module's init function
>
> where step (c) can pass a table of function (and data) pointers in the main
> binary that the module might legitimately use. That way the module doesn't
> depend on any global symbol from the main binary. Unfortunately that is
> not the way lua works.
Unfortunately indeed (steps a and b actually happen, but there it stops)
Best wishes,
Taco
More information about the tlbuild
mailing list