Skip to content

Conversation

brakmic
Copy link
Contributor

@brakmic brakmic commented Mar 18, 2020

This PR fixes the linking errors for bench-only builds by adding a -levent flag to EVENT_LIBS.

Additionally, it fixes a typo in $(EVENT_CFLAGS) and removes the double $(LIBBITCOIN_SERVER) linking entry, because a similar one was also fixed in the Makefile.am: #17910

Fixes #18373

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 18, 2020

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

@Empact
Copy link
Contributor

Empact commented Mar 18, 2020

ACK 4f20bcb code review + built locally before and after on Mac

@DrahtBot
Copy link
Contributor

Gitian builds

File commit 67de1ee
(master)
commit e49da8d
(master and this pull)
bitcoin-0.19.99-aarch64-linux-gnu-debug.tar.gz 0e9d652ab5beec7c... 95b12bf7194795a4...
bitcoin-0.19.99-aarch64-linux-gnu.tar.gz 37bd1d1ee28c8749... 008a01f1e3732b72...
bitcoin-0.19.99-arm-linux-gnueabihf-debug.tar.gz 65cb3b95f16f39cb... 2abb7c0eb4d6eb5f...
bitcoin-0.19.99-arm-linux-gnueabihf.tar.gz 4b390568c8bb8f1d... c4d4e5e0679fc621...
bitcoin-0.19.99-osx-unsigned.dmg b6b7e8e8d2d213b6... c15da2d927315717...
bitcoin-0.19.99-osx64.tar.gz 8c1423b90711cbe8... d3c22f07cc02a008...
bitcoin-0.19.99-riscv64-linux-gnu-debug.tar.gz 2fd002c7ea975ae1... 2201f2daf6f5bb2d...
bitcoin-0.19.99-riscv64-linux-gnu.tar.gz bf93f5e22290630f... 2c6786929db47038...
bitcoin-0.19.99-win64-debug.zip 6db4c26e506f77dd... 8d0d642dcb0295f2...
bitcoin-0.19.99-win64-setup-unsigned.exe 2cac65f36b008bad... 59038eb9d8720a19...
bitcoin-0.19.99-win64.zip cb84b196618a3f1c... 765e0f86da773635...
bitcoin-0.19.99-x86_64-linux-gnu-debug.tar.gz e8a5847581b5956a... ee4631328d65626c...
bitcoin-0.19.99-x86_64-linux-gnu.tar.gz 638056af9469e340... a8c72276f53199f0...
bitcoin-0.19.99.tar.gz e9069d18ac0dfa2c... 01802a28ba3ebf5b...
bitcoin-core-linux-0.20-res.yml 4eea4cd878134890... 8a87a2dd2de9100d...
bitcoin-core-osx-0.20-res.yml ffde76c76290ea7d... fab6938110234b0c...
bitcoin-core-win-0.20-res.yml bae7a1dca0f4345b... 082a45bed90128b3...
linux-build.log 927864b31f0ef2f7... 415ad8f3734aa2a3...
osx-build.log fe837be4c466c733... 3ed3f355b98bc916...
win-build.log 5c2334ca8b827c8a... e32fa7167ee15975...
bitcoin-core-linux-0.20-res.yml.diff e8c13d01b9bdc13b...
bitcoin-core-osx-0.20-res.yml.diff 4b4926de2ebc02af...
bitcoin-core-win-0.20-res.yml.diff 091d65927963af36...
linux-build.log.diff 8b53fdd6055ae5f0...
osx-build.log.diff 2b7ae8f750b7cecf...
win-build.log.diff 87f30f6a835ae0cf...

@DrahtBot
Copy link
Contributor

Gitian builds

