From owner-freebsd-toolchain@freebsd.org Sun Dec 6 16:33:00 2015 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D8F59A0510 for ; Sun, 6 Dec 2015 16:33:00 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-151.reflexion.net [208.70.211.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 036DB1BD2 for ; Sun, 6 Dec 2015 16:32:59 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 28869 invoked from network); 6 Dec 2015 16:32:57 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 6 Dec 2015 16:32:57 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sun, 06 Dec 2015 11:32:58 -0500 (EST) Received: (qmail 23724 invoked from network); 6 Dec 2015 16:32:58 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 6 Dec 2015 16:32:58 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id E51061C43BF; Sun, 6 Dec 2015 08:32:54 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 11.0-CURRENT (on powerpc64) WITH_CCACHE_BUILD= : example failure Message-Id: Date: Sun, 6 Dec 2015 08:32:57 -0800 To: FreeBSD PowerPC ML , FreeBSD Toolchain , FreeBSD Current Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 16:33:00 -0000 Mostly just an FYI: This means that for my own purposes I'll tend to = avoid WITH_CCACHE_BUILD=3D for now. . . Context vintage: > # freebsd-version -ku; uname -aKU > 11.0-CURRENT > 11.0-CURRENT > FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #17 r291745M: Sat = Dec 5 08:20:20 PST 2015 = root@FBSDG5C0:/usr/obj/usr/src/sys/GENERIC64vtsc-NODEBUG powerpc = 1100091 1100091 I took a working make command for buildworld and added > env CCACHE_DIR=3D/var/tmp/ccache and > WITH_CCACHE_BUILD=3D and then tried to repeat the build. The result was: > --- lib_gen.o --- > /usr/local/bin/ccache /usr/local/bin/powerpc64-portbld-freebsd11.0-gcc = -O2 -pipe -isystem /usr/obj/usr/src/tmp/usr/include/. -Wl,-rpath-link = -Wl,/usr/obj/usr/src/tmp/usr/lib/. -Wl,-rpath-link = -Wl,/usr/obj/usr/src/tmp/lib/. -L/usr/obj/usr/src/tmp/usr/lib/. = -L/usr/obj/usr/src/tmp/lib/. -I. = -I/usr/obj/usr/src/lib/ncurses/ncurses/../ncurses = -I/usr/src/lib/ncurses/ncurses/../ncurses = -I/usr/src/lib/ncurses/ncurses/../ncurses = -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include = -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall = -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -MD -MP = -MF.depend.lib_gen.o -MTlib_gen.o -std=3Dgnu99 -fstack-protector-strong = -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Wno-uninitialized -Wno-pointer-sign -c lib_gen.c -o lib_gen.o . . . > --- lib_gen.o --- > _67737.c:754:3: error: "_Bool" after # is not a positive integer > In file included from = /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/curses.priv.= h:313:0, > from lib_gen.c:19: > _67737.c:755:2: error: expected ')' before 'int' The make command was: > env CCACHE_DIR=3D/var/tmp/ccache make -j 6 \ > WITH_FAST_DEPEND=3D WITH_CCACHE_BUILD=3D \ > CROSS_TOOLCHAIN=3Dpowerpc64-gcc \ > WITH_LIBCPLUSPLUS=3D \ > WITHOUT_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D \ > WITHOUT_CLANG_EXTRAS=3D \ > WITH_LLDB=3D \ > WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GNUCXX=3D \ > WITHOUT_BOOT=3D WITHOUT_LIB32=3D \ > buildworld buildkernel \ > KERNCONF=3DGENERIC64vtsc-NODEBUG \ > TARGET=3Dpowerpc TARGET_ARCH=3Dpowerpc64 [Yes, I'm using powerpc64-xtoolchain-gcc/powerpc64-gcc on a powerpc64 = machine (PowerMac G5), no gcc 4.2.1 present and clang 3.7 unused for the = build: powerpc64-gcc is also in use as a system tool chain, not just as = the "self hosted" cross toolchain.] Removing > env CCACHE_DIR=3D/var/tmp/ccache and > WITH_CCACHE_BUILD=3D and then repeating went back to working again. I actually went back and = forth more than once and tested with and without WITH_FAST_DEPEND=3D as = I was experimenting with both. The reported behavior was uniform over = this activity. The ports vintage powerpc64-xtoolchain-gcc/powerpc64-gcc and other = things are from: > # svnlite info /usr/ports/ > Path: /usr/ports > Working Copy Root Path: /usr/ports > URL: https://svn0.us-west.freebsd.org/ports/head > Relative URL: ^/head > Repository Root: https://svn0.us-west.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 402906 > Node Kind: directory > Schedule: normal > Last Changed Author: wen > Last Changed Rev: 402906 > Last Changed Date: 2015-12-03 18:06:07 -0800 (Thu, 03 Dec 2015) =3D=3D=3D Mark Millard markmi at dsl-only.net