You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (JIRA)" <ji...@apache.org> on 2016/11/29 10:52:58 UTC

[lucy-issues] [jira] [Resolved] (CLOWNFISH-111) Compilation fails with ccache (Clownfish-0.6.0.4)

     [ https://issues.apache.org/jira/browse/CLOWNFISH-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Wellnhofer resolved CLOWNFISH-111.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.6.1

Fixed with the following commit:

https://git1-us-west.apache.org/repos/asf?p=lucy-clownfish.git;a=commitdiff;h=fd6393d4c77121d327c3a7a03f71867997256b3f

> 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
>             Fix For: 0.6.1
>
>
> 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)