summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2021-07-26build Skia also on MacLuboš Luňák
This only builds the library, without using it. Change-Id: I54e940bcaa61852b831dbe7ae5660a5daf5fe609 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119356 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-07-04Fix LIB_FUZZING_ENGINE not-empty checkAndrzej Hunt
Switch to '-z $LIB_FUZZING_ENGINE' to check if LIB_FUZZING_ENGINE is set. The previous version evaluates to false when LIB_FUZZING_ENGINE is not set, meaning you would not be warned at configure time when using -enable_fuzzers without setting LIB_FUZZING_ENGINE. Original broken version landed in: 44b36a0602b04342566362bce3f6bed7d2b096e4 ( https://gerrit.libreoffice.org/c/core/+/111691 ) Change-Id: Ic2174777ebf724e471cd605ba54b245e4e804705 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118372 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-25python3: update to 3.8.10Jan-Marek Glogowski
So we don't build 3.8.8rc1 anymore. I didn't look into 3.9. Change-Id: Ife7d898c913b9b164168b0ef23a055deea55815f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117757 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-24cross-toolset: fix real cross help buildingJan-Marek Glogowski
Regression from commit 14069d84174ca7a4e60db4d75912903e9679b643 ("configure: Improve help-options handling"). We now must forward the help and extension configure options, as this is needed by the cross toolset to know, if it needs to build the HelpIndexer and HelpLinker executables. Also get rid of gb_Helper_optional_for_host. While it's in theory more correct, it makes gb_Helper_optional more complex, so we now rely on the fact, that the config_build.mk BUILD_TYPE is a subset of the config_host.mk BUILD_TYPE. This should fix the Windows Arm64 build, which currently seem to be the only cross-build including help. Change-Id: I8b90923c891b43cd2655b2578015c9bd579aae7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117758 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-23Fix typosAndrea Gelmini
Change-Id: Ia1d0c358868e899e121b8331fad17ce36d454f10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117668 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-06-22configure: Improve help-options handlingJan-Marek Glogowski
This patch includes: * A README.help.md as a general documentation for the different help types, the LO code and help-related build options. * Adds --disable-xmlhelp for removing the xmlhelp support from the build. Disable for iOS, Android and Emscripten. This was partly included in HAVE_FEATURE_DESKTOP before. * Rename WITH_HELP define to WITH_HELPPACKS, which reflects the actual usage AFAIK. * Depend --with-omindex on --with-help=online and don't override the --with-help setting. Error out on conflicting options. * Depend --with-helppack-integration on build help variants, which actually result in help packs. Kind of reverts commit 2c38ea6d16b910294220cefaf8ae6a0683e6405a ("Building without --with-help is not supposed to disable help functionality"). Change-Id: Ie4cb73905b3ed94e991d9f1bd75cfbd6de9da385 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116222 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-22configure: make OpenLDAP test independent from X11Jan-Marek Glogowski
I missed that PostgreSQL can be build on MacOSX with OpenLDAP support. Stephan had an incremental build failure because of it. But instead of opting-in using test_openldap=yes on MacOSX, like on Haiku, this drops the using_x11 dependency and defaults to "yes", like it was before. This was more of a convenience then reality anyway, and it makes really not much sense to disable OpenLDAP in case of --without-x. Change-Id: I959a3b30f1c369264174302f18267a4eb40a3a52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117046 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-13bump product version to 7.3.0.0.alpha0+Christian Lohmaier
Change-Id: I22adfa913dad2a4ae5d6fbeab87daf22f5545282
2021-06-10HAVE_FIREBIRD_30 is not used anymoreCaolán McNamara
Change-Id: If318cd33356c0082a63cbd941cdfc753c9d800e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116977 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-10firebird support accidentally defaulted to disabledCaolán McNamara
since... commit ffc6d564b91692cd9d99a0eb3b1ceaf54f7db89e Date: Tue Jun 1 07:40:12 2021 +0200 configure: Refactor disabling DB drivers Change-Id: I94e5e0aca54e1d6d0355d63b27d8fd73dd433083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116964 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-09allow system firebird 4Caolán McNamara
Change-Id: I330065f61d2d0fdfeeaeba4ee2e739e222d1c665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116918 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-02make --enable-gtk4 work againCaolán McNamara
missing $ for test_gtk4 in... commit 3d1f28dd1fbb2fe3f5b933a9d692fb4d033f08b6 Date: Sun May 30 18:19:40 2021 +0200 configure: Refactor platform defaults Change-Id: I8f08ab5945fbd98e2ff9eeede83bfad324b1c44a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116558 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-02enabling gtk vclplugs is supposed to enforce requiring system cairoCaolán McNamara
dropped by... commit 3d1f28dd1fbb2fe3f5b933a9d692fb4d033f08b6 Date: Sun May 30 18:19:40 2021 +0200 configure: Refactor platform defaults so cairo and pixman get downloaded and built out of the box with --enable-gtk3 Change-Id: I5f0b05ccaca008b9a36c6456811c9e105f13e334 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116550 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-01configure: Refactor disabling DB driversJan-Marek Glogowski
Disabling the DB connectivity is incomplete. We can't generally disable it for the cross-toolset, because svx / gengal then fails to build. But at least we can always disable most DB drivers in these cases and just use --disable-database-connectivity in the cross-toolset when building without galleries (which also gives this flag some testing with the Android cross-toolset). This also moves the DB modules in the registry generation target into a common DBCONNECTIVITY block, to prevent build failures. Change-Id: Ib98e1e8918cccc3caf9bc04185bac533509329a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116511 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-01configure: Refactor platform defaultsJan-Marek Glogowski
The main idea was to move complexity from source (and Makefiles) into configure.ac, because otherwise these must replicate the "same" branching, often resulting in diversions. Better to keep the logic in one place (configure.ac) and set additional variables to be used directly by source code and Makefiles. Notably this introduce the "using_*" platform flags, which should be considered constants. There is USING_X11, which actually tells, if the build uses the platform's X11 (and I opted for the removal of HAVE_FEATURE_X11). I also consider variables constant, after they have been exported by AC_SUBST, which should never be conditional, or some AC_DEFINE set them for a config header. A large block of defaults depends on $using_x11, so we set them to the same value, but just if the platform doesn't set it. The other important flag is $using_freetype_fontconfig, if the platform uses freetype and fontconfig. The headless plugin uses cairo for its drawing operations and freetype+fontconfig for text, so $test_cairo = $using_freetype_fontconfig. This is independent from a the cairo canvas! The OpenGL X11 code now depends on USING_X11, but it doesn't yet reflect the filter in Library_vcl.mk protecting glx. I don't know how correct this glx filter is, seeing that the source code just checked for "UNX - some non-X11 targets". Change-Id: Id1ba1a967a5d8d10ee217458be879ed00459f7e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116440 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-01Adapt to hamcrest-2.2-3.fc35.noarch.rpmStephan Bergmann
Change-Id: Ibddfc30a5f0828ab77235ec1155f1c2e1eef24ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116506 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-05-31configure: Keep warnings file and cat build onesJan-Marek Glogowski
Re-cat's the build / cross-toolset warnings file at the end of the host configure run and keeps them. Change-Id: If46fa3660dbd04cd5a23a4d9cd79fd19067dcfbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116437 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-29gbuild: implement gb_Library_get_target_for_buildJan-Marek Glogowski
I was wondering why removing instdir stuff forced a rebuild of the cross toolset. Turned out some cross-toolset bits were wrongly depending on host build stuff. It even had FIXME... As a consequence, gb_CPPU_ENV was replaced by config_host.mk flags to provide an CPPU_ENV_FOR_BUILD and also uses the correct OS_FOR_BUILD. Change-Id: I50e8e8dca50ab1ad3164948a585a792a52e4a39a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116359 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-29vcl: Implement static vclplug usageJan-Marek Glogowski
.. and convert Android to it. Will also be used by WASM. It's also kind of a followup on commit f5af2104fc490b90510e36bbf1d2adec8017c594. Change-Id: I3a1b5bc2eae2692e706da10c6352534433c61e57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116385 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-29configure: Fix typo in CRYPTO_* selection variableJan-Marek Glogowski
s/BUILD_TARGET/BUILD_TYPE/g Probably just passed build, because default TLS is NSS, which includes the same externals. Thanks Caolan for catching that. Fixes regression from 07556be594c77f9b7886ff31c2e1752f937cacd4. Change-Id: I4fa2f2b53c1234bd1612966151792ae7b33358be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116362 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-28Select svl crypto backend in configure.acJan-Marek Glogowski
And define USE_CRYPTO_* macros to select it in code. This way we can get rid of all the HAVE_FEATURE_NSS and _WIN32 variations. This also reverts 1f6b98f21495f0ecc5ded493cb3273da03852191. Change-Id: I101e4ae2f49cdb127d59bd49a4f1c86304ca2238 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116338 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-27configure: drop --disable-neonJan-Marek Glogowski
Use --with-webdav instead, which supports neon, serf or no and is available since commit dcae0509135c2067635ae3cf84b05dc9fb3d2d02 ("Build webdav based on serf if neon is disabled.") from 2014. Change-Id: I4b329b9c1d28e88961e86272a5554bfa4481f01e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116142 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-26configure: internal OpenLDAP depends on NSSJan-Marek Glogowski
So we need either NSS or a system OpenLDAP. Also add the $test_openldap flag. Change-Id: I134d1ed3a0a9654e264ccc66cdbe993a355620cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116109 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-26configure: Remove kde5 compatibility optionJan-Marek Glogowski
Change-Id: Idce493e5f5ac045f7e977b4073152c2fe2668b56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116111 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-05-26configure: merge extra test for $enable_cupsJan-Marek Glogowski
Change-Id: Ic98a6db70355aa24e29590bb9cb1416c15852090 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116144 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-26Improve error diagnosticStephan Bergmann
Change-Id: I1d7b82da3d0597aa6c5ffb251b9ad08bf464d2e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116136 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-05-26add privacy URL to crashreport dialog & updatecheck tab in optionsChristian Lohmaier
Change-Id: I35cda87c35876469bf581be223bc608e29f07b09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116105 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-05-25configure: Replace tabs with spacesJan-Marek Glogowski
Change-Id: I417c734484481223f1779e0c555b4f3e16e10b23 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116112 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-25configure: Add gen to VCLplugs outputJan-Marek Glogowski
And move all the output handling into a single place. Change-Id: Ia75440fc12a435b92239d7ec144be3d58e45d7d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116110 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-20upload libetonyek 0.1.10David Tardon
Change-Id: Iad586802e89b19701a20bebff06b238b617af2a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115769 Tested-by: Jenkins Reviewed-by: David Tardon <dtardon@redhat.com>
2021-05-18tdf#142335: fix bashism in configure.acJulien Nabet
Thanks to Matt Whitlock! (also reported in https://bugs.gentoo.org/show_bug.cgi?id=780432) Change-Id: I38fec6faf9a929adf1f300b8c369ec6c16a91ed8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115716 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-05-18make --disable-odk the defaultNoel Grandin
Because developers (especially new ones) don't need this, or the extra dependencies it tends to trigger Update distro and jenkins configs so that the ones that were building ODK before, are still building it after this. Change-Id: I5dc71e70dc457b7921a146008d7d2317b199caab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115647 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-14bump product version to 7.2.0.0.alpha1+Christian Lohmaier
Change-Id: I77c77c88eac413649279d104fecea0799f5046d0
2021-05-12Update to ICU 69.1Eike Rathke
Change-Id: I32836175a877349777dcbb6eb7b0d813aa31199a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2021-05-10upload libmwaw 0.3.19David Tardon
Change-Id: Ibb26390e6cc13c925f499bf95cfc6177d8c9b735 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115355 Tested-by: Jenkins Reviewed-by: David Tardon <dtardon@redhat.com>
2021-05-10bodge a gtk4 starting point into existenceCaolán McNamara
this is not supposed to work or anything even close to that Change-Id: I46b4fed6a1e6cfc885cb4f7c24660bb6438d5101 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115293 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-06Fix typosAndrea Gelmini
Change-Id: Ibc86f8a76080b55dd7c5a458e2b8fa7ce534a4b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115164 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-05-05Add --enable-wasm-stripJan-Marek Glogowski
Will just set enable wasm strip for cross-target Change-Id: I0840b843794e4fab694df26608619a7bf06f5e5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114981 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-05-05WASM: add Emscripten demo applicationJan-Marek Glogowski
Change-Id: I31297142761255b1f357fc9677a644b7a93c921a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111128 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-05-05WASM: add initial support for Emscripten cross buildJan-Marek Glogowski
- configure with: - --host=wasm64-local-emscripten - had to make a few externals optional, so adding: - --disable-nss - --disable-cmis - --disable-curl Change-Id: I48d1c73d2675ad2e2beaf2c341578199efbd24ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111130 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-05-05Switch OPENSSL config var from negative to positiveJan-Marek Glogowski
- align with most of the rest of config_host - rename DISABLE_OPENSSL to ENABLE_OPENSSL - make this configurable Change-Id: Ic3b41fcdda38db66134939f12265e0da24833d60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114564 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-04-27Accept iOS SDK 14.5Tor Lillqvist
Change-Id: I57bfcf40e823551021b58a74ef0e78a5781f5b0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114703 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-04-27Accept macOS SDK 11.3Tor Lillqvist
Change-Id: I210ae30e51d796990f88340da8b29f4c7080f5d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114702 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-04-22Detect a Clang consteval bugStephan Bergmann
...that hit us since 21584b304b21bfe6b99b6f29018c6b754ea28fc0 "make OUString(OUStringLiteral) constructor constexpr" e.g. at > [CXX] sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx > Assertion failed: (getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"), function AssertOK, file ~/github.com/llvm/llvm-project/llvm/lib/IR/Instructions.cpp, line 1469. > PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. > Stack dump: > 0. Program arguments: ~/llvm/inst/bin/clang++ -target arm64-apple-macos -stdlib=libc++ -mmacosx-version-min=11.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -ferror-limit=0 -DAARCH64 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DDBG_UTIL -DMACOSX -DMAC_OS_X_VERSION_MAX_ALLOWED=110100 -DMAC_OS_X_VERSION_MIN_REQUIRED=110000 -DNO_PTHREAD_PRIORITY -DOSL_DEBUG_LEVEL=1 -DSAL_LOG_INFO -DSAL_LOG_WARN -DUNIX -DUNX -D_DEBUG -D_PTHREADS -D_REENTRANT "-DCPPUNIT_PLUGIN_EXPORT=extern \"C\" SAL_DLLPUBLIC_EXPORT" -fvisibility=hidden -Werror -Xclang -load -Xclang ~/lo/core/compilerplugins/clang/plugin.so -Xclang -add-plugin -Xclang loplugin -Xclang -plugin-arg-loplugin -Xclang --debug -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wunused-macros -Wembedded-directive -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -fstack-protector-strong -fdiagnostics-color=always -Wdeprecated-copy-dtor -Wimplicit-fallthrough -Wunused-exception-parameter -Wrange-loop-analysis -fvisibility-inlines-hidden -fPIC -Woverloaded-virtual -Wshadow -Wno-ctor-dtor-privacy -fno-strict-aliasing -fsigned-char -std=c++2b -O0 -fstrict-aliasing -fstrict-overflow -ggdb2 -gsplit-dwarf -Xclang -debug-info-kind=constructor -DEXCEPTIONS_ON -fexceptions -DLIBO_INTERNAL_ONLY -c ~/lo/core/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx -o ~/lo/core/workdir/CxxObject/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.o -MMD -MT ~/lo/core/workdir/CxxObject/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.o -MP -MF ~/lo/core/workdir/Dep/CxxObject/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.d_ -I~/lo/core/external/boost/include -I~/lo/core/workdir/UnpackedTarball/boost -I~/lo/core/sal/qa/inc -I~/lo/core/workdir/UnpackedTarball/cppunit/include -I~/lo/core/include -I~/azul.com/zulu16.28.11-ca-jdk16.0.0-macosx_aarch64/zulu-16.jdk/Contents/Home/include -I~/azul.com/zulu16.28.11-ca-jdk16.0.0-macosx_aarch64/zulu-16.jdk/Contents/Home/include/darwin -I~/lo/core/config_host > 1. <eof> parser at end of file > 2. Per-file LLVM IR generation > 3. ~/lo/core/sal/qa/rtl/oustringbuffer/test_oustringbuffer_assign.cxx:24:10: Generating code for declaration '(anonymous namespace)::Test::test' > Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): > 0 clang++ 0x00000001026d3408 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 > 1 clang++ 0x00000001026d24cc llvm::sys::RunSignalHandlers() + 128 > 2 clang++ 0x00000001026d2b84 llvm::sys::CleanupOnSignal(unsigned long) + 236 > 3 clang++ 0x0000000102628c0c (anonymous namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long) + 128 > 4 clang++ 0x0000000102628df0 CrashRecoverySignalHandler(int) + 152 > 5 libsystem_platform.dylib 0x0000000185c49c44 _sigtramp + 56 > 6 libsystem_pthread.dylib 0x0000000185c01c24 pthread_kill + 292 > 7 libsystem_c.dylib 0x0000000185b49864 abort + 104 > 8 libsystem_c.dylib 0x0000000185b48b68 err + 0 > 9 clang++ 0x0000000104f30fc8 llvm::StoreInst::AssertOK() (.cold.6) + 0 > 10 clang++ 0x0000000101fc1110 llvm::StoreInst::AssertOK() + 164 > 11 clang++ 0x0000000101fc1504 llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Align, llvm::AtomicOrdering, unsigned char, llvm::Instruction*) + 316 > 12 clang++ 0x00000001022acee4 llvm::IRBuilderBase::CreateAlignedStore(llvm::Value*, llvm::Value*, llvm::MaybeAlign, bool) + 144 > 13 clang++ 0x00000001029ef018 clang::CodeGen::CodeGenFunction::EmitAggregateStore(llvm::Value*, clang::CodeGen::Address, bool) + 216 > 14 clang++ 0x0000000102a6235c clang::StmtVisitorBase<std::__1::add_pointer, (anonymous namespace)::AggExprEmitter, void>::Visit(clang::Stmt*) + 8400 > 15 clang++ 0x0000000102a66ca4 (anonymous namespace)::AggExprEmitter::VisitCastExpr(clang::CastExpr*) + 2132 > 16 clang++ 0x0000000102a5f318 clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) + 532 > 17 clang++ 0x0000000102a496e4 clang::CodeGen::CodeGenFunction::EmitAnyExprToMem(clang::Expr const*, clang::CodeGen::Address, clang::Qualifiers, bool) + 364 > 18 clang++ 0x0000000102a4a438 clang::CodeGen::CodeGenFunction::EmitMaterializeTemporaryExpr(clang::MaterializeTemporaryExpr const*) + 1708 > 19 clang++ 0x0000000102a49210 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) + 1588 > 20 clang++ 0x0000000102a4bd78 clang::CodeGen::CodeGenFunction::EmitReferenceBindingToExpr(clang::Expr const*) + 36 > 21 clang++ 0x00000001029f9314 clang::CodeGen::CodeGenFunction::EmitCallArg(clang::CodeGen::CallArgList&, clang::Expr const*, clang::QualType) + 672 > 22 clang++ 0x00000001029f8a10 clang::CodeGen::CodeGenFunction::EmitCallArgs(clang::CodeGen::CallArgList&, clang::CodeGen::CodeGenFunction::PrototypeWrapper, llvm::iterator_range<clang::Stmt::CastIterator<clang::Expr, clang::Expr const* const, clang::Stmt const* const> >, clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int, clang::CodeGen::CodeGenFunction::EvaluationOrder) + 1344 > 23 clang++ 0x0000000102a5da38 clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) + 2176 > 24 clang++ 0x0000000102a5ce00 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) + 560 > 25 clang++ 0x0000000102a66428 clang::CodeGen::RValue llvm::function_ref<clang::CodeGen::RValue (clang::CodeGen::ReturnValueSlot)>::callback_fn<(anonymous namespace)::AggExprEmitter::VisitCallExpr(clang::CallExpr const*)::$_0>(long, clang::CodeGen::ReturnValueSlot) + 72 > 26 clang++ 0x0000000102a662bc (anonymous namespace)::AggExprEmitter::withReturnValueSlot(clang::Expr const*, llvm::function_ref<clang::CodeGen::RValue (clang::CodeGen::ReturnValueSlot)>) + 620 > 27 clang++ 0x0000000102a63564 (anonymous namespace)::AggExprEmitter::VisitCallExpr(clang::CallExpr const*) + 160 > 28 clang++ 0x0000000102a5f318 clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr const*, clang::CodeGen::AggValueSlot) + 532 > 29 clang++ 0x0000000102a496e4 clang::CodeGen::CodeGenFunction::EmitAnyExprToMem(clang::Expr const*, clang::CodeGen::Address, clang::Qualifiers, bool) + 364 > 30 clang++ 0x0000000102a4a438 clang::CodeGen::CodeGenFunction::EmitMaterializeTemporaryExpr(clang::MaterializeTemporaryExpr const*) + 1708 > 31 clang++ 0x0000000102a49210 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) + 1588 > 32 clang++ 0x0000000102a4bd78 clang::CodeGen::CodeGenFunction::EmitReferenceBindingToExpr(clang::Expr const*) + 36 > 33 clang++ 0x00000001029f9314 clang::CodeGen::CodeGenFunction::EmitCallArg(clang::CodeGen::CallArgList&, clang::Expr const*, clang::QualType) + 672 > 34 clang++ 0x00000001029f8a10 clang::CodeGen::CodeGenFunction::EmitCallArgs(clang::CodeGen::CallArgList&, clang::CodeGen::CodeGenFunction::PrototypeWrapper, llvm::iterator_range<clang::Stmt::CastIterator<clang::Expr, clang::Expr const* const, clang::Stmt const* const> >, clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int, clang::CodeGen::CodeGenFunction::EvaluationOrder) + 1344 > 35 clang++ 0x0000000102a6849c clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) + 1164 > 36 clang++ 0x0000000102a69218 clang::CodeGen::CodeGenFunction::EmitCXXOperatorMemberCallExpr(clang::CXXOperatorCallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot) + 124 > 37 clang++ 0x0000000102a5cd20 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) + 336 > 38 clang++ 0x0000000102a504ac clang::CodeGen::CodeGenFunction::EmitCallExprLValue(clang::CallExpr const*) + 52 > 39 clang++ 0x0000000102a48c78 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) + 156 > 40 clang++ 0x0000000102a48d70 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) + 404 > 41 clang++ 0x0000000102a489f4 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) + 32 > 42 clang++ 0x0000000102b51b6c clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) + 276 > 43 clang++ 0x0000000102b59b74 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) + 168 > 44 clang++ 0x0000000102b9cdf8 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) + 212 > 45 clang++ 0x0000000102b9d6cc clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 892 > 46 clang++ 0x0000000102bb651c clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) + 460 > 47 clang++ 0x0000000102bb073c clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) + 568 > 48 clang++ 0x0000000102ba73cc clang::CodeGen::CodeGenModule::EmitDeferred() + 740 > 49 clang++ 0x0000000102ba73f4 clang::CodeGen::CodeGenModule::EmitDeferred() + 780 > 50 clang++ 0x0000000102ba73f4 clang::CodeGen::CodeGenModule::EmitDeferred() + 780 > 51 clang++ 0x0000000102ba73f4 clang::CodeGen::CodeGenModule::EmitDeferred() + 780 > 52 clang++ 0x0000000102ba73f4 clang::CodeGen::CodeGenModule::EmitDeferred() + 780 > 53 clang++ 0x0000000102ba73f4 clang::CodeGen::CodeGenModule::EmitDeferred() + 780 > 54 clang++ 0x0000000102ba73f4 clang::CodeGen::CodeGenModule::EmitDeferred() + 780 > 55 clang++ 0x0000000102ba73f4 clang::CodeGen::CodeGenModule::EmitDeferred() + 780 > 56 clang++ 0x0000000102ba61f4 clang::CodeGen::CodeGenModule::Release() + 76 > 57 clang++ 0x0000000102c2e778 (anonymous namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&) + 80 > 58 clang++ 0x0000000102b94f60 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 180 > 59 clang++ 0x0000000102e6c9c8 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 52 > 60 clang++ 0x0000000103aa727c clang::ParseAST(clang::Sema&, bool, bool) + 524 > 61 clang++ 0x0000000102e38404 clang::FrontendAction::Execute() + 100 > 62 clang++ 0x0000000102dcc1a8 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 820 > 63 clang++ 0x0000000102ea18d4 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1268 > 64 clang++ 0x0000000100acfe48 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 2012 > 65 clang++ 0x0000000100ace088 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 720 > 66 clang++ 0x0000000102c9b104 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28 > 67 clang++ 0x0000000102628b20 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 244 > 68 clang++ 0x0000000102c9ab9c clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 232 > 69 clang++ 0x0000000102c7575c clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 220 > 70 clang++ 0x0000000102c75bd4 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112 > 71 clang++ 0x0000000102c87858 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 224 > 72 clang++ 0x0000000100acd928 main + 8540 > 73 libdyld.dylib 0x0000000185c1df34 start + 4 > clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) > clang version 13.0.0 (https://github.com/llvm/llvm-project.git 5d2ffab5dfeec1cae8c79becd95c917cf7a8c0ea) > Target: arm64-apple-macos > Thread model: posix > InstalledDir: ~/llvm/inst/bin Change-Id: Ibe023a580e32638af30d05e5e2df383ee9aaecf6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114479 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-04-15vcl PDFiumLibraryTest: clean up not needed HAVE_FEATURE_PDFIUM ifdefsMiklos Vajna
This was already conditional in Module_vcl, so no need to have a duplicated check here. Which allows finally removing the HAVE_FEATURE_PDFIUM ifdef completely. New code can just call vcl::pdf::PDFiumLibrary::get() at runtime and see if the result is nullptr or not. Change-Id: I36508181865a31618e48cf7c2680d75465130dd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114108 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-04-14update serf to 1.3.9Luboš Luňák
Its build system has switches to scons, so build the library using gbuild. Change-Id: I45b784e65e4987c25baf3fa1477816c744663bf0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114107 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-04-14disable Skia if --disable -guiLuboš Luňák
There are link errors because of SkiaZone, and Skia is not even linked in for non-GUI. Change-Id: I942dbf79c2012b5dfd4259a7c4ecc680500174b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114111 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-04-11Get rid of apache-commons-loggingStephan Bergmann
...using Java 1.4 java.util.logging.Logger instead also for the last remaining uses in reportbuilder. (The mention in swext/mediawiki/src/THIRDPARTYLICENSEREADME.html was presumably a leftover from 4b6ceed4a4a9b152905a8b1712ffb9bd61373c16 "swext: Wiki Publisher does not use those apache-commons libraries".) Change-Id: Ia0bc598fe5844ced11cae497548ec7d09453a99d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113939 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-04-09do not #error in clangplugins with --disable-pchLuboš Luňák
I missed that -building-pch-with-obj is checked by configure (and used) only if PCHs are used. So remove the error checking and hope that it gets checked whenever somebody does changes related to the flag. Change-Id: Ibdf991169f023dae48dad0dd2929215fb048d57d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113841 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-04-09make clang plugin check code in headers only once if in PCHLuboš Luňák
When using Clang PCHs, we know for certain that the content of a PCH will be used once by the PCH's dedicated source file. So it is not necessary to let clang plugin check locations coming from a PCH every time, but just once when compiling that dedicated source. For starmath's parse.cxx this reduces compilation time 0.94s->0.4s (0.1s when not using plugins at all), for sc's document.cxx it is 5.9s->5.0s (4.0s without plugins). For reference, without PCHs the numbers are (with/without plugins) 2.1s/1.9s for parse.cxx and 11.2s/10.3s for document.cxx. Change-Id: Ie39787e65d7951187941dcff4899d053da63cbdd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113817 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>