Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support clang-format and clangd for GLIBC 2.12 #7

Open
perseoGI opened this issue Mar 11, 2021 · 5 comments
Open

Support clang-format and clangd for GLIBC 2.12 #7

perseoGI opened this issue Mar 11, 2021 · 5 comments

Comments

@perseoGI
Copy link

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 ([email protected]) (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!

@muttleyxd
Copy link
Owner

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

@perseoGI
Copy link
Author

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.

@muttleyxd
Copy link
Owner

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.

@muttleyxd muttleyxd reopened this Mar 24, 2021
@perseoGI
Copy link
Author

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

@ihnorton
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants