From owner-freebsd-current@FreeBSD.ORG Thu Aug 26 02:42:52 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF24816A4CE; Thu, 26 Aug 2004 02:42:51 +0000 (GMT) Received: from av5-1-sn3.vrr.skanova.net (av5-1-sn3.vrr.skanova.net [81.228.9.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F70C43D31; Thu, 26 Aug 2004 02:42:51 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av5-1-sn3.vrr.skanova.net (Postfix, from userid 502) id DA62737EB1; Thu, 26 Aug 2004 04:42:50 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av5-1-sn3.vrr.skanova.net (Postfix) with ESMTP id CBB5937E4F; Thu, 26 Aug 2004 04:42:50 +0200 (CEST) Received: from gadget (h130n1fls11o822.telia.com [213.64.66.130]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id A9B0138002; Thu, 26 Aug 2004 04:42:50 +0200 (CEST) From: "Daniel Eriksson" To: "'David Xu'" , Date: Thu, 26 Aug 2004 04:42:51 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <200408252342.i7PNgeDs088718@repoman.freebsd.org> Thread-Index: AcSK/fEgb1PRhFShQ0+EcZM2/Dy7EwAF7muA Subject: buildworld breakage (RE: cvs commit: src/lib/libpthread/arch/amd64/include pthread_md.h src/lib/libpthread/arch/i386/include pthread_md.h) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 02:42:52 -0000 David Xu wrote: > Modified files: > lib/libpthread/arch/amd64/include pthread_md.h > lib/libpthread/arch/i386/include pthread_md.h > Log: > gcc -O2 cleanup. tested for a long time. This breaks buildworld: cc -fpic -DPIC -O2 -pipe -march=athlon-xp -DPTHREAD_KERNEL -I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/thread -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys -I/usr/src/lib/libpthread/../../libexec/rtld-elf -I/usr/src/lib/libpthread/../../libexec/rtld-elf/i386 -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall -I/usr/src/lib/libpthread/../libc/i386 -c /usr/src/lib/libpthread/arch/i386/i386/pthread_md.c -o pthread_md.So^M In file included from /usr/src/lib/libpthread/arch/i386/i386/pthread_md.c:43: /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:163: error: syntax error before "typeof" In file included from /usr/src/lib/libpthread/arch/i386/i386/pthread_md.c:43: /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:163: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_in_critical': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:184: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_in_critical': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:184: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_tcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:196: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_tcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:196: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curthread': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:204: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curthread': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:204: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curkse': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:214: error: syntax error before "typeof" /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curkse': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:214: error: syntax error before "typeof" *** Error code 1 /Daniel Eriksson