[Bug 1769] sparc64 not using compiler optimizations

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Mar 21 17:39:29 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1769

--- Comment #3 from Ralf Corsepius <ralf.corsepius at rtems.org> 2011-03-21 12:39:28 CDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > I am OK with the -O2 part, but I am not OK with -gstabs.
> > 
> > Why do you need -gstabs? -g is supposed to be sufficient.
> 
> With -gstabs, I get C source code line matching in my (non-GDB)
non-GDB  == your personal use-case == not of relevance to the public.

> simulator/debugger.  With -g, I do not get source-line matching, only symbols.
This only means your debugger doesn't grok the default debugging format gcc
produces, for whatever reasons.

Could be your debugger is outdated, could be your debugger is malfunctioning,
could be your debugger is incompatible to gcc's defaults.

> So it is mostly a matter of convenience.
Please try using sparc-rtems-gdb (without -gstabs).

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list