libgcrypt.so has text relocations. This is wasting memory and is a security risk. Please fix.

Hans-Christoph Steiner hans at guardianproject.info
Fri Jan 17 17:20:07 CET 2014


Since updating from libgcrypt 1.5.x to the head of master in GPG for Android,
I now get this warning from the Android linker:

libgcrypt.so has text relocations. This is wasting memory and is a security
risk. Please fix.

It seems to happen whenever any program that links to libgcrypt starts.  This
is a bit beyond my knowledge of linking.  Anyone have any ideas or pointers?
The only thing I could find is this bug in the Android NDK:

https://code.google.com/p/android/issues/detail?id=23203

But I'm using NDK r9b, and that issue was apparently fixes in r8c.  Attached
is the full text of `readelf -a libgcrypt.so`.

.hc

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readelf-a-libgcrypt-so.txt.bz2
Type: application/x-bzip
Size: 13961 bytes
Desc: not available
URL: </pipermail/attachments/20140117/69230c33/attachment-0001.bin>


More information about the Gnupg-devel mailing list