tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: failing to link siglongjmp with clang
On Thu, 26 Apr 2012 12:15:29 +0200
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> On Thu, Apr 26, 2012 at 11:12:59AM +0900,
> tsugutomo.enami%jp.sony.com@localhost
> wrote:
> > "James K. Lowden" <jklowden%schemamania.org@localhost> writes:
> >
> > > $ nm interrupt.o | grep siglongjmp
> > > U siglongjmp
> >
> > IIRC, clang handles siglongjmp specially and some version of clang
> > fails symbol renaming of it. I guess you can rename symbol using
> > objcopy.
>
> Right, given the ancient version, this is likely a case of
> http://llvm.org/bugs/show_bug.cgi?id=8765
Late Bronze Age clang, I assume you mean?
The file includes setjmp.h, so, yes, if I understand the PR correctly,
upgrading the compiler should solve the issue.
Funny, just the other night I was re-reading Plauger's C standard
library book, where he points out setjmp/longjmp often cannot be
written in C. It's one of those places where C's idealized machine
isn't.
Many thanks.
--jkl
Home |
Main Index |
Thread Index |
Old Index