Mailing List Archive

segv during relocation
Hi!

I have got several reports that libgcrypt segfaults when not linked
statically.

I was not able to reproduce this bug because I am usually using a
machine which links to the i586 assembler code. After quite some
debugging of ld.so I eventually found the problem - as usual it was a
trivial one, I should have known: Some of the i386 assembler modules
use absolute addresses and they conditionally include PIC code which
must be enabled with -DPIC. Same for Sparc and PowerPC.

Fix was trivial and has been commited to the CVS.

Pleae check whether this fixes the problem.


Shalom-Salam,

Werner
Re: segv during relocation [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 18 September 2002 16:41, Werner Koch wrote:
> Hi!
>
> I have got several reports that libgcrypt segfaults when not linked
> statically.
>
> I was not able to reproduce this bug because I am usually using a
> machine which links to the i586 assembler code. After quite some
> debugging of ld.so I eventually found the problem - as usual it was a
> trivial one, I should have known: Some of the i386 assembler modules
> use absolute addresses and they conditionally include PIC code which
> must be enabled with -DPIC. Same for Sparc and PowerPC.
>
> Fix was trivial and has been commited to the CVS.
>
> Please check whether this fixes the problem.

For me the problem is now fixed. Thanks!

Regards,
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9iPoeGnR+RTDgudgRAvBsAKCLyK3/D3BS2RNGsKF6VargU08VdACgpPSd
9Drn58Owmt+UIDt5Hdyg50E=
=ICAZ
-----END PGP SIGNATURE-----