File commit 5bf45fe
(master)
commit 21dedf9
(master and this pull)
bitcoin-0.19.99-aarch64-linux-gnu-debug.tar.gz b22d53a17559ca60... 8bc2505078ab40a3...
bitcoin-0.19.99-aarch64-linux-gnu.tar.gz 0c9a5d8774b2af8d... 5c13c18f18fbb9a6...
bitcoin-0.19.99-arm-linux-gnueabihf-debug.tar.gz ec367ad80fb3d38c... 998eaed7286ff3c3...
bitcoin-0.19.99-arm-linux-gnueabihf.tar.gz 422b2df32e15c86e... 680b007397063aff...
bitcoin-0.19.99-osx-unsigned.dmg 400859ceb32937ef... cbfeba13247fb021...
bitcoin-0.19.99-osx64.tar.gz 592d01b95db0fcc2... 34f823306c24096a...
bitcoin-0.19.99-riscv64-linux-gnu-debug.tar.gz 3f3b7a8a49f6ef74... 958717fa63dbb449...
bitcoin-0.19.99-riscv64-linux-gnu.tar.gz e2f2f0829f15274b... f406e7a174fb9c23...
bitcoin-0.19.99-win64-debug.zip ea387f7be17ebdac... b99da6e6976b4985...
bitcoin-0.19.99-win64-setup-unsigned.exe 9a47ac4a9a082577... 639fd751e9a0a2fe...
bitcoin-0.19.99-win64.zip 2b0fa9d48800ca97... 0104cfd494c7f295...
bitcoin-0.19.99-x86_64-linux-gnu-debug.tar.gz 7ac3305ca3ad57d9... 7ac8a0ddf765b629...
bitcoin-0.19.99-x86_64-linux-gnu.tar.gz fb048392882b021d... 0265dd88bd96c3fb...
bitcoin-0.19.99.tar.gz 0d103a4489a2b12f... 6154c09311a728a8...
bitcoin-core-linux-0.20-res.yml 0e8473886335bfb1... 26be13804db71cfd...
bitcoin-core-osx-0.20-res.yml e179fc2662f698f7... 02b313957f631ae4...
bitcoin-core-win-0.20-res.yml 6930350677d39138... bf59f4b8c0196490...
linux-build.log f09f65b35309bf6e... 7bfc8c53f70e8ee3...
osx-build.log 5fdfe8b124613a2c... ff8d18b1bf3fc803...
win-build.log 756f9f6d2f891482... 712065451761d926...
bitcoin-core-linux-0.20-res.yml.diff 3eb7337b88911be6...
bitcoin-core-osx-0.20-res.yml.diff 6f60be3c2c980288...
bitcoin-core-win-0.20-res.yml.diff 1d38c6354b7926ba...
linux-build.log.diff 9bf3e63444bb1563...
osx-build.log.diff 86a7460e6e4099d8...
win-build.log.diff 4533cf1102744632...

@hebasto
Copy link
Member

hebasto commented Mar 21, 2020

Please look into #18397.

@brakmic
Copy link
Contributor Author

brakmic commented Mar 21, 2020

@hebasto ,

Thanks. Should I close this PR then?

@fanquake
Copy link
Member

Yes, lets use the approach in #18397. Some of your changes are included there as well.

@fanquake fanquake closed this Mar 25, 2020
@brakmic brakmic deleted the bench-compilation branch March 25, 2020 08:04
@brakmic
Copy link
Contributor Author

brakmic commented Mar 25, 2020

Yes, lets use the approach in #18397. Some of your changes are included there as well.

Btw. I will open a new PR regarding the double $(LIBBITCOIN_SERVER).

fanquake added a commit that referenced this pull request Mar 26, 2020
cd04286 build: Fix typo in EVENT_CFLAGS variable (Hennadii Stepanov)
f709ad0 build: Fix libevent linking for bench_bitcoin binary (Hennadii Stepanov)

Pull request description:

  This change fixes `libevent` linking error for the `bench_bitcoin` binary.

  This PR is an alternative to #18377.
  Fix #18373.

  Also fixed a typo in `EVENT_CFLAGS` variable noted by **brakmic**.

ACKs for top commit:
  fanquake:
    ACK cd04286

Tree-SHA512: a62f7457e86b11d3a55d603ea5d83f3a413792e2f28a0c72300e54d12591bd6f0acc1d76a4bd4b591e0223bc6d530e7a4b9a8b939fe2fdbf2dddfda5b1b537be
fanquake added a commit that referenced this pull request Mar 26, 2020
1f97b69 build: remove double LIBBITCOIN_SERVER from bench-Makefile (Harris)

Pull request description:

  This PR removes the redundant **LIBBITCOIN_SERVER** linking from bench's Makefile.
  This PR is similar to #17910

  Originally, this PR was part of #18377, which later got replaced by a better one #18397 written by **hebasto**.

ACKs for top commit:
  Empact:
    Code Review ACK 1f97b69
  theStack:
    ACK 1f97b69
  hebasto:
    ACK 1f97b69

