All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13456] New: ccache prevents build
@ 2021-01-17 12:03 bugzilla at busybox.net
  2021-01-17 13:52 ` [Buildroot] [Bug 13456] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2021-01-17 12:03 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 13456] ccache prevents build
  2021-01-17 12:03 [Buildroot] [Bug 13456] New: ccache prevents build bugzilla at busybox.net
@ 2021-01-17 13:52 ` bugzilla at busybox.net
  2021-01-17 14:44 ` bugzilla at busybox.net
  2021-01-17 15:55 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2021-01-17 13:52 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13456

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
Thanks for your bug report. Can you reproduce it with the upstream Buildroot?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 13456] ccache prevents build
  2021-01-17 12:03 [Buildroot] [Bug 13456] New: ccache prevents build bugzilla at busybox.net
  2021-01-17 13:52 ` [Buildroot] [Bug 13456] " bugzilla at busybox.net
@ 2021-01-17 14:44 ` bugzilla at busybox.net
  2021-01-17 15:55 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2021-01-17 14:44 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13456

--- Comment #2 from Frank Wunderlich <frank-w@public-files.de> ---
mhm, seems to be fixed in 2020.11-825...ccache is also created in
~/.buildroot-ccache (298 MB)

btw. is there a way to make clean but leave compiled toolchain (i want to
compile for armhf and aarch64)?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 13456] ccache prevents build
  2021-01-17 12:03 [Buildroot] [Bug 13456] New: ccache prevents build bugzilla at busybox.net
  2021-01-17 13:52 ` [Buildroot] [Bug 13456] " bugzilla at busybox.net
  2021-01-17 14:44 ` bugzilla at busybox.net
@ 2021-01-17 15:55 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2021-01-17 15:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13456

Frank Wunderlich <frank-w@public-files.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Frank Wunderlich <frank-w@public-files.de> ---
2020.11.1 fixes it

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-17 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-17 12:03 [Buildroot] [Bug 13456] New: ccache prevents build bugzilla at busybox.net
2021-01-17 13:52 ` [Buildroot] [Bug 13456] " bugzilla at busybox.net
2021-01-17 14:44 ` bugzilla at busybox.net
2021-01-17 15:55 ` bugzilla at busybox.net

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.