| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| X-Recipient: | djgpp AT delorie DOT com |
| Date: | Thu, 26 Jan 2012 23:28:36 +0200 |
| From: | Eli Zaretskii <eliz AT gnu DOT org> |
| Subject: | Re: Abort when compiling using COFF debug format (-gcoff) |
| In-reply-to: | <201201262112.52030.juan.guerrero@gmx.de> |
| X-012-Sender: | halo1 AT inter DOT net DOT il |
| To: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de> |
| Cc: | djgpp AT delorie DOT com |
| Message-id: | <83wr8eywzf.fsf@gnu.org> |
| References: | <201201262112 DOT 52030 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 |
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> Date: Thu, 26 Jan 2012 21:12:51 +0100
>
> I have tried to compile repository sources of libc using -gcoff flag and it
> aborted with the following error message:
>
> c:/djgpp-2.04/bin/make.exe -C compat/signal
> gcc ... -c siglist.c
> c:/TMP/ccCt9a7s.s: Assembler messages:
> c:/TMP/ccCt9a7s.s:409: Error: invalid operands (.text and .text.startup sections) for `-'
> c:/TMP/ccCt9a7s.s:463: Error: invalid operands (.text and .text.startup sections) for `-'
> c:/TMP/ccCt9a7s.s:379: Error: can't resolve `.text' {.text section} - `LFB2' {.text.startup section}
> c:/TMP/ccCt9a7s.s:439: Error: can't resolve `.text' {.text section} - `LFB1' {.text.startup section}
> make.exe[3]: *** [siglist.o] Error 1
> make.exe[2]: *** [all_subs] Error 2
> make.exe[1]: *** [all] Error 2
> make.exe: *** [subs] Error 2
>
> I am using gcc 4.6.2 and binutils 2.22. All setting are standard except that
> I have added the -gcoff option to makefile.cfg. If I add the -g option
> everything works OK. I increased cc1.exe stack to 5MB because I was testing
> other issues that required a larger stack space. There is no difference if
> I replace binutils 2.22 with binutils 2.21.1.
Sounds like the COFF debug info generation has bit-rotted in GCC.
Nothing new here, no other platform uses COFF AFAIK.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |