Compiling with clang 3.7: breaks in 'external/libwpd'

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Sat Oct 10 02:42:23 PDT 2015


Hi all,

I'm trying to compile with clang 3.7 (home built from source I got as 
described here [1]) on Ubuntu 14.04.

Building LO master f99743e from scratch breaks as:

...

Making all in lib
   CXX      libwpd_internal.lo
clang: error: argument unused during compilation: '-I .'
clang: error: argument unused during compilation: '-I ../..'
clang: error: argument unused during compilation: '-I ../../inc'
clang: error: argument unused during compilation: '-I 
/srv5/git/LO/lo-clang-test/workdir/UnpackedTarball/librevenge/inc'
Makefile:1042: recipe for target 'libwpd_internal.lo' failed
make[5]: *** [libwpd_internal.lo] Error 1
Makefile:366: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:478: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:388: recipe for target 'all' failed
make[2]: *** [all] Error 2
/srv5/git/LO/lo-clang-test/external/libwpd/ExternalProject_libwpd.mk:23: 
recipe for target 
'/srv5/git/LO/lo-clang-test/workdir/ExternalProject/libwpd/build' failed
make[1]: *** 
[/srv5/git/LO/lo-clang-test/workdir/ExternalProject/libwpd/build] Error 1
Makefile:103: recipe for target 'libwpd' failed
make: *** [libwpd] Error 2

Compilation exited abnormally with code 2 at Sat Oct 10 11:20:08
...

Configured as:

CC=clang
CXX=clang++
--with-external-tar=/srv5/git/LO/externals
--with-lang=en-US
--enable-compiler-plugins
--enable-sal-log
--with-parallelism=1

single core build log of broken project can be read from
http://pastebin.com/QgMyzkJt

Any Idea?

Thanks

-- 
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
[1] http://llvm.org/docs/GettingStarted.html#git-mirror


More information about the LibreOffice mailing list