delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2012/07/31/18:39:33

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: V01U2FsdGVkX19+AmJFZIB+2uhtMvzGGVbf2thc9Ycl2dpNg49zbR
sbLkcW5l6KEk+Z
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp-workers AT delorie DOT com
Subject: Re: gcc-4.8 snapshots and DJGPP
Date: Wed, 1 Aug 2012 00:39:53 +0200
User-Agent: KMail/1.9.10
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>
In-Reply-To: <50156E5D.7090509@iki.fi>
MIME-Version: 1.0
Message-Id: <201208010039.53912.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0
Reply-To: djgpp-workers AT delorie DOT com

Am Sonntag, 29. Juli 2012 schrieb Andris Pavenis:
> On 07/29/2012 06:45 PM, Juan Manuel Guerrero wrote:
> > Am Sonntag, 29. Juli 2012 schrieb Andris Pavenis:
[snip]
> > If you make the zip files of the sources available I will try to build
> > them on my XP, 2K, 98SE and msdos installations.
> >
> 
> OK. Files are at:
> 
> http://ap1.pp.fi/djgpp/gcc/test/4.8.0-20120722/
> 
> I did not put RPM packages there. djcross-gcc package contains however
> SPEC file.
> 
> Andris


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.
I have omitted ADA.  To compile the sources using djdev203, the ports of cat,
sort and tar must be replaced with the djdev204 ports of them or the build will
fail.  I have installed the binaries produced in the first build and used them
to compile the sources again.  I expirenced no problem.

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:



C:\tmp>gdb a.exe
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i786-pc-msdosdjgpp --target=djgpp".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:/tmp/a.exe...done.
(gdb) b main
Breakpoint 1 at 0x1ed9: file 1.c, line 5.
(gdb) r foo bar
Starting program: c:/tmp/a.exe foo bar

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)



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.


If more info is needed let me know.
Regards,
Juan M. Guerrero

- Raw text -


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