Tree-SHA512: e43035262361d4458a7dcfc920445540f19301387814cde1be0539c936fc20da0dcbe49e5ea25385e6d36d9639515b7a4171228223da568d93427e9c32810945
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 28, 2020
…nary

cd04286 build: Fix typo in EVENT_CFLAGS variable (Hennadii Stepanov)
f709ad0 build: Fix libevent linking for bench_bitcoin binary (Hennadii Stepanov)

Pull request description:

  This change fixes `libevent` linking error for the `bench_bitcoin` binary.

  This PR is an alternative to bitcoin#18377.
  Fix bitcoin#18373.

  Also fixed a typo in `EVENT_CFLAGS` variable noted by **brakmic**.

ACKs for top commit:
  fanquake:
    ACK cd04286

Tree-SHA512: a62f7457e86b11d3a55d603ea5d83f3a413792e2f28a0c72300e54d12591bd6f0acc1d76a4bd4b591e0223bc6d530e7a4b9a8b939fe2fdbf2dddfda5b1b537be
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 28, 2020
…h-Makefile

1f97b69 build: remove double LIBBITCOIN_SERVER from bench-Makefile (Harris)

Pull request description:

  This PR removes the redundant **LIBBITCOIN_SERVER** linking from bench's Makefile.
  This PR is similar to bitcoin#17910

  Originally, this PR was part of bitcoin#18377, which later got replaced by a better one bitcoin#18397 written by **hebasto**.

ACKs for top commit:
  Empact:
    Code Review ACK bitcoin@1f97b69
  theStack:
    ACK bitcoin@1f97b69
  hebasto:
    ACK 1f97b69

Tree-SHA512: e43035262361d4458a7dcfc920445540f19301387814cde1be0539c936fc20da0dcbe49e5ea25385e6d36d9639515b7a4171228223da568d93427e9c32810945
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Nov 1, 2021
…h-Makefile

1f97b69 build: remove double LIBBITCOIN_SERVER from bench-Makefile (Harris)

Pull request description:

  This PR removes the redundant **LIBBITCOIN_SERVER** linking from bench's Makefile.
  This PR is similar to bitcoin#17910

  Originally, this PR was part of bitcoin#18377, which later got replaced by a better one bitcoin#18397 written by **hebasto**.

ACKs for top commit:
  Empact:
    Code Review ACK bitcoin@1f97b69
  theStack:
    ACK bitcoin@1f97b69
  hebasto:
    ACK 1f97b69

Tree-SHA512: e43035262361d4458a7dcfc920445540f19301387814cde1be0539c936fc20da0dcbe49e5ea25385e6d36d9639515b7a4171228223da568d93427e9c32810945
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 22, 2021
…h-Makefile

1f97b69 build: remove double LIBBITCOIN_SERVER from bench-Makefile (Harris)

Pull request description:

  This PR removes the redundant **LIBBITCOIN_SERVER** linking from bench's Makefile.
  This PR is similar to bitcoin#17910

  Originally, this PR was part of bitcoin#18377, which later got replaced by a better one bitcoin#18397 written by **hebasto**.

ACKs for top commit:
  Empact:
    Code Review ACK bitcoin@1f97b69
  theStack:
    ACK bitcoin@1f97b69
  hebasto:
    ACK 1f97b69

Tree-SHA512: e43035262361d4458a7dcfc920445540f19301387814cde1be0539c936fc20da0dcbe49e5ea25385e6d36d9639515b7a4171228223da568d93427e9c32810945
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Dec 22, 2021
…h-Makefile

1f97b69 build: remove double LIBBITCOIN_SERVER from bench-Makefile (Harris)

Pull request description:

  This PR removes the redundant **LIBBITCOIN_SERVER** linking from bench's Makefile.
  This PR is similar to bitcoin#17910

  Originally, this PR was part of bitcoin#18377, which later got replaced by a better one bitcoin#18397 written by **hebasto**.

ACKs for top commit:
  Empact:
    Code Review ACK bitcoin@1f97b69
  theStack:
    ACK bitcoin@1f97b69
  hebasto:
    ACK 1f97b69

Tree-SHA512: e43035262361d4458a7dcfc920445540f19301387814cde1be0539c936fc20da0dcbe49e5ea25385e6d36d9639515b7a4171228223da568d93427e9c32810945
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build: building for just bench fails to link due to libevent symbols
7 participants