Libreoffice error during autogen

Julien Nabet serval2412 at yahoo.fr
Thu Aug 4 08:59:04 UTC 2022


On 04/08/2022 10:49, Stephan Bergmann wrote:
> [I took the liberty to move this to libreoffice at lists.freedesktop.org, 
> where it IMO fits better; please try to avoid private mails:]
>
> On 8/4/22 10:23, Julien Nabet wrote:
>> ...
>
> 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).
>
> Please look into your config.log, why exactly "checking for clang 
> libraries to use" fails for you.
> ...

I attached config.log where I noticed these:

configure:8306: clang -c   conftest.c >&5
conftest.c:29:9: error: unknown type name 'not'
                not a universal capable compiler
                ^
conftest.c:29:14: error: expected ';' after top level declarator
                not a universal capable compiler
                     ^
                     ;
2 errors generated.

configure:8371: clang -c   conftest.c >&5
conftest.c:35:4: error: use of undeclared identifier 'not'
                  not big endian
                  ^
1 error generated.
configure:8371: $? = 1

configure:8532: checking for library containing dlsym
configure:8562: clang -o conftest    conftest.c  >&5
/usr/bin/ld: /tmp/conftest-846c60.o: in function `main':
conftest.c:(.text+0x12): undefined reference to `dlsym'
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:8562: $? = 1

...

and for Clang libraries this:

| #define HAVE_P1155R3 1
| /* end confdefs.h.  */
|
|                     #include "clang/Basic/SourceLocation.h"
| int
| main (void)
| {
|  clang::FullSourceLoc().dump();
|   ;
|   return 0;
| }
|
configure:22058: result:
configure:22062: error: Cannot find Clang libraries to build compiler 
plugins.

Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 120002 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20220804/b99d5ade/attachment.bin>


More information about the LibreOffice mailing list