Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: kyle@mcmartin.ca
Cc: deller@gmx.de, linux-parisc@vger.kernel.org
Subject: Re: [PATCH] parisc: fix unwind with recent gcc versions
Date: Sun, 29 Nov 2009 09:34:45 -0800 (PST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0911290929110.3684@localhost.localdomain> (raw)
In-Reply-To: <20091128203311.GA24165@hera.kernel.org>



On Sat, 28 Nov 2009, Kyle McMartin wrote:
>
> From: Helge Deller <deller@gmx.de>
> 
> kernel unwinding is broken with gcc >= 4.x. Part of the problem is, that
> binutils seems sensible where the unwind information is stored.

The commentary doesn't seem to make much sense to me. Do you mean 
"sensitive" rather than "sensible"? And is it an actual binutils bug, or 
what?

Also, are the PARISC people 100% sure that you really want unwinding in 
the first place? We got rid of it as being terminally broken on x86, 
because tools and asm always got it wrong, and special things like irq 
frames etc continually broke it in the most annoying ways possible (ie 
WARN_ON() statements became fatal oopses due to unwind errors etc).

Having a tentative and unreliable stack trace is generally better than 
a totally broken one.

		Linus

  reply	other threads:[~2009-11-29 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-28 20:33 [PATCH] parisc: fix unwind with recent gcc versions Kyle McMartin
2009-11-29 17:34 ` Linus Torvalds [this message]
2009-11-29 20:23   ` Helge Deller
2009-11-30 14:14   ` James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.00.0911290929110.3684@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=deller@gmx.de \
    --cc=kyle@mcmartin.ca \
    --cc=linux-parisc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox