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

build failed with LLVM 10 #8

Closed
Martins3 opened this issue Feb 4, 2021 · 1 comment
Closed

build failed with LLVM 10 #8

Martins3 opened this issue Feb 4, 2021 · 1 comment

Comments

@Martins3
Copy link

Martins3 commented Feb 4, 2021

As mentioned in aclements/libelfin#44, a small typo in libelfin will cause build failure with LLVM 10

diff --git a/elf/data.hh b/elf/data.hh
index ed5c7a1..4a60944 100644
--- a/elf/data.hh
+++ b/elf/data.hh
@@ -553,7 +553,7 @@ struct Sym<Elf64, Order>
                 return (stb)(info >> 4);
         }

-        void set_binding(stb v) const
+        void set_binding(stb v)
         {
                 info = (info & 0xF) | ((unsigned char)v << 4);
         }
@TartanLlama
Copy link
Owner

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

2 participants