You are not logged in.
Hi,
after a recent system update Vim plugin YouCompleteMe stopped working. This plugin uses Clang and needs to be recompiled when a new version of Clang is released.
I recompiled it with the current Arch's Clang version - 6.0 - and YCM still doesn't work. I checked the different versions of libclang.so which YCM has been compiled in the past and see the following:
libclang.so.3.8 - 15356008 bytes
libclang.so.3.9 - 23159680 bytes
libclang.so.4.0 - 25171528 bytes
libclang.so.6.0 - 556032 bytes
I downloaded official precompiled binaries from LLVM website (for Debian, there are no official binaries for Arch) and see that libclang.so.6.0 is more that 70 Mb size.
Is libclang.so.6 for Arch is broken? (Or maybe is compiled with extremely lightweight flags?)
Last edited by nbd (2018-07-01 05:49:37)
bing different
Offline
Maybe a result of https://lists.archlinux.org/pipermail/a … 29179.html ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Is such difference in size between the official binary for Debian (70 Mb) and Arch's binary (500 Kb) OK? Does someone have YouCompleteMe working with the current Arch's Clang package?
(The whole set of CLang binaries for Debian is more than 1 GB size, so compiling them myself is a last resort.)
bing different
Offline
It's completely okay. The full package is 60 MB worth of shared libraries.
$ mkdir /tmp/clang-6.0.0-1-x86_64.pkg
$bsdtar -xf /var/cache/pacman/pkg/clang-6.0.0-1-x86_64.pkg.tar.xz -C /tmp/clang-6.0.0-1-x86_64.pkg
$ cd /tmp/clang-6.0.0-1-x86_64.pkg/usr/lib
$ du -sh .
60M .
$ objdump -p libclang.so|grep NEEDED
NEEDED libclangAST.so.6
NEEDED libclangBasic.so.6
NEEDED libclangFrontend.so.6
NEEDED libclangIndex.so.6
NEEDED libclangLex.so.6
NEEDED libclangSema.so.6
NEEDED libclangTooling.so.6
NEEDED libclangARCMigrate.so.6
NEEDED libclangTidyPlugin.so.6
NEEDED libclangIncludeFixerPlugin.so.6
NEEDED libdl.so.2
NEEDED libLLVM-6.0.so
NEEDED libstdc++.so.6
NEEDED libc.so.6If YCM doesn't work, it's got nothing to do with the size of libclang.so
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Thanks! I'll mark this thread solved.
bing different
Offline