S/390: Default to -fasynchronous-unwind-tables

Jakub Jelinek jakub@redhat.com
Thu Nov 21 06:52:00 GMT 2002


On Wed, Nov 20, 2002 at 06:02:29PM +0100, Ulrich Weigand wrote:
> 
> Richard Henderson wrote:
> 
> >No.  Nor should it have been done for s390 IMO.  Who cares if
> >you can't get a backtrace without debug information?
> 
> Well, it is a basic servicability requirement from many application
> vendors to be able to get a backtrace when a crash happens.  This
> in particular includes the case where crashes happen while executing
> any library routine.

But without .symtab/.strtab the backtraces aren't much useful anyway.
Which is not much different from making sure .debug_frame stays.

> While you could certainly say that they should just build the app
> with -g1, this doesn't help if the crash happens in a library routine.
> One solution would be to build all system libraries also with -g1,
> which we had considered, but this has the disadvantage that 'strip'
> removes the information (and the usual RPM build process strips all
> binaries and libraries) ...

This is changing.

	Jakub



More information about the Gcc-patches mailing list