Skip to content

cpu/esp32: Fixes of compile problems with GCC 14.2 [backport 2025.01]#21373

Merged
maribu merged 3 commits intoRIOT-OS:2025.01-branchfrom
benpicco:backport/2025.01/cpu/esp32/fix_compile_problem_gcc_14.2
Apr 7, 2025
Merged

cpu/esp32: Fixes of compile problems with GCC 14.2 [backport 2025.01]#21373
maribu merged 3 commits intoRIOT-OS:2025.01-branchfrom
benpicco:backport/2025.01/cpu/esp32/fix_compile_problem_gcc_14.2

Conversation

@benpicco
Copy link
Copy Markdown
Contributor

@benpicco benpicco commented Apr 7, 2025

Backport of #21245

Contribution description

This PR provides some small fixes of compile problems with the latest Espressif toolchain (GCC v14.2).

Testing procedure

Compilation with used Espressif toolchain (GCC v12.2) should still work in CI.

Issues/PRs references

Atomic built-in function __atomic_test_and_set seem to be missing in GCC 14.2.0 for some ESP32x SoCs.

(cherry picked from commit 4f136fb)
@benpicco benpicco requested a review from gschorcht as a code owner April 7, 2025 13:14
@benpicco benpicco added Area: cpu Area: CPU/MCU ports Area: pkg Area: External package ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Apr 7, 2025
@benpicco benpicco requested a review from maribu April 7, 2025 13:14
@riot-ci
Copy link
Copy Markdown

riot-ci commented Apr 7, 2025

Murdock results

✔️ PASSED

e377b59 cpu/esp32: add missing atomic built-in functions

Success Failures Total Runtime
10271 0 10271 14m:55s

Artifacts

@maribu maribu enabled auto-merge April 7, 2025 13:20
@maribu maribu added this pull request to the merge queue Apr 7, 2025
Merged via the queue into RIOT-OS:2025.01-branch with commit 2b0ffbf Apr 7, 2025
32 checks passed
@benpicco benpicco deleted the backport/2025.01/cpu/esp32/fix_compile_problem_gcc_14.2 branch April 7, 2025 16:47
@gschorcht
Copy link
Copy Markdown
Contributor

@benpicco Thanks for solving the chicken-egg-problem that way 😉

@mguetschow mguetschow added this to the Release 2025.01 milestone Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: cpu Area: CPU/MCU ports Area: pkg Area: External package ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants