[New-bugs-announce] [issue4902] failed to build ctypes in Python2.6.1 (even with gcc)
Aki
report at bugs.python.org
Fri Jan 9 22:15:13 CET 2009
New submission from Aki <akineko at users.sourceforge.net>:
I'm trying to build Python 2.6.1 on Solaris/x86 machine but it puked.
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I. -I/home/neko/gnu/Python-2.6.1/./Include
-Ibuild/temp.solaris-2.10-i86pc-2.6/libffi/include
-Ibuild/temp.solaris-2.10-i86pc-2.6/libffi
-I/home/neko/gnu/Python-2.6.1/Modules/_ctypes/libffi/src -I. -IInclude
-I./Include -I/usr/local/include -I/home/neko/gnu/Python-2.6.1/Include
-I/home/neko/gnu/Python-2.6.1 -c
/home/neko/gnu/Python-2.6.1/Modules/_ctypes/libffi/src/x86/sysv.S -o
build/temp.solaris-2.10-i86pc-2.6/home/neko/gnu/Python-2.6.1/Modules/_ctypes/libffi/src/x86/sysv.o
Assembler:
"/usr/tmp/ccF9sUxS.s", line 215 : Syntax error
Near line: " movl ((10 + 3) & ~3)(%eax), %esi"
"/usr/tmp/ccF9sUxS.s", line 215 : Illegal character: <7e>
"/usr/tmp/ccF9sUxS.s", line 216 : Syntax error
Near line: " movl ((((10 + 3) & ~3) + 4) + 4)(%eax), %edx"
"/usr/tmp/ccF9sUxS.s", line 216 : Illegal character: <7e>
"/usr/tmp/ccF9sUxS.s", line 223 : Syntax error
Near line: " call *(((10 + 3) & ~3) + 4)(%eax)"
"/usr/tmp/ccF9sUxS.s", line 223 : Illegal character: <7e>
Failed to build these modules:
_ctypes _curses _curses_panel
//
I'm using gcc 3.4.6 and Solaris 10/x86.
I try to identify the problem but I couldn't figure out what went wrong.
I'm using Python 2.6.1 on Solaris/SPARC and I didn't see any problem.
----------
messages: 79508
nosy: akineko
severity: normal
status: open
title: failed to build ctypes in Python2.6.1 (even with gcc)
type: compile error
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4902>
_______________________________________
More information about the New-bugs-announce
mailing list