ports/113431: xorg-server (scanpci) does not compile on HEAD
Doug White
dwhite at FreeBSD.org
Wed Jun 6 21:10:03 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list