From: "Ludovic Courtès" <ludo@gnu.org>
To: "Jakub Kądziołka" <kuba@kadziolka.net>
Cc: 41872@debbugs.gnu.org
Subject: bug#41872: emacs-irony-mode fails to build on LLVM 10
Date: Tue, 16 Jun 2020 12:13:52 +0200 [thread overview]
Message-ID: <87sgevtj1b.fsf@gnu.org> (raw)
In-Reply-To: <20200615154111.m5ls5s3znv7rqpxk@gravity> ("Jakub \=\?utf-8\?B\?S8SFZHppb8WCa2EiJ3M\=\?\= message of "Mon, 15 Jun 2020 17:41:11 +0200")
Hi,
Jakub Kądziołka <kuba@kadziolka.net> skribis:
> The ClangTargets.cmake file for LLVM 10 gained ApplyReplacements in a
> list of libraries provided by clang, but Guix removes these libraries:
>
> ========================================================================
> ;; Remove MiBs of .a files coming from
> ;; 'clang-tools-extra'.
> (for-each (lambda (component)
> (delete-file
> (string-append lib "/libclang"
> component ".a")))
> '("ApplyReplacements"
> "ChangeNamespace"
> "Daemon"
> "DaemonTweaks"
> "Doc"
> "IncludeFixer"
> "IncludeFixerPlugin"
> "Move"))
> ========================================================================
I think these libraries come from clang-tools-extra, not plain clang. I
came up with the list above by comparing the lib/ directory of clang
without clang-tools-extra and clang with clang-tools-extra. I was
pretty sure these libraries were only used by the clang-tools-extra
binaries.
> CMake Error at /gnu/store/4ml806jam2af7f8i8sg8xi7b4mw81x9g-clang-10.0.0/lib/cmake/clang/ClangTargets.cmake:627 (message):
> The imported target "clangApplyReplacements" references the file
>
> "/gnu/store/4ml806jam2af7f8i8sg8xi7b4mw81x9g-clang-10.0.0/lib/libclangApplyReplacements.a"
>
> but this file does not exist. Possible reasons include:
Does it work to comment out in that file all the lines like:
--8<---------------cut here---------------start------------->8---
list(APPEND _IMPORT_CHECK_TARGETS clangApplyReplacements )
list(APPEND _IMPORT_CHECK_FILES_FOR_clangApplyReplacements "${_IMPORT_PREFIX}/lib/libclangApplyReplacements.a" )
--8<---------------cut here---------------end--------------->8---
?
Alternatively, we can try building clang@10 with the flags Pierre
mentioned recently on this list so that we’re only building shared
libraries; that should take up less space.
HTH,
Ludo’.
next prev parent reply other threads:[~2020-06-16 10:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 15:41 bug#41872: emacs-irony-mode fails to build on LLVM 10 Jakub Kądziołka
2020-06-16 10:13 ` Ludovic Courtès [this message]
2020-06-20 1:27 ` Jakub Kądziołka
2020-06-20 14:07 ` Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sgevtj1b.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=41872@debbugs.gnu.org \
--cc=kuba@kadziolka.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).