Error compiling with -e PIE=1 #2298

issue mb300sd opened this issue on February 11, 2013
  1. mb300sd commented at 2:12 AM on February 11, 2013: contributor

    Compiling with -e PIE=1 as described in build-unix.txt gives this error. Appears to be leveldb related.

    /usr/bin/ld: /root/bitcoin/src/leveldb/libleveldb.a(db_impl.o): relocation R_X86_64_32S against `_ZTVZN7leveldb6DBImpl14RecoverLogFileEmPNS_11VersionEditEPmE11LogReporter' can not be used when making a shared object; recompile with -fPIC /root/bitcoin/src/leveldb/libleveldb.a: could not read symbols: Bad value collect2: error: ld returned 1 exit status make: *** [bitcoind] Error 1

  2. mb300sd commented at 2:26 AM on February 11, 2013: contributor

    Appears -fPIE is not being passed down to the leveldb build.

  3. mb300sd commented at 2:47 AM on February 19, 2013: contributor

    Tried again with recent merges, -fPIE is being passed, but it might need -fPIC too?

  4. laanwj commented at 2:35 PM on October 25, 2013: member

    Closing, as this relates to the old build system

  5. laanwj closed this on Oct 25, 2013

  6. MarcoFalke locked this on Sep 8, 2021
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me