File tree Expand file tree Collapse file tree 10 files changed +14
-58
lines changed Expand file tree Collapse file tree 10 files changed +14
-58
lines changed Original file line number Diff line number Diff line change @@ -217,11 +217,11 @@ task:
217
217
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
218
218
219
219
task :
220
- name : ' 32-bit + dash [gui] [CentOS 8 ]'
220
+ name : ' 32-bit + dash [gui] [CentOS 9 ]'
221
221
<< : *GLOBAL_TASK_TEMPLATE
222
222
container :
223
223
docker_arguments :
224
- CI_IMAGE_NAME_TAG : quay.io/centos/centos:stream8
224
+ CI_IMAGE_NAME_TAG : quay.io/centos/centos:stream9
225
225
FILE_ENV : " ./ci/test/00_setup_env_i686_centos.sh"
226
226
# For faster CI feedback, immediately schedule one task that runs all tests
227
227
<< : *CREDITS_TEMPLATE
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,12 +8,10 @@ export LC_ALL=C.UTF-8
8
8
9
9
export HOST=i686-pc-linux-gnu
10
10
export CONTAINER_NAME=ci_i686_centos
11
- export CI_IMAGE_NAME_TAG=" quay.io/centos/centos:stream8"
12
- # Use minimum supported python3.8 and gcc-8, see doc/dependencies.md
13
- export CI_BASE_PACKAGES=" gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python38 python38-pip which patch lbzip2 xz procps-ng dash rsync coreutils bison"
11
+ export CI_IMAGE_NAME_TAG=" quay.io/centos/centos:stream9"
12
+ export CI_BASE_PACKAGES=" gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-pip which patch lbzip2 xz procps-ng dash rsync coreutils bison util-linux"
14
13
export PIP_PACKAGES=" pyzmq"
15
14
export GOAL=" install"
16
- export NO_WERROR=1 # GCC 8
15
+ export NO_WERROR=1 # Suppress error: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Werror=cpp]
17
16
export BITCOIN_CONFIG=" --enable-zmq --with-gui=qt5 --enable-reduce-exports"
18
17
export CONFIG_SHELL=" /bin/dash"
19
- export TEST_RUNNER_ENV=" LC_ALL=en_US.UTF-8"
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ export LC_ALL=C.UTF-8
8
8
9
9
export CONTAINER_NAME=ci_native_qt5
10
10
export CI_IMAGE_NAME_TAG=" ubuntu:20.04"
11
- # Use minimum supported python3.8 and gcc-8 (or best-effort gcc-9) , see doc/dependencies.md
11
+ # Use minimum supported python3.8 and gcc-9 , see doc/dependencies.md
12
12
export PACKAGES=" gcc-9 g++-9 python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev"
13
13
export DEP_OPTS=" NO_QT=1 NO_UPNP=1 NO_NATPMP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1 CC=gcc-9 CXX=g++-9"
14
14
export TEST_RUNNER_EXTRA=" --previous-releases --coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
15
15
export RUN_UNIT_TESTS_SEQUENTIAL=" true"
16
16
export RUN_UNIT_TESTS=" false"
17
17
export GOAL=" install"
18
- export NO_WERROR=1
18
+ export NO_WERROR=1 # -Werror=maybe-uninitialized
19
19
export DOWNLOAD_PREVIOUS_RELEASES=" true"
20
20
export BITCOIN_CONFIG=" --enable-zmq --with-libs=no --with-gui=qt5 --enable-reduce-exports \
21
21
--enable-debug CFLAGS=\" -g0 -O2 -funsigned-char\" CXXFLAGS=\" -g0 -O2 -funsigned-char\" "
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ if [ -n "$DPKG_ADD_ARCH" ]; then
18
18
fi
19
19
20
20
if [[ $CI_IMAGE_NAME_TAG == * centos* ]]; then
21
- ${CI_RETRY_EXE} bash -c " dnf -y install epel-release"
22
- ${CI_RETRY_EXE} bash -c " dnf -y --allowerasing install $CI_BASE_PACKAGES $PACKAGES "
21
+ bash -c " dnf -y install epel-release"
22
+ bash -c " dnf -y --allowerasing install $CI_BASE_PACKAGES $PACKAGES "
23
23
elif [ " $CI_USE_APT_INSTALL " != " no" ]; then
24
24
if [[ -n " ${APPEND_APT_SOURCES_LIST} " ]]; then
25
25
echo " ${APPEND_APT_SOURCES_LIST} " >> /etc/apt/sources.list
Original file line number Diff line number Diff line change 52
52
53
53
if [ -z " $NO_DEPENDS " ]; then
54
54
if [[ $CI_IMAGE_NAME_TAG == * centos* ]]; then
55
- SHELL_OPTS=" LC_ALL=en_US.UTF-8 CONFIG_SHELL=/bin/dash"
55
+ SHELL_OPTS=" CONFIG_SHELL=/bin/dash"
56
56
else
57
57
SHELL_OPTS=" CONFIG_SHELL="
58
58
fi
Original file line number Diff line number Diff line change 115
115
AX_CXX_COMPILE_STDCXX ( [ 20] , [ noext] , [ mandatory] )
116
116
fi
117
117
118
- dnl check if additional link flags are required for std::filesystem
119
- CHECK_FILESYSTEM
120
-
121
118
dnl Unless the user specified OBJCXX, force it to be the same as CXX. This ensures
122
119
dnl that we get the same -std flags for both.
123
120
m4_ifdef ( [ AC_PROG_OBJCXX ] ,[
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ You can find installation instructions in the `build-*.md` file for your platfor
9
9
| [ Autoconf] ( https://www.gnu.org/software/autoconf/ ) | [ 2.69] ( https://github.com/bitcoin/bitcoin/pull/17769 ) |
10
10
| [ Automake] ( https://www.gnu.org/software/automake/ ) | [ 1.13] ( https://github.com/bitcoin/bitcoin/pull/18290 ) |
11
11
| [ Clang] ( https://clang.llvm.org ) | [ 10.0] ( https://github.com/bitcoin/bitcoin/pull/27682 ) |
12
- | [ GCC] ( https://gcc.gnu.org ) | [ 8 .1] ( https://github.com/bitcoin/bitcoin/pull/23060 ) |
12
+ | [ GCC] ( https://gcc.gnu.org ) | [ 9 .1] ( https://github.com/bitcoin/bitcoin/pull/27662 ) |
13
13
| [ Python] ( https://www.python.org ) (scripts, tests) | [ 3.8] ( https://github.com/bitcoin/bitcoin/pull/27483 ) |
14
14
| [ systemtap] ( https://sourceware.org/systemtap/ ) ([ tracing] ( tracing.md ) )| N/A |
15
15
Original file line number Diff line number Diff line change @@ -53,15 +53,14 @@ struct AddressTableEntryLessThan
53
53
};
54
54
55
55
/* Determine address type from address purpose */
56
- static AddressTableEntry::Type translateTransactionType (wallet::AddressPurpose purpose, bool isMine)
56
+ constexpr AddressTableEntry::Type translateTransactionType (wallet::AddressPurpose purpose, bool isMine)
57
57
{
58
58
// "refund" addresses aren't shown, and change addresses aren't returned by getAddresses at all.
59
59
switch (purpose) {
60
60
case wallet::AddressPurpose::SEND: return AddressTableEntry::Sending;
61
61
case wallet::AddressPurpose::RECEIVE: return AddressTableEntry::Receiving;
62
62
case wallet::AddressPurpose::REFUND: return AddressTableEntry::Hidden;
63
- // No default case to allow for compiler to warn
64
- }
63
+ } // no default case, so the compiler can warn about missing cases
65
64
assert (false );
66
65
}
67
66
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ struct Announcement {
69
69
const bool m_is_wtxid : 1 ;
70
70
71
71
/* * What state this announcement is in.
72
- * This is a uint8_t instead of a State to silence a GCC warning in versions prior to 8.4 and 9.3.
72
+ * This is a uint8_t instead of a State to silence a GCC warning in versions prior to 9.3.
73
73
* See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 */
74
74
uint8_t m_state : 3 ;
75
75
You can’t perform that action at this time.
0 commit comments