From d678c82969cbb291d7089daa863d957e67f7224f Mon Sep 17 00:00:00 2001 From: yperbasis Date: Fri, 5 Jul 2024 16:55:33 +0200 Subject: [PATCH 1/5] bump gcc_version_latest to 13 --- .circleci/config.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3e19534d3f..412daf1564 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,9 +81,15 @@ commands: install_conan: steps: + - run: + name: "Ensure pipx" + command: | + sudo apt-get update + sudo apt install -y pipx - run: name: "Install Conan" command: sudo pip3 install conan==1.64.1 chardet + command: pipx install conan==1.64.1 build_using_conan: parameters: @@ -231,7 +237,7 @@ jobs: environment: BUILD_CMAKE_ARGS: -DSILKWORM_SANITIZE=thread machine: - image: ubuntu-2204:2023.04.2 + image: ubuntu-2404:2024.05.1 resource_class: 2xlarge steps: - checkout_with_submodules @@ -421,7 +427,7 @@ parameters: default: 11 gcc_version_latest: type: integer - default: 12 + default: 13 workflows: light: @@ -431,9 +437,9 @@ workflows: jobs: - lint - linux-release: - name: linux-gcc-<>-release + name: linux-gcc-12-release compiler_id: gcc - compiler_version: <> + compiler_version: 12 ethereum_tests: false requires: - lint From 89635a5dc16042a2f22d9ff492dff5f00d5b9ccc Mon Sep 17 00:00:00 2001 From: yperbasis Date: Fri, 5 Jul 2024 16:56:59 +0200 Subject: [PATCH 2/5] fix yaml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 412daf1564..889505fb15 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -88,7 +88,6 @@ commands: sudo apt install -y pipx - run: name: "Install Conan" - command: sudo pip3 install conan==1.64.1 chardet command: pipx install conan==1.64.1 build_using_conan: From d27d11786e3cdceae73a7243e48df5bff527e315 Mon Sep 17 00:00:00 2001 From: yperbasis Date: Fri, 5 Jul 2024 17:08:17 +0200 Subject: [PATCH 3/5] try gcc 14 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 889505fb15..bfb5488730 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -426,7 +426,7 @@ parameters: default: 11 gcc_version_latest: type: integer - default: 13 + default: 14 workflows: light: From adf8157698aa1faa90002cb1a48ae91bb0597cd4 Mon Sep 17 00:00:00 2001 From: yperbasis Date: Fri, 5 Jul 2024 17:23:01 +0200 Subject: [PATCH 4/5] TSAN hack --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bfb5488730..1337a28bd7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -240,6 +240,9 @@ jobs: resource_class: 2xlarge steps: - checkout_with_submodules + - run: + name: "TSAN hack" + command: sudo sysctl vm.mmap_rnd_bits=30 - build_using_conan: compiler_id: gcc compiler_version: <> @@ -426,7 +429,7 @@ parameters: default: 11 gcc_version_latest: type: integer - default: 14 + default: 13 workflows: light: From 6d364dfad04376ba4134df4c0ccd080c0a817745 Mon Sep 17 00:00:00 2001 From: yperbasis Date: Fri, 5 Jul 2024 17:50:44 +0200 Subject: [PATCH 5/5] try gcc14 --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1337a28bd7..36d1cf2b16 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -242,6 +242,7 @@ jobs: - checkout_with_submodules - run: name: "TSAN hack" +# https://stackoverflow.com/questions/77850769/fatal-threadsanitizer-unexpected-memory-mapping-when-running-on-linux-kernels command: sudo sysctl vm.mmap_rnd_bits=30 - build_using_conan: compiler_id: gcc @@ -429,7 +430,7 @@ parameters: default: 11 gcc_version_latest: type: integer - default: 13 + default: 14 workflows: light: