This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BUG: gcc segfaults compiling python extensions




On 10/28/2014 5:08 PM, Florian Friesdorf wrote:

Steps to reproduce:

- 64bit Windows Server 2012 R2

- cygwin 32bit 1.7.32 (also with 1.7.33 test release)

- download, unpack, cd
   https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gz

- python setup.py build
...
building 'Crypto.Hash._MD2' extension
creating build/temp.cygwin-1.7.33-i686-2.7
creating build/temp.cygwin-1.7.33-i686-2.7/src
gcc -fno-strict-aliasing -ggdb -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python/python-2.7.8-1.i686/build=/usr/src/debug/python-2.7.8-1 -fdebug-prefix-map=/usr/src/ports/python/python-2.7.8-1.i686/src/Python-2.7.8=/usr/src/debug/python-2.7.8-1 -fwrapv -Wall -Wstrict-prototypes -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.cygwin-1.7.33-i686-2.7/src/MD2.o
gcc -shared -Wl,--enable-auto-image-base -L. build/temp.cygwin-1.7.33-i686-2.7/src/MD2.o -L/usr/lib/python2.7/config -L/usr/lib -lpython2.7 -o build/lib.cygwin-1.7.33-i686-2.7/Crypto/Hash/_MD2.dll
error: command 'gcc' terminated by signal 11

- rererun: python setup.py build

build find on W7-64 with cygwin32 bit
CYGWIN_NT-6.1-WOW64 1.7.32(0.274/5/3) 2014-08-13 23:03

$ find . -name *.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_AES.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_ARC2.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_ARC4.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_Blowfish.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_CAST.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_DES.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_DES3.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Cipher/_XOR.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Hash/_MD2.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Hash/_MD4.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Hash/_RIPEMD160.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Hash/_SHA224.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Hash/_SHA256.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Hash/_SHA384.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Hash/_SHA512.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/PublicKey/_fastmath.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Util/strxor.dll
./build/lib.cygwin-1.7.32-i686-2.7/Crypto/Util/_counter.dll

regards
Marko and Florian

BLODA ?

https://cygwin.com/acronyms/#BLODA

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]