1.9.1 build error (cross-build for Windows)

Andreas Metzler ametzler at bebt.de
Fri Jan 29 20:23:13 CET 2021


Hello,

1.9.1 does not cross-build for Windows (on Linux):

libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../random -I.. -I../src -I../../src -I/usr/i686-w64-mingw32/include -g -O0 -fno-delete-null-pointer-checks -Wall -c ../../random/rndjent.c  -DDLL_EXPORT -DPIC -o .libs/rndjent.o
../../random/rndjent.c: In function 'is_rng_available':
../../random/rndjent.c:240:40: error: 'HWF_INTEL_RDTSC' undeclared (first use in this function)

libgcrypt is configureed with:
LDFLAGS="-Xlinker --no-insert-timestamp" CFLAGS="-g -Os" CPPFLAGS= ../configure \
    --prefix=/usr/i686-w64-mingw32 \
    --with-libgpg-error-prefix=/usr/i686-w64-mingw32 \
    --disable-padlock-support --disable-asm \
    --enable-static \
    --host i686-w64-mingw32
[...]
configure:16746: checking architecture and mpi assembler functions
configure:16753: result: disabled
[...]


cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Gcrypt-devel mailing list