Gentoo Archives: gentoo-devhelp

From: Thomas Kahle <tom111@×××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] ccache
Date: Tue, 05 Feb 2008 10:11:12
Message-Id: 47A8365C.2030203@gmx.de
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi everyone,
5
6 i'm trying to write an ebuild and I experience problems with ccache
7 (only on this single package).
8 It seems as ccache somehow generates false positives on this one. After
9 changing the make options the program fails to build ("Declaration of
10 function not found"-like errors).
11 Deactivating ccache solves the problem.
12 I searched a little in Bugzilla, and there are some bugs where people
13 are arguing that ccache can or cannot create problems. So let me phrase
14 some clear questions:
15 **) Are there known issues with ccache? It seems to be stable and
16 untouched for several years already.
17 **) How can I filter the usage of ccache from inside the ebuild ?
18 **) Has anyone ever tried to use the same cache for 2 different versions
19 of the gcc ("share the cache")? Is it safe?
20
21 I first tried to share the cache, ran into the beforementioned trouble
22 and thought its because of the sharing. But after clearing the cache and
23 experimenting a little, I found that it seems to be related just to the
24 package. Its reproducible with a single compiler.
25
26 Any comments appreciated.
27 Thanks
28 Thomas
29 -----BEGIN PGP SIGNATURE-----
30 Version: GnuPG v2.0.7 (GNU/Linux)
31 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
32
33 iD8DBQFHqDZarpEWPKIUt7MRAthmAJ9BLR7AJzoT6C2fhkJTkX498b9uCgCgjT3s
34 brywv238NODdtPcZjc6HcaI=
35 =ffd5
36 -----END PGP SIGNATURE-----
37 --
38 gentoo-devhelp@l.g.o mailing list

Replies

Subject Author
[gentoo-devhelp] Re: ccache Ryan Hill <dirtyepic@g.o>