Problems setjmp.h on Fedora 5
Ulrich Drepper
drepper at redhat.com
Mon Apr 10 15:38:20 UTC 2006
Jose Marcio Martins da Cruz wrote:
> I tried to define myself the value of JB_SP (4 - the same value found in
> Fedora 4 headers), but the application segfaults.
That value was never meant to be used by programs. It was a value
needed in the implementation and unfortunately it was placed in the
public header.
This is fixed now. And for a good reason: you cannot access the values
at all anymore today. The stored values are "encrypted".
You can disable the encryption using the LD_POINTER_GUARD environment
variable. Unfortunately the glibc version so far in FC5 has a little
bug. The next update will allow you to specify LD_POINTER_GUARD=0.
But this is really the wrong solution. The program should be rewritten
to use __builtin_frame_address (see the gcc manual).
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20060410/5ae383c9/attachment.sig>
More information about the fedora-devel-list
mailing list