On Mon, Mar 18, 2013 at 12:10:18PM -0400, Martin Pool wrote: > What kind of file is the ftsystem.lo mentioned in the error? (What does > `file $PATH` say?)
ftsystem.lo is a a libtool object file. if I don't use ccache it's an ascii file and it's contents is something like: # Name of the PIC object. pic_object='.libs/ftsystem.o' # Name of the non-PIC object non_pic_object='ftsystem.o' if I use ccache the file type is: objs/ftsystem.lo: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped Did you try youself to compile freetype on linux? I'm quite sure you will encounter the same problem. Giacomo > On 18 March 2013 10:30, Giacomo Comes <co...@naic.edu> wrote: > > > Hi, > > I have found a bug in ccache as it fails to compile the package freetype. > > I have tested the bug on CentOS 5 and 6 and openSUSE 12.2 with ccache > > 3.1.9. > > > > This is how to reproduce the bug: > > download freetype 2.4.11, untar and run ./configure. > > run make > > compilation is succesful. > > > > Redo everything but this time in the last step run: > > make CC="ccache gcc" > > > > compilation will fail with the error message: > > > > libtool: link: `/dev/shm/freetype-2.4.11/objs/ftsystem.lo' is not a valid > > libtool object > > make: *** [/dev/shm/freetype-2.4.11/objs/libfreetype.la] Error 1 > > > > I have no idea if this is due to an already known bug of ccache > > or it is something new. Anyway I'm reporting it. > > > > Regards. > > > > Giacomo > > _______________________________________________ > > ccache mailing list > > ccache@lists.samba.org > > https://lists.samba.org/mailman/listinfo/ccache > > > > > > -- > Martin _______________________________________________ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache