public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* BUG: gcc segfaults compiling python extensions
@ 2014-10-28 16:08 Florian Friesdorf
  2014-10-28 17:10 ` Marco Atzeri
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Friesdorf @ 2014-10-28 16:08 UTC (permalink / raw)
  To: cygwin; +Cc: marko

[-- Attachment #1: Type: text/plain, Size: 5556 bytes --]


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
...
building 'Crypto.Hash._MD2' extension
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
building 'Crypto.Hash._MD4' extension
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/MD4.c -o build/temp.cygwin-1.7.33-i686-2.7/src/MD4.o
gcc -shared -Wl,--enable-auto-image-base -L. build/temp.cygwin-1.7.33-i686-2.7/src/MD4.o -L/usr/lib/python2.7/config -L/usr/lib -lpython2.7 -o build/lib.cygwin-1.7.33-i686-2.7/Crypto/Hash/_MD4.dll
error: command 'gcc' terminated by signal 11

- and rerun, and rerun

building 'Crypto.Hash._MD4' extension
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/MD4.c -o build/temp.cygwin-1.7.33-i686-2.7/src/MD4.o
gcc -shared -Wl,--enable-auto-image-base -L. build/temp.cygwin-1.7.33-i686-2.7/src/MD4.o -L/usr/lib/python2.7/config -L/usr/lib -lpython2.7 -o build/lib.cygwin-1.7.33-i686-2.7/Crypto/Hash/_MD4.dll
building 'Crypto.Hash._SHA256' extension
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/SHA256.c -o build/temp.cygwin-1.7.33-i686-2.7/src/SHA256.o
gcc -shared -Wl,--enable-auto-image-base -L. build/temp.cygwin-1.7.33-i686-2.7/src/SHA256.o -L/usr/lib/python2.7/config -L/usr/lib -lpython2.7 -o build/lib.cygwin-1.7.33-i686-2.7/Crypto/Hash/_SHA256.dll
error: command 'gcc' terminated by signal 11

building 'Crypto.Hash._SHA256' extension
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/SHA256.c -o build/temp.cygwin-1.7.33-i686-2.7/src/SHA256.o
gcc -shared -Wl,--enable-auto-image-base -L. build/temp.cygwin-1.7.33-i686-2.7/src/SHA256.o -L/usr/lib/python2.7/config -L/usr/lib -lpython2.7 -o build/lib.cygwin-1.7.33-i686-2.7/Crypto/Hash/_SHA256.dll
building 'Crypto.Hash._SHA224' extension
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/SHA224.c -o build/temp.cygwin-1.7.33-i686-2.7/src/SHA224.o
gcc -shared -Wl,--enable-auto-image-base -L. build/temp.cygwin-1.7.33-i686-2.7/src/SHA224.o -L/usr/lib/python2.7/config -L/usr/lib -lpython2.7 -o build/lib.cygwin-1.7.33-i686-2.7/Crypto/Hash/_SHA224.dll
error: command 'gcc' terminated by signal 11

regards
Marko and Florian
-- 
Florian Friesdorf <flo@chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-08 15:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-28 16:08 BUG: gcc segfaults compiling python extensions Florian Friesdorf
2014-10-28 17:10 ` Marco Atzeri
2014-10-28 17:38   ` Florian Friesdorf
2014-10-29 11:03     ` Florian Friesdorf
2014-10-31 10:48       ` Florian Friesdorf
2014-12-08 15:16         ` Florian Friesdorf
2014-12-08 15:52           ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).