Re: Compile problem under Linux Fedora 5
Gene <[email protected]> Wed, 31 May 2006 21:23:44 -0700
| Newsgroups | gmane.comp.lib.state-threads.devel |
|---|---|
| Message-ID | <[email protected]> |
This issue was resolved in just released version 1.7 of ST. On Apr 14, 2006, at 2:06 PM, Jose Marcio Martins da Cruz wrote: > > Hi, > > Gene wrote: > >> Hmm, I have a sneaky suspicion that they finally made JB_SP a private >> definition in new version of glibc (2.4). It's still defined =20 >> internally in >> sysdeps/i386/jmpbuf-offsets.h >> > > Yes... > > I've got another answer from fedora devel list. (Ulrich Drepper =20 > from Red Hat Inc.). > > ********************************************************************* > > Jose Marcio Martins da Cruz wrote: > > >> I tried to define myself the value of JB_SP (4 - the same value =20 > 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 =20 > 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=3D0. > > But this is really the wrong solution. The program should be =20 > rewritten > to use __builtin_frame_address (see the gcc manual). > > -- =E2=9E=A7 Ulrich Drepper =E2=9E=A7 Red Hat, Inc. =E2=9E=A7 444 = Castro St =E2=9E=A7 =20 > Mountain View, CA =E2=9D=96 > > ********************************************************************* > > > --=20 > --------------------------------------------------------------- > Jose Marcio MARTINS DA CRUZ Tel. :(33) 01.40.51.93.41 > Ecole des Mines de Paris http://j-chkmail.ensmp.fr > 60, bd Saint Michel http://www.ensmp.fr/~martins > 75272 - PARIS CEDEX 06 mailto:[email protected] > > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642