X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: Difficulties compiling emacs with gcc 4.6.2 Date: Wed, 25 Apr 2012 13:13:19 -0700 (PDT) Organization: http://groups.google.com Lines: 46 Message-ID: <8e234c5c-6499-438e-af82-a27acc6430d6@m13g2000yqi.googlegroups.com> References: <201204090011 DOT 41565 DOT juan DOT guerrero AT gmx DOT de> <201204212330 DOT 14769 DOT juan DOT guerrero AT gmx DOT de> <83d370h41v DOT fsf AT gnu DOT org> <201204251935 DOT 54557 DOT juan DOT guerrero AT gmx DOT de> <83zk9zemcd DOT fsf AT gnu DOT org> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1335385261 26235 127.0.0.1 (25 Apr 2012 20:21:01 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 25 Apr 2012 20:21:01 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: m13g2000yqi.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Linux; U; Android 3.2.1; en-us; K1 Build/HTK75C) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13,gzip(gfe) Bytes: 3382 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q3PKj24l031993 Reply-To: djgpp AT delorie DOT com Hi, On Apr 25, 12:46 pm, Eli Zaretskii wrote: > > From: Juan Manuel Guerrero > > Date: Wed, 25 Apr 2012 19:35:54 +0200 > > Cc: dj DOT DOT DOT AT delorie DOT com > > >             compiling         debuging > >           COFF     DWARF    COFF     DWARF > >        +--------+--------+--------+--------+ > > gcc445 |   OK   |   OK   |   OK   |   KO   | > >        +--------+--------+--------+--------+ > > gcc452 |   KO1  |   KO1  |   KO   |   KO   | > > gcc453 |   KO1  |   KO1  |   KO   |   KO   | > >        +--------+--------+--------+--------+ > > gcc461 |   KO2  |   KO1  |   --   |   --   | > > gcc462 |   KO2  |   KO1  |   --   |   --   | > > gcc463 |   KO2  |   KO1  |   --   |   --   | > >        +--------+--------+--------+--------+ > > gcc470 |   KO2  |   KO1  |   --   |   --   | > >        +--------+--------+--------+--------+ > > > KO1 compiling means that temacs is build but the dump process does not work. > > Neither emacs.exe nor a stack trace are produced. I guess nobody ever needed unexec on DWARF to work when COFF was sufficient. > > KO2 compiling means that the compiler produces brocken assembler output due > > to brocken COFF debug info support.  No temacs is produced at all. > > > KO debuging means that the produced binary seems to have no line information > > so that it is not possible to set break points and to step trough the binary. > > Thanks.  So it seems like we still need to use -gcoff to produce a > working and debuggable binary. It's obvious that GCC 4.5.0 broke some stuff, but that's also when they removed support for "generic" COFF. I know DJ wants COFF support to always be present, but clearly ELF support in BinUtils + GCC takes much higher priority. But I don't think we can gather enough steam to do much about it.