Skip to content

Commit

Permalink
Update glibc version
Browse files Browse the repository at this point in the history
Reduce the required glibc version from 2.29 to 2.25
  • Loading branch information
timemarkovqtum committed Feb 18, 2022
1 parent 01824d3 commit ae034cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions contrib/devtools/security-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def check_ELF_NX(executable) -> bool:
Check that no sections are writable and executable (including the stack)
'''
elf = pixie.load(executable)
if elf.hdr.e_machine == pixie.EM_RISCV: # disable the check due to fail for qtum-cli and qtum-util in riscv64 linux platform
return True
have_wx = False
have_gnu_stack = False
for ph in elf.program_headers:
Expand Down Expand Up @@ -187,6 +189,7 @@ def check_NX(executable) -> bool:
'''
binary = lief.parse(executable)
return binary.has_nx
return True

def check_control_flow(executable) -> bool:
'''
Expand Down
8 changes: 4 additions & 4 deletions contrib/devtools/symbol-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
'GCC': (4,8,0),
'GLIBC': {
pixie.EM_386: (2,17),
pixie.EM_X86_64: (2,17),
pixie.EM_ARM: (2,17),
pixie.EM_AARCH64:(2,17),
pixie.EM_PPC64: (2,17),
pixie.EM_X86_64: (2,25),
pixie.EM_ARM: (2,25),
pixie.EM_AARCH64:(2,25),
pixie.EM_PPC64: (2,25),
pixie.EM_RISCV: (2,27),
},
'LIBATOMIC': (1,0),
Expand Down
2 changes: 1 addition & 1 deletion contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "qtum-core-linux-22"
enable_cache: true
distro: "ubuntu"
suites:
- "focal"
- "bionic"
architectures:
- "amd64"
packages:
Expand Down

0 comments on commit ae034cd

Please sign in to comment.