X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Thu, 26 Apr 2012 00:00:04 +0300 From: Eli Zaretskii Subject: Re: Difficulties compiling emacs with gcc 4.6.2 In-reply-to: <8e234c5c-6499-438e-af82-a27acc6430d6@m13g2000yqi.googlegroups.com> To: djgpp AT delorie DOT com Message-id: <83wr53edd7.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-012-Sender: halo1 AT inter DOT net DOT il 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> <8e234c5c-6499-438e-af82-a27acc6430d6 AT m13g2000yqi DOT googlegroups DOT com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id q3PL0fpD000515 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Rugxulo > Date: Wed, 25 Apr 2012 13:13:19 -0700 (PDT) > > I guess nobody ever needed unexec on DWARF to work when COFF was > sufficient. Not true. Back when DJGPP switched to DWARF2 as the default debug info, I tried to switch Emacs to using that, but the dumped Emacs crashed. And I didn't (and don't) have time to work on fixing that. But if someone gets that to work, I will happily switch, because COFF debug info is barely supported in latest versions of GCC and GDB. > > 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. The problem started long before GCC 4.5.