HomePhabricator

Build C code in seeder with PIE_FLAGS
097f88c4566dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Build C code in seeder with PIE_FLAGS

Summary:
This avoids a relocation error for libbitcoin_seeder_a-dns.o when building
the seeder shared library on some Debian environments (rare).

The build problem was observed on Debian 8 x86_64 derivate with gcc 7.1.0:

/usr/bin/ld: libbitcoin_seeder.a(libbitcoin_seeder_a-dns.o): relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC

Depends D581 .

Test Plan: make check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D582

Details

Provenance
freetraderAuthored on Oct 4 2017, 20:45
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Reviewer
Restricted Project
Differential Revision
D582: Build C code in seeder with PIE_FLAGS
Parents
rSTAGINGe9bc0d3f5981: Fix seeder compilation warnings
Branches
Unknown
Tags
Unknown