NVIDIA / NVIDIA/stdexec

HPX compilation problem on ARM, gcc 11.4.0

Open
#2,150 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.4k
Forks
270
Avg merge
3d 6h
Merged PRs (30d)
39

Description

After recent changes we're now seeing:

/__w/hpx/hpx/build/_deps/stdexec-src/include/stdexec/__detail/__spin_loop_pause.hpp:42:36: error: duplicate 'inline'
   42 |   STDEXEC_ATTRIBUTE(always_inline) inline void __spin_loop_pause() noexcept
      |                                    ^~~~~~
      |                                    ------

(see for instance: https://github.com/TheHPXProject/hpx/actions/runs/30292281413/job/90064638222?pr=7409)

This blocks two of our CIs, is there anything we can do to work around this issue?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with stdexec/__detail/__spin_loop_pause.hpp at line 42 and reproduce the duplicate-inline error in the linked ARM CI job using GCC 11.4.0. Trace the recent changes that affect STDEXEC_ATTRIBUTE and determine a documented workaround or correction that lets both failing CI jobs compile successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.