Hello, the compiled version of 0.9.0 rc2 will be wrong. The result is marked as an library instead of an executable file. file * bitcoin-cli: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xd42622bbe2e65a01e47147e7ea58c1fe5236b0ff, stripped bitcoind: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x85a698beb487edda51ef46ea394f2a87f097d4c8, stripped bitcoin-qt: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x2bfd96a0711728ff27277507d002506cad33a7ce, stripped
build as "ELF 64-bit LSB shared object" instead of "ELF 64-bit LSB executable" #3847
issue tuxmaster opened this issue on March 11, 2014-
tuxmaster commented at 5:45 PM on March 11, 2014: none
-
laanwj commented at 4:10 PM on March 12, 2014: member
This is not a bug, but due to building with
-pie(Position Independent Executable), which is a hardening feature that allows address space randomization.Some naive tools (like
file) will see the resulting executable as shared library instead of executable, but they will still work as executable as normal. - laanwj closed this on Mar 12, 2014
- sidhujag referenced this in commit c8236e4622 on Dec 13, 2020
- MarcoFalke locked this on Sep 8, 2021