public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] ias and stack unwind
@ 2003-04-11 19:05 Hoeflinger, Jay P
  2003-04-11 21:06 ` David Mosberger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hoeflinger, Jay P @ 2003-04-11 19:05 UTC (permalink / raw)
  To: linux-ia64

Has anyone had any problems with the stack unwind directives and ias?
For some reason when I put the unwind directives in my assembler code,
then do a "readelf -u", it says that the assembly routine has version 2
unwind info and can't list it.  libunwind seems to have similar problems
and can't unwind from the assembly routine.  For all the C routines in
the program, the unwind info version is 1, as the IA64 Software Conventions
and Runtime Architecture Guide indicates it should be.

Any pointers for getting ias to use version 1 would be appreciated.


Jay


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Linux-ia64] ias and stack unwind
  2003-04-11 19:05 [Linux-ia64] ias and stack unwind Hoeflinger, Jay P
@ 2003-04-11 21:06 ` David Mosberger
  2003-04-11 21:55 ` Hoeflinger, Jay P
  2003-04-11 22:02 ` David Mosberger
  2 siblings, 0 replies; 4+ messages in thread
From: David Mosberger @ 2003-04-11 21:06 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Fri, 11 Apr 2003 12:05:30 -0700, "Hoeflinger, Jay P" <jay.p.hoeflinger@intel.com> said:

  Jay> Has anyone had any problems with the stack unwind directives and ias?
  Jay> For some reason when I put the unwind directives in my assembler code,
  Jay> then do a "readelf -u", it says that the assembly routine has version 2
  Jay> unwind info and can't list it.  libunwind seems to have similar problems
  Jay> and can't unwind from the assembly routine.  For all the C routines in
  Jay> the program, the unwind info version is 1, as the IA64 Software Conventions
  Jay> and Runtime Architecture Guide indicates it should be.

  Jay> Any pointers for getting ias to use version 1 would be appreciated.

Recently, I have tested libunwind (and readelf -u) with Intel ECC v7.0
and it worked fine.  I'm told earlier versions may have generated bad
(incompatible) unwind info, but I haven't verified that myself.  Could
this explain it?

	--david


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Linux-ia64] ias and stack unwind
  2003-04-11 19:05 [Linux-ia64] ias and stack unwind Hoeflinger, Jay P
  2003-04-11 21:06 ` David Mosberger
@ 2003-04-11 21:55 ` Hoeflinger, Jay P
  2003-04-11 22:02 ` David Mosberger
  2 siblings, 0 replies; 4+ messages in thread
From: Hoeflinger, Jay P @ 2003-04-11 21:55 UTC (permalink / raw)
  To: linux-ia64

I don't think that explains it in my case.  I'm using ecc version 7.1.
Did you have to use any special options?  

Jay

-----Original Message-----
From: David Mosberger [mailto:davidm@napali.hpl.hp.com]
Sent: Friday, April 11, 2003 4:06 PM
To: Hoeflinger, Jay P
Cc: linux-ia64@linuxia64.org
Subject: Re: [Linux-ia64] ias and stack unwind


>>>>> On Fri, 11 Apr 2003 12:05:30 -0700, "Hoeflinger, Jay P" <jay.p.hoeflinger@intel.com> said:

  Jay> Has anyone had any problems with the stack unwind directives and ias?
  Jay> For some reason when I put the unwind directives in my assembler code,
  Jay> then do a "readelf -u", it says that the assembly routine has version 2
  Jay> unwind info and can't list it.  libunwind seems to have similar problems
  Jay> and can't unwind from the assembly routine.  For all the C routines in
  Jay> the program, the unwind info version is 1, as the IA64 Software Conventions
  Jay> and Runtime Architecture Guide indicates it should be.

  Jay> Any pointers for getting ias to use version 1 would be appreciated.

Recently, I have tested libunwind (and readelf -u) with Intel ECC v7.0
and it worked fine.  I'm told earlier versions may have generated bad
(incompatible) unwind info, but I haven't verified that myself.  Could
this explain it?

	--david


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Linux-ia64] ias and stack unwind
  2003-04-11 19:05 [Linux-ia64] ias and stack unwind Hoeflinger, Jay P
  2003-04-11 21:06 ` David Mosberger
  2003-04-11 21:55 ` Hoeflinger, Jay P
@ 2003-04-11 22:02 ` David Mosberger
  2 siblings, 0 replies; 4+ messages in thread
From: David Mosberger @ 2003-04-11 22:02 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Fri, 11 Apr 2003 14:55:15 -0700, "Hoeflinger, Jay P" <jay.p.hoeflinger@intel.com> said:

  Jay> I don't think that explains it in my case.  I'm using ecc version 7.1.

Ugh, not good.

  Jay> Did you have to use any special options?

Nope, nothing special at all.  Please keep me posted on this.  I very
much want libunwind to work with all compilers.  I was happy to see
that ecc 7.0 puts out SCRA-compliant unwind info.  Let's hope it stays
so.

	--david


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-11 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-11 19:05 [Linux-ia64] ias and stack unwind Hoeflinger, Jay P
2003-04-11 21:06 ` David Mosberger
2003-04-11 21:55 ` Hoeflinger, Jay P
2003-04-11 22:02 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox