I can't compile libgcrypt with some configure options. It results in:
./.libs/libgcrypt.so: undefined reference to `_gcry_hwf_detect_x86'
./.libs/libgcrypt.so: undefined reference to `_gcry_digest_spec_tiger2'
./.libs/libgcrypt.so: undefined reference to `_gcry_digest_spec_tiger'
./.libs/libgcrypt.so: undefined reference to `_gcry_digest_spec_tiger1'
Here's how configure was started:
$ export LDFLAGS="-Wl,--exclude-libs,all"
$ export PREFIX=/usr/local
$ cd libgcrypt-1.6.3/
$ ./configure --disable-static --enable-shared --disable-random-daemon --with-
libgpg-error-prefix="$PREFIX" --with-pth-prefix="$PREFIX" --prefix="$PREFIX"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
...
I know export LDFLAGS="-Wl,--exclude-libs,all" is a hack, but I could not
configure without the -Wl. Perhaps that's a Autotools bug.