Slaven Rezic created CLOWNFISH-111:
--------------------------------------
Summary: Compilation fails with ccache (Clownfish-0.6.0.4)
Key: CLOWNFISH-111
URL: https://issues.apache.org/jira/browse/CLOWNFISH-111
Project: Apache Lucy-Clownfish
Issue Type: Bug
Components: Perl
Environment: FreebSD 9.2, ccache version 3.1.10, perl 5.18.4
Reporter: Slaven Rezic
I see the following build failure:
{noformat}
...
Running ./charmonizer...
./charmonizer --cc=ccache --host=perl --enable-c --enable-perl --make=make
--enable-makefile --disable-threads -- cc -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-I/usr/perl5.18.4p/lib/5.18.4/amd64-freebsd/CORE
...
ccache -pedantic -Wall -Wextra -Wno-variadic-macros -DPERL_GCC_PEDANTIC
-std=gnu99 -D_GNU_SOURCE -fvisibility=hidden -DCFISH_NOTHREADS -O2 -g
-fno-strict-aliasing -I . -I cfcore -I autogen/include cc -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -I/usr/perl5.18.4p/lib/5.18.4/amd64-freebsd/CORE -fPIC -D
CFP_CFISH cfcore/Clownfish.c -c -o cfcore/Clownfish.o
ccache: invalid option -- p
Usage:
ccache [options]
ccache compiler [compiler options]
compiler [compiler options] (via symbolic link)
...
{noformat}
At least on this system ccache has to be called with the C compiler as 1st
parameter, i.e. {{ccache cc ...}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)