Mail Archives: djgpp-workers/2000/04/06/15:02:41
On 6 Apr 2000, at 18:48, Pierre Muller wrote:
>
> Using CVS repository
> I tried to compile the current tree,
>
> First, I wolud like to state that indeed configure works without problems !
>
> Second, I wanted to use -gstabs option instead of -g
> (the is a line count limitation with -g that is overflooded)
>
> I am using gcc 2.952 with DJGPP 2.03
>
> but changing "CFLAGS= -g -O" into "CFLAGS=-gstabs -O"
> leads to an unexpected and unnice result :
>
> The labels used for the stabn generation of source line encoding are labeled
> by
> LM???
> where ??? represents a number,
>
> the problem is that gcc only considers .L???? labels as local labels
> thus it keep all these LM??? labels
> and when debugging gdb with itself a backtrace gives
> a list of LM??? without args :(
>
> Does anyone have an idea what is wrong here ???
>
> I am quite sure it worked better with older gcc versions !!
> (I tested gcc v 2.951 but this one also generates LM???)
I suspect You are using binutils-2.8.1. I suggest to install
bnu251b.zip.
However I haven't verifed Your problem with 2.8.1.
At least I didn't saw local labels in object files both when using
binutils-2.9.1 (with some patches) and 4th April snaphot of binutils
(with patches practically identical to ones from bnu2951s.zip, only
binaries were built under Linux using cross-compiling)
Andris
- Raw text -