[ccache] Link problem under cygwin when compiling ccache using ccache

Perochon Sebastien Sebastien.Perochon at mmarelli-se.com
Thu May 13 08:13:34 GMT 2004


Can someone help me ?

Under cygwin, I have uncompress "ccache-2.3.tar.gz".
I have done a ./configure then make.
Then I have set in the makefile "CC=ccache gcc".
I have done a make clean then launch again make.
Here is the result... and the link error:

$ make
ccache gcc -g -O2 -Wall -W -I.   -c -o ccache.o ccache.c
ccache gcc -g -O2 -Wall -W -I.   -c -o mdfour.o mdfour.c
ccache gcc -g -O2 -Wall -W -I.   -c -o hash.o hash.c
ccache gcc -g -O2 -Wall -W -I.   -c -o execute.o execute.c
ccache gcc -g -O2 -Wall -W -I.   -c -o util.o util.c
ccache gcc -g -O2 -Wall -W -I.   -c -o args.o args.c
ccache gcc -g -O2 -Wall -W -I.   -c -o stats.o stats.c
ccache gcc -g -O2 -Wall -W -I.   -c -o cleanup.o cleanup.c
ccache gcc -g -O2 -Wall -W -I.   -c -o snprintf.o snprintf.c
ccache gcc -g -O2 -Wall -W -I.   -c -o unify.o unify.c
ccache gcc -g -O2 -Wall -W -I. -o ccache.exe ccache.o mdfour.o hash.o
execute.o
util.o args.o stats.o cleanup.o snprintf.o unify.o
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: ccache.o: local symbol `' has no section
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
ccache.
o(.stab+0x0): Stabs entry has invalid string index.
ccache.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [ccache.exe] Error 1


More information about the ccache mailing list