muttleyxd/clang-tools-static-binaries

Support clang-format and clangd for GLIBC 2.12

perseoGI opened this issue ยท 5 comments

Ey! I will be pleased if you could upload statically build binaries for clangd and clang-format to work on a Red Hat 6.3.
This machine is not mine and I don't have root access.
The compiler installed on it is GCC 4.4.6.
On that machine clang is not installed, nor LLVM.

$ rpm -q glibc
glibc-2.12-1.80.el6.x86_64
glibc-2.12-1.80.el6.i686

$ cat /proc/version
Linux version 2.6.32-279.el6.x86_64 (mockbuild@x86-008.build.bos.redhat.com) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Wed Jun 13 18:24:36 EDT 2012

$ cat /etc/redhat-release
Red Hat Enterprise Linux Workstation release 6.3 (Santiago)

See my post on reddit for details.
I have tested everything I know, and sadly I think I'm going to need to compile them.

Could you please take a look at it?
Thanks in advance!

Hey,

for now I was able to prepare a VM with CentOS 6.3 (I hope it's compatible with RHEL6.3, which I don't have access to) and build Clang 10 on it, so now I'll try to move this VM into Docker container and try to create CI pipelines for it.

Anyways, for now you can download these, if you haven't built it yourself yet, then here you are:
https://github.com/muttleyxd/clang-tools-static-binaries/releases/tag/clang10-centos63

OMG you are the saviour!!! <3
Thank you SO MUCH. All this binaries are working on that old rusty server!!! (RH 6.3)

That was really incredible @muttleyxd thank you so much seriously.

Great to hear that this works ๐Ÿ˜€
I'll reopen the issue as I want to automate this process of building Linux 2.6-compatible binaries and it'll be closed once it's done.

Ok no problem, thank you again!!!
After ton of research, I found the only plug setup for Vim 8.1 to work on this old machine:

Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'prabirshrestha/asyncomplete-file.vim'

FYI

FWIW, widely-used option for build images is manylinux (manylinux1 == centos6, manylinux10 == centos7).