[lxml-dev] CPU you selected does not support x86-64 instruction set

js ebgssth at gmail.com
Tue Feb 19 13:45:29 CET 2008


Hi,

Quick update.
Here's how compiler executed.

cc -fno-strict-aliasing -DNDEBUG -O -pipe -march=pentiumpro
-D__wchar_t=wchar_t -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x100000 -fPIC
-I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include/python2.5 -c src/lxml/lxml.etree.c -o
build/temp.freebsd-6.2-amd64-2.5/src/lxml/lxml.etree.o -w

As I said earlier, this end up in the following error.

CPU you selected does not support x86-64 instruction set

I tried dropping "-march=pentiumpro" and re-run setup.py build again.
This time, above error is not occured, but another warning
came up.

/usr/local/include/python2.5/pyport.h:734:2: #error "LONG_BIT
definition appears wrong for platform (bad gcc/glibc config?).

BTW, I use gcc 3.4.6.

I'm not sure how should I resolve this...
Do you find anything from above report?

lxml users,
Is there anybody running lxml on 64bit system?

Thanks.


More information about the lxml-dev mailing list