Red Hat Bugzilla – Bug 175644
(Still) generates code that GCC4 won't compile
Last modified: 2007-11-30 17:11:19 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051202 Fedora/1.5-0.2 Firefox/1.5
Description of problem:
The version of Pyrex in FC4 (and rawhide) has a patch to make it emit code compatible with GCC4. However, this patch is incomplete and compiling lxml fails with "invalid lvalue in assignment" errors. The lxml website has a small patch that fixes the problem.
Version-Release number of selected component (if applicable):
gcc-4.0.2-8.fc4 Pyrex-0.9.3-2 and Pyrex-0.9.3.1-2.1
Steps to Reproduce:
1. Download lxml
2. Try to build it on FC4/Rawhide
3. Watch as GCC4 dies with illegal lvalue errors on the etree.c generated file.
There is a patch for this problem at http://codespeak.net/lxml/Pyrex-0.9.3-gcc4-small.patch
Created attachment 122187 [details]
Patch fixing the GCC4 compile errors
Also having illegal lvalue problems with the same versions of gcc & Pyrex,
while trying to build Soya 3D, Lenard Lindstrom's patches on the Pyrex
homepage seem to solve these problems.
I'm trying to help a new FE contributer (an old acquantance of mine) to get
Soya3D build and he is hitting these problems too, since there os a patch
available please fix this.
Laurie, I see you're trying to build Soya3D to, also for FE? And did you hit 64
bit problems in the ode/OPCODES part? I've just completed writing a patch for
the 64 bit issues in the ode/OPCODES part drop me a mail then we can coordinate
Pyrex 0.9.4 is out which fixes these problems, any chance an update can be
pushed in the not-to-distant future?
Fedora Core 6 now provides Pyrex 0.9.4.
Can someone please verify that these problems are fixed in the current version?
lxml compiles fine for me with Pyrex 0.9.4, so I'm closing this bug.