xf86ScanPci does not compile

Bernhard Rosenkraenzer bero at arklinux.org
Sun Jun 17 08:14:35 PDT 2007


On Sunday 17 June 2007, diegoefe at freedom.net.ar wrote:
> this file never gets compiled and consumes computer resources:
>
> xorg-server-1.1.1/hw/xfree86/scanpci/xf86ScanPci.c

You're using gcc 4.2.0 -- there's a bug in that particular compiler that 
causes xf86ScanPci.c to take about 4 GB worth of memory to compile.

Possible solutions:

1. Use a different compiler -- any other gcc version is ok (this includes the 
post-4.2.0 svn branch that will become gcc 4.2.1)
2. Stay with 4.2.0 and create lots of swap space and give it a lot of time, 
it'll eventually finish. To create some temporary swap space, use
	dd if=/dev/zero of=/tmp/lots.of.swap bs=1M count=4192
	mkswap /tmp/lots.of.swap
	swapon /tmp/lots.of.swap



More information about the xorg mailing list