building libgcrypt 1.6.3 for win64

HW42 hw42 at ipsumj.de
Thu May 14 17:42:09 CEST 2015


Hi,

when I try to build libgcrypt 1.6.3 for win64 it fails:

$ make
[ ... ]
mv -f .deps/random-fips.Tpo .deps/random-fips.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32-gcc
-DHAVE_CONFIG_H -I. -I..  -I../src -I../src
-I/tmp/b/libgpg-error-1.19/build/include -g -O2 -Wall -MT
random-system.lo -MD -MP -MF .deps/random-system.Tpo -c -o
random-system.lo random-system.c
libtool: compile:  x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I..
-I../src -I../src -I/tmp/b/libgpg-error-1.19/build/include -g -O2 -Wall
-MT random-system.lo -MD -MP -MF .deps/random-system.Tpo -c
random-system.c  -DDLL_EXPORT -DPIC -o .libs/random-system.o
mv -f .deps/random-system.Tpo .deps/random-system.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32-gcc
-DHAVE_CONFIG_H -I. -I..  -I../src -I../src
-I/tmp/b/libgpg-error-1.19/build/include -g -O2 -Wall -MT rndhw.lo -MD
-MP -MF .deps/rndhw.Tpo -c -o rndhw.lo rndhw.c
libtool: compile:  x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I..
-I../src -I../src -I/tmp/b/libgpg-error-1.19/build/include -g -O2 -Wall
-MT rndhw.lo -MD -MP -MF .deps/rndhw.Tpo -c rndhw.c  -DDLL_EXPORT -DPIC
-o .libs/rndhw.o
/tmp/ccxCcj5Y.s: Assembler messages:
/tmp/ccxCcj5Y.s:53: Error: unsupported instruction `mov'
Makefile:458: recipe for target 'rndhw.lo' failed
make[2]: *** [rndhw.lo] Error 1
make[2]: Leaving directory '/tmp/b/libgcrypt-1.6.3/random'
Makefile:477: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/b/libgcrypt-1.6.3'
Makefile:408: recipe for target 'all' failed
make: *** [all] Error 2
$

this is the case regardless of whether I use
$ ./configure --prefix=`pwd`/build --host=x86_64-w64-mingw32
or
$ ./autogen.sh --build-w64

I'm building on a Debian unstable with gcc-mingw-w64-x86-64 version
4.9.2-15+15.1+b1.


HW42

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150514/0e45b640/attachment-0001.sig>


More information about the Gnupg-devel mailing list