libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] setjmp not working?


From: Arun Sharma
Subject: Re: [Libunwind-devel] setjmp not working?
Date: Fri, 26 Oct 2012 08:17:39 -0700

On Fri, Oct 26, 2012 at 4:42 AM, Ole Streicher <address@hidden> wrote:
> Hi,
>
> I am working on the packaging of the "IRAF" package
> <http://iraf.noao.edu/>. The package uses a special variant of
> setjmp()/longjmp() called from Fortran. Due to the nature of setjmp(),
> this cannot be called directly from a subroutine.

The reason why a x86_64 asm version had to be written had to do with
%rax getting clobbered by a portable implementation. This caused C++
exception handling to break.

Not very familiar with the ABIs of the other archs to know if a
portable implementation is possible.

 -Arun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]