delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/01/26/15:17:01

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX1+Qn4FMPcmQj7b5IocaWsYDv6LpOvO+A8w9oBp3U5
YHRrdp9AmrcfD3
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp AT delorie DOT com
Subject: Abort when compiling using COFF debug format (-gcoff)
Date: Thu, 26 Jan 2012 21:12:51 +0100
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Message-Id: <201201262112.52030.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0

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.

If more info is required, please contact me.


Regards,
Juan M. Guerrero

- Raw text -


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