On Wed, Mar 17, 2010 at 12:16:57PM +0200, Rami Ylimaki wrote: > There are two noreturn functions in the X server: FatalError and > AbortServer. Having any of those two functions in the middle of a call > stack will prevent unwinding the program properly and stops the > backtrace at those functions in gdb. > > The file containing FatalError and AbortServer, os/log.c, has to be > compiled with the -mapcs-frame option on ARM to get proper > backtraces. Automake imposes its own restrictions on compiling > individual source files with different options. The recommended way to > do this is to put os/log.c into a convenience library and add this > library inside os/libos.la. See the documentation of GNU Automake > manual, version 1.11.1, section 27.8 Per-Object Flags Emulation, for > details. > > Signed-off-by: Rami Ylimaki <ext-rami.ylim...@nokia.com> > --- > Fixed based on previous review feedback. I'm aware that GCC should > also be fixed at some point, but nevertheless it'd be nice to get this > fix integrated upstream because we don't have the possibility to > switch to a patched GCC anytime soon.
Yeah, I know this is unpleasant, but ... Reviewed-by: Daniel Stone <dan...@fooishbar.org>
pgpkVq13n0OTJ.pgp
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel