Your patch works fine for me, thanks! However, I don't see any performance gain when using ccache: # ccache -s cache directory /usr/src/.ccache cache hit (direct) 65 cache hit (preprocessed) 397 cache miss 225341 called for link 10852 multiple source files 20 compile failed 842 preprocessor error 61 bad compiler arguments 6 unsupported source language 15422 autoconf compile/link 593 unsupported compiler option 13939 no input file 36 files in cache 49386 cache size 914.4 Mbytes max cache size 1.0 Gbytes # time /home/krived/bin/update_freebsd.pl real 438m54.690s user 281m46.196s sys 125m25.608s # ccache -s cache directory /usr/src/.ccache cache hit (direct) 81 cache hit (preprocessed) 565 cache miss 362669 called for link 15636 multiple source files 28 compile failed 842 preprocessor error 61 bad compiler arguments 6 unsupported source language 26086 autoconf compile/link 593 unsupported compiler option 21887 no input file 44 files in cache 49346 cache size 900.0 Mbytes max cache size 1.0 Gbytes # Number of cache hits is very low. I need to understand this... On Thu, Sep 16, 2010 at 12:14 AM, Dimitry Andric <dim_at_freebsd.org> wrote: > On 2010-09-15 14:44, Dmitry Krivenok wrote: >> >> I recently updated to r212634 and tried to build CURRENT tree with ccache. > > ... >> >> /usr/src/lib/csu/i386-elf/crt1_s.S:42: Error: `8(%ebp)' is not a valid >> 64 bit base/index expression > > I assume this error occurs when building the 32-bit components on amd64. > If so, can you please try the attached patch? > > It should fix the build32 stage with a non-default ${CC} setting. This > also applies to building with clang, for instance. >Received on Mon Sep 20 2010 - 06:43:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC