On 07/01/16 00:05, Michael Plass wrote:
On Jun 29, 2016, at 1:47 AM, Thomas Klausner wrote:Can you please file bug reports for these upstream? ThomasDone - https://lists.gnupg.org/pipermail/gcrypt-devel/2016-June/003904.html Jussi notes in that thread that linux supports the unaligned ldm/stm with a trap handler.
From the thread you're on
"I wonder if there is automated way to check resulting library for such
non-PIC references. If there is, such check could be incorporated to
build process and abort build if found."
There is the ld(1) option --warn-shared-textrel and this with --fatal-warning should
do the trick.
- Michael
Nick