delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/08/14/12:46:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX19hCs8cWWth0pclZ1NleNE9Nnr+gnHeRiny2ahV3G
XQFYz7WfEo7768
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp-workers AT delorie DOT com
Subject: dxe and gcc 4.6.1 difficulties.
Date: Sun, 14 Aug 2011 18:41:15 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Message-Id: <201108141841.15711.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0
Reply-To: djgpp-workers AT delorie DOT com

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


If I replace gcc 4.6.1 with gcc 4.4.5 or gcc 4.5.3 everthing works as expected.
Any suggestions, or can gcc 4.6.1 not be used with DXE?

Regards,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019