From owner-freebsd-toolchain@freebsd.org Sun Dec 6 16:39:37 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 8B63D9A05E6 for ; Sun, 6 Dec 2015 16:39:37 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-152.reflexion.net [208.70.211.152]) (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 4A0441CFE for ; Sun, 6 Dec 2015 16:39:36 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 2994 invoked from network); 6 Dec 2015 16:39:35 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 6 Dec 2015 16:39:35 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sun, 06 Dec 2015 11:39:38 -0500 (EST) Received: (qmail 13932 invoked from network); 6 Dec 2015 16:39:38 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 6 Dec 2015 16:39:38 -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 C43BC1C43D5; Sun, 6 Dec 2015 08:39:32 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: 11.0-CURRENT (on powerpc64) WITH_CCACHE_BUILD= : example failure From: Mark Millard In-Reply-To: Date: Sun, 6 Dec 2015 08:39:34 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <24874B49-5D3A-4617-8DDA-B3F25E2419A4@dsl-only.net> References: To: FreeBSD PowerPC ML , FreeBSD Toolchain , FreeBSD Current 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:39:37 -0000 I'm adding a note about the missing "\" being just an E-mail editing = error, not an original command error. . . On 2015-Dec-6, at 8:32 AM, Mark Millard wrote: > Mostly just an FYI: This means that for my own purposes I'll tend to = avoid WITH_CCACHE_BUILD=3D for now. . . >=20 > Context vintage: >=20 >> # 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 >=20 > I took a working make command for buildworld and added >=20 >> env CCACHE_DIR=3D/var/tmp/ccache >=20 > and >=20 >> WITH_CCACHE_BUILD=3D >=20 > and then tried to repeat the build. The result was: >=20 >> --- 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' >=20 >=20 > The make command was: >=20 >> 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 >=20 Note: The missing \ after ". . . BOOTSTRAP=3D " is my mail-editing = error, not a problem with the original command. > [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.] >=20 > Removing >=20 >> env CCACHE_DIR=3D/var/tmp/ccache >=20 > and >=20 >> WITH_CCACHE_BUILD=3D >=20 > 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. >=20 > The ports vintage powerpc64-xtoolchain-gcc/powerpc64-gcc and other = things are from: >=20 >> # 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) >=20 >=20 =3D=3D=3D Mark Millard markmi at dsl-only.net