Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 08:39:34 -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:   Re: 11.0-CURRENT (on powerpc64) WITH_CCACHE_BUILD= : example failure
Message-ID:  <24874B49-5D3A-4617-8DDA-B3F25E2419A4@dsl-only.net>
In-Reply-To: <CC5D2B58-A01D-4F4D-8D2E-03355847E1C3@dsl-only.net>
References:  <CC5D2B58-A01D-4F4D-8D2E-03355847E1C3@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <markmi@dsl-only.net> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24874B49-5D3A-4617-8DDA-B3F25E2419A4>