delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/12/01/17:54:04

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:content-transfer-encoding;
bh=UncemF3K6v8pH5/tneGK4KfrUAficUdGM7ASCOcqTTE=;
b=J6sos+W3FlS1Tb2nzOZLj7vRDiXy6v8bvCKz15hIpxMaWMEZgeP3ma2Fdd+U3fUuRg
KcqkcEudPqVeWUoR5VTRAaiSYoQhLycLAgmZ2Y7R2LtYpXAA+GikN7BqnO4d7cbSZXiP
MjR0iFR5IizyKgmqyE2+6erWb6KiVBHEUINNA=
MIME-Version: 1.0
In-Reply-To: <201108141841.15711.juan.guerrero@gmx.de>
References: <201108141841 DOT 15711 DOT juan DOT guerrero AT gmx DOT de>
Date: Thu, 1 Dec 2011 16:28:44 -0600
Message-ID: <CAA-ihx-4uFH7LmmwiMBe0WZEKp+dp5ECrXJAVwoGNqXfWKQEcA@mail.gmail.com>
Subject: Re: dxe and gcc 4.6.1 difficulties.
From: Rugxulo <rugxulo AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pB1MrtvB003401
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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
>
> 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?

Not sure, but I did confirm this "bug" (and with 4.6.2 also).

I recently discovered that GCC 4.6.x versions have some weird
differences. For instance, I'm not sure (and heavily doubt) they were
compiled with "stock" DJGPP, at least verified in /beta/ versions
(which I normally prefer for silly reasons). Could it be a bug in CVS
versions or something clashing in mixing? Dunno ....

gcc.exe from 4.6.1:

$Id: stub.asm built 06/28/100 11:15:04 by djasm $

gcc.exe from 4.6.2:

$Id: stub.asm built 2011-10-28 22:28:16 by djasm $

- Raw text -


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