Skip to contentSkip to conversation

ias and stack unwind

Linux-ia64 Hoeflinger, Jay P 2 participants 4 messages Apr 11, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Jay P

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
#2 lore raw
In reply to Hoeflinger, Jay P

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:[email protected]]
Sent: Friday, April 11, 2003 4:06 PM
To: Hoeflinger, Jay P
Cc: [email protected]
Subject: Re: [Linux-ia64] ias and stack unwind

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Jay P

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
#3 lore raw
In reply to Hoeflinger, Jay P
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Jay P

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