You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bad7159 merge bitcoin#27696: Do not define `ENABLE_ZMQ` when ZMQ is not available (Kittywhiskers Van Gogh)
edb3838 merge bitcoin#27387: Document `NO_USDT` option (Kittywhiskers Van Gogh)
6dcbed5 merge bitcoin#27406: add `NO_HARDEN=` option (Kittywhiskers Van Gogh)
92b405b merge bitcoin#27118: harden libevent (Kittywhiskers Van Gogh)
9393bf8 build: don't treat -Wcpp as an error on GCC <11 due to _FORTIFY_SOURCE=3 (Kittywhiskers Van Gogh)
cf553e9 merge bitcoin#27027: use _FORTIFY_SOURCE=3 (Kittywhiskers Van Gogh)
1789813 merge bitcoin#27057: set boost cppflags with --enable-fuzz (Kittywhiskers Van Gogh)
0b1863f merge bitcoin#25974: Separate `read_json` function into its own module (Kittywhiskers Van Gogh)
abcafca merge bitcoin#26833: allow NO_BOOST=1 & NO_LIBEVENT=1 in depends (Kittywhiskers Van Gogh)
35008a3 merge bitcoin#26099: remove duplicate / unneeded libs from bench_bitcoin (Kittywhiskers Van Gogh)
933a87e merge bitcoin#26086: remove BOOST_CPPFLAGS usage from bitcoin-tx (Kittywhiskers Van Gogh)
3203a81 merge bitcoin#26089: remove unused cppflags (Kittywhiskers Van Gogh)
95b6d00 merge bitcoin#26056: extract $(BOOST_CPPFLAGS) from $(BITCOIN_INCLUDES) (Kittywhiskers Van Gogh)
60fae05 merge bitcoin#25852: reorder CXXFLAGS in intrinsic checks (Kittywhiskers Van Gogh)
601884e merge bitcoin#25813: move raw rule into Makefile.am (Kittywhiskers Van Gogh)
ef6aff9 fix: use `_raw` suffix in raw test vectors similar to bench vectors (Kittywhiskers Van Gogh)
06ce58a revert: Separate .h generation from .json/.raw for different modules (Kittywhiskers Van Gogh)
7d6f0ea merge bitcoin#25687: Do not export `PKG_CONFIG_{PATH|LIBDIR}` variables (Kittywhiskers Van Gogh)
9b8ebe1 merge bitcoin#24291: Remove negated --enable-fuzz checks from build system (Kittywhiskers Van Gogh)
2f24453 merge bitcoin#25244: pass bdb cppflags only where needed (Kittywhiskers Van Gogh)
d7a8d6d merge bitcoin#24681: Bump libevent minimum version up to 2.1.8 (Kittywhiskers Van Gogh)
Pull request description:
## Additional Information
* In order to allow backporting [bitcoin#27027](bitcoin#27027), `-Werror=cpp` has been suppressed for GCC 11 as `_FORTIFY_SOURCE=3` was introduced in GCC 12 ([source](https://developers.redhat.com/articles/2022/09/17/gccs-new-fortification-level)) and the `linux64_sqlite` build variant errored ([build](https://github.com/dashpay/dash/actions/runs/15887716336/job/44804408978#step:8:1540)) due to our enablement of `-Werror`.
The warning emitted by GCC 11 has been acknowledged in the comments of [bitcoin#27027](bitcoin#27027) as well ([comment](bitcoin#27027 (comment))).
## Breaking Changes
None expected.
## Checklist
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)**
- [x] I have added or updated relevant unit/integration/functional/e2e tests
- [x] I have made corresponding changes to the documentation
- [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
ACKs for top commit:
UdjinM6:
utACK bad7159
knst:
re-ACK bad7159
Tree-SHA512: d8fecdea123d90a2ca3ea0d32a9a53f627ab3dff16520668280e21d9c094c84c45a5da2505a1de34906e2d3f946ac12839ed7e1ee621796b5879f65f96771dbe
@@ -1331,6 +1351,7 @@ if test "$enable_fuzz" = "yes"; then
1331
1351
bitcoin_enable_qt_test=no
1332
1352
bitcoin_enable_qt_dbus=no
1333
1353
use_bench=no
1354
+
use_tests=no
1334
1355
use_upnp=no
1335
1356
use_natpmp=no
1336
1357
use_zmq=no
@@ -1464,7 +1485,7 @@ if test "$use_natpmp" != "no"; then
1464
1485
CPPFLAGS="$TEMP_CPPFLAGS"
1465
1486
fi
1466
1487
1467
-
if test "$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench" = "nonononononono"; then
1488
+
if test "$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench$enable_fuzz_binary" = "nononononononono"; then
1468
1489
use_boost=no
1469
1490
else
1470
1491
use_boost=yes
@@ -1525,10 +1546,10 @@ fi
1525
1546
dnl libevent check
1526
1547
1527
1548
use_libevent=no
1528
-
if test "$build_bitcoin_cli$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench" != "nonononono"; then
1529
-
PKG_CHECK_MODULES([EVENT], [libevent >= 2.0.21], [use_libevent=yes], [AC_MSG_ERROR([libevent version 2.0.21 or greater not found.])])
1549
+
if test "$build_bitcoin_cli$build_bitcoind$bitcoin_enable_qt$enable_fuzz_binary$use_tests$use_bench" != "nononononono"; then
1550
+
PKG_CHECK_MODULES([EVENT], [libevent >= 2.1.8], [use_libevent=yes], [AC_MSG_ERROR([libevent version 2.1.8 or greater not found.])])
1530
1551
if test "$TARGET_OS" != "windows"; then
1531
-
PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads >= 2.0.21],, [AC_MSG_ERROR([libevent_pthreads version 2.0.21 or greater not found.])])
1552
+
PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads >= 2.1.8], [], [AC_MSG_ERROR([libevent_pthreads version 2.1.8 or greater not found.])])
1532
1553
fi
1533
1554
1534
1555
if test "$suppress_external_warnings" != "no"; then
@@ -1566,12 +1587,9 @@ dnl ZMQ check
1566
1587
1567
1588
if test "$use_zmq" = "yes"; then
1568
1589
PKG_CHECK_MODULES([ZMQ], [libzmq >= 4],
1569
-
AC_DEFINE([ENABLE_ZMQ], [1], [Define to 1 to enable ZMQ functions]),
1570
-
[AC_DEFINE([ENABLE_ZMQ], [0], [Define to 1 to enable ZMQ functions])
1571
-
AC_MSG_WARN([libzmq version 4.x or greater not found, disabling])
1590
+
AC_DEFINE([ENABLE_ZMQ], [1], [Define this symbol to enable ZMQ functions]),
1591
+
[AC_MSG_WARN([libzmq version 4.x or greater not found, disabling])
1572
1592
use_zmq=no])
1573
-
else
1574
-
AC_DEFINE_UNQUOTED([ENABLE_ZMQ], [0], [Define to 1 to enable ZMQ functions])
1575
1593
fi
1576
1594
1577
1595
if test "$use_zmq" = "yes"; then
@@ -1587,6 +1605,8 @@ dnl check if libgmp is present
if test "$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoind$bitcoin_enable_qt$use_bench$use_tests" = "nonononononono"; then
1802
-
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui --enable-bench or --enable-tests])
1819
+
if test "$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoind$bitcoin_enable_qt$enable_fuzz_binary$use_bench$use_tests" = "nononononononono"; then
1820
+
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui --enable-fuzz(-binary) --enable-bench or --enable-tests])
0 commit comments