Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 08:32:57 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   11.0-CURRENT (on powerpc64) WITH_CCACHE_BUILD= : example failure
Message-ID:  <CC5D2B58-A01D-4F4D-8D2E-03355847E1C3@dsl-only.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CC5D2B58-A01D-4F4D-8D2E-03355847E1C3>