From owner-freebsd-stable@FreeBSD.ORG Fri Oct 5 09:56:24 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 7EAFF106566B for ; Fri, 5 Oct 2012 09:56:24 +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 E17808FC0A for ; Fri, 5 Oct 2012 09:56:23 +0000 (UTC) Received: (qmail invoked by alias); 05 Oct 2012 09:56:19 -0000 Received: from unknown (EHLO bsd.laptop.mike) [124.89.80.42] by mail.gmx.com (mp-eu005) with SMTP; 05 Oct 2012 11:56:19 +0200 X-Authenticated: #137061016 X-Provags-ID: V01U2FsdGVkX1/TJi9jvuvToh6q8HVMmez+XMb4fe0Kfd2aDT3J0q RpnHI8F/kDRMkw Message-ID: <506EAEAD.209@gmx.us> Date: Fri, 05 Oct 2012 17:55:57 +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> In-Reply-To: <506EA759.4030700@FreeBSD.org> 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: Fri, 05 Oct 2012 09:56:24 -0000 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.