Encountering a build error when building against libgcrypt-1.4.0.
Tried unsetting CFLAGS, passing --disable-optimization, stepping back to
gnupg-2.0.7, all ended with the same error.
Building against libgcrypt-1.2.4 does not produce the error.
Here is the error I receive:
make[4]: Entering directory `/usr/src/work/gnupg-2.0.8/tests/openpgp'
echo '#!/bin/sh' >./gpg_dearmor
echo "../../g10/gpg2 --no-options --no-greeting \
--no-secmem-warning --batch --dearmor" >>./gpg_dearmor
chmod 755 ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < ./pubring.asc
./gpg_dearmor: line 2: 3286 Segmentation
fault ../../g10/gpg2 --no-options --no-greeting --no-secmem-warning --batch --dearmor
make[4]: * [pubring.gpg] Error 139
make[4]: Leaving directory `/usr/src/work/gnupg-2.0.8/tests/openpgp'
make[3]: * [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/work/gnupg-2.0.8/tests'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/work/gnupg-2.0.8'
make[1]: * [all] Error 2
make[1]: Leaving directory `/usr/src/work/gnupg-2.0.8'
make: *** [gnupg] Error 2