From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 13456] New: ccache prevents build
Date: Sun, 17 Jan 2021 12:03:38 +0000 [thread overview]
Message-ID: <bug-13456-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=13456
Bug ID: 13456
Summary: ccache prevents build
Product: buildroot
Version: 2020.11
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: frank-w at public-files.de
CC: buildroot at uclibc.org
Target Milestone: ---
i activated BR2_CCACHE=y and my build is broken with this error, seems like
optimization flag is not passed down to compiler
Run Build Command(s):/usr/bin/make cmTC_72e6a/fast && make[1]: Entering
directory
'/home/runner/work/buildroot/buildroot/output/build/host-ninja-1.10.0/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_72e6a.dir/build.make
CMakeFiles/cmTC_72e6a.dir/build
make[2]: Entering directory
'/home/runner/work/buildroot/buildroot/output/build/host-ninja-1.10.0/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_72e6a.dir/testCCompiler.c.o
/home/runner/work/buildroot/buildroot/output/host/bin/ccache -O2
-I/home/runner/work/buildroot/buildroot/output/host/include -o
CMakeFiles/cmTC_72e6a.dir/testCCompiler.c.o -c
/home/runner/work/buildroot/buildroot/output/build/host-ninja-1.10.0/CMakeFiles/CMakeTmp/testCCompiler.c
/home/runner/work/buildroot/buildroot/output/host/bin/ccache: invalid
option -- 'O'
Usage:
ccache [options]
ccache compiler [compiler options]
compiler [compiler options] (via symbolic link)
Common options:
-c, --cleanup delete old files and recalculate size
counters
(normally not needed as this is done
automatically)
-C, --clear clear the cache completely (except
configuration)
-F, --max-files=N set maximum number of files in cache to N
(use 0
for no limit)
-M, --max-size=SIZE set maximum size of cache to SIZE (use 0 for
no
limit); available suffixes: k, M, G, T
(decimal)
and Ki, Mi, Gi, Ti (binary); default suffix:
G
-p, --show-config show current configuration options in
human-readable format
-s, --show-stats show summary of configuration and statistics
counters in human-readable format
-z, --zero-stats zero statistics counters
-h, --help print this help text
-V, --version print version and copyright information
Options for scripting or debugging:
--dump-manifest=PATH dump manifest file at PATH in text format
-k, --get-config=K print the value of configuration key K
--hash-file=PATH print the hash (<MD4>-<size>) of the file at
PATH
--print-stats print statistics counter IDs and
corresponding
values in machine-parsable format
-o, --set-config=K=V set configuration item K to value V
See also <https://ccache.dev>.
CMakeFiles/cmTC_72e6a.dir/build.make:84: recipe for target
'CMakeFiles/cmTC_72e6a.dir/testCCompiler.c.o' failed
make[2]: *** [CMakeFiles/cmTC_72e6a.dir/testCCompiler.c.o] Error 1
make[2]: Leaving directory
'/home/runner/work/buildroot/buildroot/output/build/host-ninja-1.10.0/CMakeFiles/CMakeTmp'
Makefile:140: recipe for target 'cmTC_72e6a/fast' failed
my repo/config:
https://github.com/frank-w/buildroot/blob/2020.11-bpi/configs/BPI-R2_defconfig
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2021-01-17 12:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 12:03 bugzilla at busybox.net [this message]
2021-01-17 13:52 ` [Buildroot] [Bug 13456] ccache prevents build bugzilla at busybox.net
2021-01-17 14:44 ` bugzilla at busybox.net
2021-01-17 15:55 ` bugzilla at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-13456-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.