From nobody@FreeBSD.org  Wed Oct 14 19:04:07 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1EC0B106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Oct 2009 19:04:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0E9378FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Oct 2009 19:04:07 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9EJ46Ui016903
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Oct 2009 19:04:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n9EJ46OL016902;
	Wed, 14 Oct 2009 19:04:06 GMT
	(envelope-from nobody)
Message-Id: <200910141904.n9EJ46OL016902@www.freebsd.org>
Date: Wed, 14 Oct 2009 19:04:06 GMT
From: Yuri <yuri@tsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 7.2-STABLE compile fails
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         139609
>Category:       kern
>Synopsis:       7.2-STABLE compile fails
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 14 19:10:01 UTC 2009
>Closed-Date:    Wed Oct 14 22:05:45 UTC 2009
>Last-Modified:  Wed Oct 14 22:05:45 UTC 2009
>Originator:     Yuri
>Release:        7.2-STABLE
>Organization:
n/a
>Environment:
>Description:
This began happening from some update in late September.
My message on freebsd-hackers@ didn't get any response.

Compile log ends like this:
cc -I/usr/local/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.c
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.c: In function 'ix86_function_regparm':
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.c:2502: warning: initialization makes pointer from integer without a cast
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.c:2503: error: dereferencing pointer to incomplete type
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.c: In function 'ix86_function_sseregparm':
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.c:2581: warning: initialization makes pointer from integer without a cast
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.c:2582: error: dereferencing pointer to incomplete type

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Wed Oct 14 20:02:47 UTC 2009 
State-Changed-Why:  
Hi, 

Firstly, try removing the whole of /usr/obj, and trying again. 

Secondly, try a different cvsup server.  It's possible that the one 
you are using is somehow corrupt. 

If neither of those work, please show the contents of your /etc/src.conf 
and /etc/make.conf if they exist. 




Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Wed Oct 14 20:02:47 UTC 2009 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139609 

From: Yuri <yuri@rawbw.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: RE: kern/139609: 7.2-STABLE compile fails
Date: Wed, 14 Oct 2009 14:16:31 -0700

 It looks like this line in /etc/make.conf: CFLAGS=-I/usr/local/include 
 caused failure.
 Some files have the same paths under /usr/include and /usr/local/include.
 
 Might me worthwhile to find all such collisions of include files between 
 base installation and ports and eliminate them.
 Otherwise it's kind of messy.
 
 Yuri
 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Wed Oct 14 22:02:51 UTC 2009 
State-Changed-Why:  
Close, was a local problem with settings in /etc/make.conf. 

To submitter: It's not really possible or worthwhile to identify 
all name clashes when there are 20,000 ports - especially given 
this is the first time I've seen somebody have this problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139609 
>Unformatted:
