[PyQt] More recent g++ slows build time immensely

Giovanni Bajo rasky at develer.com
Mon Oct 20 16:53:01 BST 2008


On 10/20/2008 5:48 PM, Jim Crowell wrote:
> Hi all,
> 
> I've been using SIP to generate bindings for Syzygy
> <http://www.isl.uiuc.edu/syzygy.htm>. Since we've been using GNU Make
> for everything, I've been running SIP with "-j 1" to generate a single
> .cpp file, which up til now has worked fine (with MinGW g++ 3.4.2 on
> Windows and whatever g++ comes with Ubuntu 7.10).
> 
> However, I'm trying to upgrade to Ubuntu 8.04, which includes g++ 4.2.3.
> Building the bindings on my Windows machine takes about 35 seconds. On a
> fairly similar ubuntu machine, I gave up after about _half an hour_. On
> a blazing-fast, high-end, chock-full-o-RAM graphics machine it completed
> after 15 minutes or so, I wasn't timing.
> 
> Has anyone else run into this problem?

Yes, it's a known bug in GCC 4.2 serie which won't be fixed.:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052

Your best bet is to upgrade to GCC 4.3 (which isn't packaged yet in 
Ubuntu) or downgrade to GCC 4.1 (which is packaged -- but then you have 
to manually modify the symlink /usr/bin/gcc to point to the correct 
version).
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com


More information about the PyQt mailing list