[lxml-dev] Internal compiler error when compiling lxml

Joao Moreira joao.moreira at free.fr
Tue Sep 30 23:37:58 CEST 2008


Hi all,

I've just installed the latest lxml and tried to compile it (first I had 
to get
the latest libxml2 and libxslt), it crashes on the first file 
lxml.etree.c with
a "internal compiler error". I'm on a Linux box running Fedora 5, with
python 2.4.2.

Should I report this as a bug somewhere else ?

Any suggestions on how to work around this ? maybe a problem with version
compatibility, between lxml and python ? or libxml2, libxslt ? this is 
my very
first attempt at installing anything written in python, please forgive 
my ignorance.
Detailed trace below.

Thanks for helping,
Joao

---------------------

[joao at fox lxml-2.1.2]$ python setup.py build
Building lxml version 2.1.2.
NOTE: Trying to build without Cython, pre-generated 
'src/lxml/lxml.etree.c' needs to be available.
Using build configuration of libxslt 1.1.24
Building against libxml2/libxslt in one of the following directories:
  /w7/u/libxslt-1.1.24/lib
  /w7/u/libxml2-2.7.1/lib
running build
running build_py
running build_ext
building 'lxml.etree' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC 
-I/w7/u/libxslt-1.1.24/include -I/w7/u/libxml2-2.7.1/include/libxml2 
-I/usr/include/python2.4 -c src/lxml/lxml.etree.c -o 
build/temp.linux-i686-2.4/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function 
$-1òø__pyx_f_4lxml_5etree_17_IterparseContext__setEventFilteròù:
src/lxml/lxml.etree.c:73968: internal compiler error: in 
merge_alias_info, at tree-ssa-copy.c:235
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc9Y1mVr.out file, please attach 
this to your bugreport.
error: command 'gcc' failed with exit status 1
[joao at fox lxml-2.1.2]$

-- 
Joao Moreira de Sa Coutinho
joao.moreira at free.fr




More information about the lxml-dev mailing list