Problems with setjmp/longjmp in PIC on PPC?

Hi,

It seems to us that setjmp/longjmp is not working when called from code
that’s compiled with “-shared” on PowerPC under QNX 6.1A.

Is this a known problem? Any workaround?


Cheers

Benzy Gabay

Boy, you always find the tricky ones. I’m almost wondering if there isn’t
something in the nature of PIC code that would cause it to be
impossible/impractical to support longjmp(). Do you know if it works with
other (ie x86) architectures? We’ll look into this further and get back to
you.

cheers,

Kris
“Benzy Gabay” <bgabay@maya-st.com> wrote in message
news:a4h62p$ler$1@inn.qnx.com

Hi,

It seems to us that setjmp/longjmp is not working when called from code
that’s compiled with “-shared” on PowerPC under QNX 6.1A.

Is this a known problem? Any workaround?


Cheers

Benzy Gabay

Kris,

False alarm…
its my mistake, after trying few time to verify that the longjmp does not
work, I found it actually working.
You can follow my letters on ddk.netwrok and understand the whole picture.

Sorry.


Cheers

Benzy Gabay


“Kris Warkentin” <kewarken@qnx.com> wrote in message
news:a4j8ga$3ts$1@nntp.qnx.com

Boy, you always find the tricky ones. I’m almost wondering if there isn’t
something in the nature of PIC code that would cause it to be
impossible/impractical to support longjmp(). Do you know if it works with
other (ie x86) architectures? We’ll look into this further and get back
to
you.

cheers,

Kris
“Benzy Gabay” <> bgabay@maya-st.com> > wrote in message
news:a4h62p$ler$> 1@inn.qnx.com> …
Hi,

It seems to us that setjmp/longjmp is not working when called from code
that’s compiled with “-shared” on PowerPC under QNX 6.1A.

Is this a known problem? Any workaround?


Cheers

Benzy Gabay
\

Whew…One less piece of nastiness to chase. :wink:

Kris
“Benzy Gabay” <bgabay@maya-st.com> wrote in message
news:a4notb$bl2$1@inn.qnx.com

Kris,

False alarm…
its my mistake, after trying few time to verify that the longjmp does not
work, I found it actually working.
You can follow my letters on ddk.netwrok and understand the whole picture.

Sorry.


Cheers

Benzy Gabay


“Kris Warkentin” <> kewarken@qnx.com> > wrote in message
news:a4j8ga$3ts$> 1@nntp.qnx.com> …
Boy, you always find the tricky ones. I’m almost wondering if there
isn’t
something in the nature of PIC code that would cause it to be
impossible/impractical to support longjmp(). Do you know if it works
with
other (ie x86) architectures? We’ll look into this further and get back
to
you.

cheers,

Kris
“Benzy Gabay” <> bgabay@maya-st.com> > wrote in message
news:a4h62p$ler$> 1@inn.qnx.com> …
Hi,

It seems to us that setjmp/longjmp is not working when called from
code
that’s compiled with “-shared” on PowerPC under QNX 6.1A.

Is this a known problem? Any workaround?


Cheers

Benzy Gabay


\