www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2012/07/31/20:34:43

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=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=PeGx+OlKzqNucAkdYQfRykCIKn/V0lIJdNI2pwO7lVU=;
b=wc+ggWepvxuqoFpXG7g0/IVqgcx2eq6065dnHksjT8nNYJg0UxxP79aDHY+RIZ6qD9
BdKGAjbADdhmkwswD4FXFn2y0xQR/wsAtpRF5rV+v76aP+s7W4awQZAu2JFhADKFQoah
ywn6OHN/Ze6GRJnP/U8TQn0f54lYGX55wQwrHzMJg6j4000Q88Sw7JsHOQmuW9Cu87Mt
BlL1trIW6q9H4BNnRn53YJMVxbCpDlGHhdttIcBshgQBiGIIvj5TkMRbzDlk714X5Uk6
Wpu/x4Wjtru+X/88EwR3ptI51lftnLkd4RYiPACDcbEV/AFs/IY6lZemmGkYkVNf3QaC
QQdQ==
MIME-Version: 1.0
In-Reply-To: <CAA-ihx89PurgbLXowr_NCzHWQi+6KX+LCrjiCkxUDHp+0PNhjg@mail.gmail.com>
References: <50152C66 DOT 9040202 AT iki DOT fi>
<201207291745 DOT 54447 DOT juan DOT guerrero AT gmx DOT de>
<50156E5D DOT 7090509 AT iki DOT fi>
<201208010039 DOT 53912 DOT juan DOT guerrero AT gmx DOT de>
<CAA-ihx89PurgbLXowr_NCzHWQi+6KX+LCrjiCkxUDHp+0PNhjg AT mail DOT gmail DOT com>
Date: Tue, 31 Jul 2012 19:34:27 -0500
Message-ID: <CAA-ihx_XQNDBArTgtztjXm6am8sXatPdKU-T_RWAeMobjxADtg@mail.gmail.com>
Subject: Re: gcc-4.8 snapshots and DJGPP
From: Rugxulo <rugxulo AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
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

Sending again ....


---------- Forwarded message ----------
From: Rugxulo <rugxulo_AT_gmail.com>
Date: Tue, Jul 31, 2012 at 7:32 PM
Subject: Re: gcc-4.8 snapshots and DJGPP
To: djgpp-workers AT delorie DOT com


Hi,

On Tue, Jul 31, 2012 at 5:39 PM, Juan Manuel Guerrero
<juan.guerrero_AT_gmx.de> wrote:
>
> OFYI, I have successfully compiled gcc480_20120722 using djdev203 and djdev204.
> Building the djdev203 takes 4:30 hours, the djdev204 build takes 6:00 hours.

[EDIT] Dang ["Frankly my dear ..."], that's a long time! Major coffee
break.   ;-)

> Neitherless something seems to be brocken.  I cannot produce programs that
> can be debuged.  If I compile a hello-world program which main function is
> not void I always get the error output below:
>
> Breakpoint 1, main (
>     argc=<error reading variable: can't compute CFA for this frame>,
>     argv=<error reading variable: can't compute CFA for this frame>) at 1.c:5
> 5         for (i = 0; i < 10; i++)
> (gdb)

Where does DJGPP do argc handling, in crt0.o module?

> I compiled with -g[0-3] -O0.  The only reference I found related to this error
> message was this:
>   RFC: DW_OP_call_frame_cfa, again by Tom Tromey
>   <http://old.nabble.com/RFC%3A-DW_OP_call_frame_cfa%2C-again-td24925508.html#a25259165>
>
> but I do not understand this stuff.

Sounds like a Dwarf issue. The default for GCC is probably Dwarf-2
with GCC extensions, so perhaps using something else (strict Dwarf?
Stabs?) might work. Try that and see.

- Raw text -


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