Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2007 21:01:34 GMT
From:      Doug White<dwhite@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113431: xorg-server (scanpci) does not compile on HEAD 
Message-ID:  <200706062101.l56L1YvE007206@www.freebsd.org>
Resent-Message-ID: <200706062110.l56LA2rO020276@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113431
>Category:       ports
>Synopsis:       xorg-server (scanpci) does not compile on HEAD
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 06 21:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Doug White
>Release:        FreeBSD 7.0-CURRENT #2: Tue Jun  5 17:23:33 PDT
>Organization:
>Environment:
FreeBSD dwpara1.sfo1.bitgravity.com 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue Jun  5 17:23:33 PDT 2007     dwhite@dwpara1.sfo1.bitgravity.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When attempting to compile xf86ScanPci.c during the build of the xorg-server port, gcc grows to consume all memory and swap until killed.  As such Xorg 7.2 cannot be built on HEAD with gcc 4.2. I changed CFLAGS to use -O -fno-unit-at-a-time and it still crashes.  

> gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.0 20070514 [FreeBSD]

scanpci includes a list of all known PCI vendor and device numbers and strings and gcc probably has issues with dealing with so much static data.

Unfortunately other xorg-server components require scanpci code and so just removing scanpci from the build does not address the issue.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706062101.l56L1YvE007206>