X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sun, 22 Apr 2012 05:51:40 +0300 From: Eli Zaretskii Subject: Re: Difficulties compiling emacs with gcc 4.6.2 In-reply-to: <201204212330.14769.juan.guerrero@gmx.de> X-012-Sender: halo1 AT inter DOT net DOT il To: Juan Manuel Guerrero Cc: djgpp AT delorie DOT com Message-id: <83d370h41v.fsf@gnu.org> References: <201204090011 DOT 41565 DOT juan DOT guerrero AT gmx DOT de> <83pqbh8l2i DOT fsf AT gnu DOT org> <201204212330 DOT 14769 DOT juan DOT guerrero AT gmx DOT de> 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: Juan Manuel Guerrero > Date: Sat, 21 Apr 2012 23:30:13 +0200 > Cc: djgpp AT delorie DOT com > > gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff -save-temps xdisp.c > xdisp.s: Assembler messages: > xdisp.s:31360: Error: CFI instruction used without previous .cfi_startproc > xdisp.s:31362: Error: CFI instruction used without previous .cfi_startproc > xdisp.s:31363: Error: CFI instruction used without previous .cfi_startproc > xdisp.s:31365: Error: CFI instruction used without previous .cfi_startproc > xdisp.s:31366: Error: CFI instruction used without previous .cfi_startproc > xdisp.s:31370: Error: .cfi_endproc without corresponding .cfi_startproc > xdisp.s: Error: open CFI at the end of file; missing .cfi_endproc directive I guess COFF debug info generation by GCC bit-rotted. I suggest to file a bug report with the GCC bug-tracker. > Is there any reason why -gcoff is used to compile the code in /src directory? Yes. If you use DWARF-2, the resulting binary of Emacs after dumping segfaults when invoked. Or at least that's what happened last time I tried (which was a long time ago, admittedly).