From owner-freebsd-stable@FreeBSD.ORG Sat Oct 6 17:39:41 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9DDB1065670 for ; Sat, 6 Oct 2012 17:39:41 +0000 (UTC) (envelope-from crtmike@gmx.us) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.43]) by mx1.freebsd.org (Postfix) with SMTP id 355A38FC0A for ; Sat, 6 Oct 2012 17:39:41 +0000 (UTC) Received: (qmail invoked by alias); 06 Oct 2012 17:39:32 -0000 Received: from unknown (EHLO bsd.laptop.mike) [124.89.80.42] by mail.gmx.com (mp-eu006) with SMTP; 06 Oct 2012 19:39:32 +0200 X-Authenticated: #137061016 X-Provags-ID: V01U2FsdGVkX1/wYfYPw8nwOQpLW1/T+QvEF2EeovsjL3w6ijW5HB P6WGQikST+PqJl Message-ID: <50706CBC.5010304@gmx.us> Date: Sun, 07 Oct 2012 01:39:08 +0800 From: Mike Manilone User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120915 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <506E7742.6060308@gmx.us> <506EA759.4030700@FreeBSD.org> <506EAEAD.209@gmx.us> In-Reply-To: <506EAEAD.209@gmx.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: error while building stable world X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2012 17:39:41 -0000 On 2012/10/05 17:55, Mike Manilone wrote: > But the problem will also happen even if I'm using the default gcc 4.2... > > cc -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS > -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa > -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv > -D_ACL_PRIVATE -DPOSIX_MISTAKE > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c -o __vdso_gettc.o > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:31:22: error: sys/vdso.h: > No such file or directory > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: 'struct > vdso_timehands' declared inside parameter list > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: its scope is > only this definition or declaration, which is probably not what you want > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function > '__vdso_gettc_low': > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:40: error: dereferencing > pointer to incomplete type > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c: At top level: > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:45: warning: 'struct > vdso_timehands' declared inside parameter list > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function '__vdso_gettc': > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: error: dereferencing > pointer to incomplete type > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: warning: passing > argument 1 of '__vdso_gettc_low' from incompatible pointer type > *** [__vdso_gettc.o] Error code 1 > > > On 2012/10/05 17:24, Dimitry Andric wrote: >> Don't use an absolute path for CC, it will not work. You can't build >> FreeBSD with ports clang, yet. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Well. I noticed that /usr/src/sys/sys/vdso.h exists. Is there a way to install the new headers collection? I think this may solve the problem. ;-)