Libreoffice error during autogen
Stephan Bergmann
sbergman at redhat.com
Thu Aug 4 09:54:26 UTC 2022
On 8/4/22 10:49, Stephan Bergmann wrote:
> On 8/4/22 10:23, Julien Nabet wrote:
>> On pc Debian x86-64 with master sources updated today, I got:
>>
>> configure: compiler plugins compile flags: -I/usr/lib/llvm-14/include
>> -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
>> -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
>> checking for clang/Basic/SourceLocation.h... yes
>> checking for clang libraries to use...
>> configure: error: Cannot find Clang libraries to build compiler plugins.
>> Error running configure at ./autogen.sh line 322.
>>
>>
>> I noticed 5078591de9a0e65ca560a4f1913e90dfe95f66bf CLANGTOOLLIBS needs
>> to include -lclangSupport now
>
> Seeing that that change passed Jenkins, I naively assumed that
> libclangSupport would generally be available with our compiler plugins
> Clang 12.0.1 baseline (even if I myself only checked that change with my
> local LLVM 16 trunk build).
So my naive assumption was apparently wrong, and
<https://gerrit.libreoffice.org/c/core/+/137789> "-lclangSupport is only
available since Clang 15" should hopefully fix that. Sorry for the trouble.
More information about the LibreOffice
mailing list