Mail Archives: djgpp-workers/2011/12/19/05:53:03
Am Freitag, 2. Dezember 2011 schrieb Andris Pavenis:
> On 12/02/2011 12:28 AM, Rugxulo wrote:
> > Hi,
> >
> > On Sun, Aug 14, 2011 at 11:41 AM, Juan Manuel Guerrero
> > <juan DOT guerrero AT gmx DOT de> wrote:
> >>
> >> I have tried to compile the beta version of Lua using gcc 4.6.1
> >> and using DXE3 support to allow the loading of modules at runtime.
> >> I get the error message below when Lua tries to load a module at runtime:
> >>
> >> [snip]
> >> Computes the sin and cos values 0, 30, 60 and 90 degrees.
> >> src/lua.exe: djgpp/libtest1.lua:13: attempt to call global 'sin_function' (a nil value)
> >> stack traceback:
> >> djgpp/libtest1.lua:13: in main chunk
> >> [C]: in ?
> >> ___register_frame_info: unresolved symbol in DXE module.
> >> ___deregister_frame_info: unresolved symbol in DXE module.
> >> ___register_frame_info: unresolved symbol in DXE module.
> >> ___deregister_frame_info: unresolved symbol in DXE module.
> >> make.exe: *** [test_djgpp] Error 1
>
> It means that GCC generates some additional symbols which are later
> not found. May be it is possible to avoid them by specifying
> some additional GCC command line parameters.
>
> One can try using nm.exe and assembler output of GCC to see where
> these symbols appear and can something be improved by using
> different GCC command line options.
>
> Additionally these symbols should perhaps be searched from
> the executable which loads DXE. Could something like that
> possible?
__register_frame_info is an empty function defined in
src/libc/crt0/rfinfo.c What is the purpose of this function?
I will try to let DXE to search for these symbols.
Regards,
Juan M. Guerrero
- Raw text -