Hi Peter, *,
On Fri, May 6, 2011 at 5:35 PM, Peter Teeson <peter.teeson@bell.net> wrote:
[...]
OK my version of ccache is 3.1.4
And are you sure that this is also used when building?
Please show configure's output regarding the ccache check.
And also make sure to run configure/autogen.sh from a clean shell,
without having the environment variables from a previous compile set
(i.e. from a shell were you didn't source the MacOSX*Env.Set.sh file)
--disable-systray
not really needed, as gtk is not available, that one is disabled as
well automatically.
Still a problem. Here are log extracts:
......
Building module lingucomponent
Compiling: lingucomponent/source/spellcheck/macosxspell/macreg.cxx
Compiling: lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx
i686-apple-darwin10-g++-4.0.1: objective-c++: No such file or directory
i686-apple-darwin10-g++-4.0.1: objective-c++: No such file or directory
i686-apple-darwin10-g++-4.0.1: language --ccache-skip not recognized
i686-apple-darwin10-g++-4.0.1: language --ccache-skip not recognized
i686-apple-darwin10-g++-4.0.1: language --ccache-skip not recognized
i686-apple-darwin10-g++-4.0.1: language --ccache-skip not recognized
dmake: Error code 1, while making '../../../unxmacxi.pro/slo/macreg.obj'
Retrying /Users/pteeson/git/libo/lingucomponent/source/spellcheck/macosxspell
This really looks like the ccache bug wrt. --ccache-skip handling,
where it would strip the wrong arguments.
when use of ccache-skip is enabled, the following:
http://cgit.freedesktop.org/libreoffice/bootstrap/tree/solenv/inc/unxmacx.mk#n103
# -x options generally ignored by ccache, tell it that it can cache
# the result nevertheless
CCACHE_SKIP:=$(eq,$(USE_CCACHE),YES --ccache-skip $(NULL))
OBJCXXFLAGS:=$(CCACHE_SKIP) -x $(CCACHE_SKIP) objective-c++ -fobjc-exceptions
will result in "--ccache-skip -x --ccache-skip objective-c++
-fobjc-exceptions" to be added to the compile flags.
Your snippet (single-process build would be easier to tell what line
belongs to what execution) shows that apparently
"-x --ccache-skip objective-c++ -fobjc-exceptions" ends up being
passed to the compiler.
And this clearly is wrong, the real compiler should be called with "-x
objective-c++ -fobjc-exceptions"
I still think something is wrong with your ccache-setup. Please post
what the variable CXX and CC are set to in the MacOSX*Env.Set.sh
file/what compiler command is actually used.
How did you setup ccache? Using symlinks or by passing environment variables?
ciao
Christian
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.