Skip to content

Comments

crush/CrushWrapper: un-inline methods to fix linker errors#61872

Merged
batrick merged 1 commit intoceph:mainfrom
MaxKellermann:CrushWrapper__uninline
Feb 24, 2025
Merged

crush/CrushWrapper: un-inline methods to fix linker errors#61872
batrick merged 1 commit intoceph:mainfrom
MaxKellermann:CrushWrapper__uninline

Conversation

@MaxKellermann
Copy link
Member

The crush_objs library is not part of the libceph-common ABI, so applications linking with libceph-common may fail to build because the linker cannot find crush_destroy().

See #61697 (comment) for an instance of the bug fixed by this PR. (@batrick)

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

The `crush_objs` library is not part of the `libceph-common` ABI, so
applications linking with `libceph-common` may fail to build because
the linker cannot find `crush_destroy()`.

Signed-off-by: Max Kellermann <[email protected]>
@MaxKellermann MaxKellermann requested a review from a team as a code owner February 18, 2025 12:35
@github-actions github-actions bot added the core label Feb 18, 2025
@MaxKellermann MaxKellermann mentioned this pull request Feb 18, 2025
14 tasks
@batrick
Copy link
Member

batrick commented Feb 18, 2025

jenkins test make check

@batrick batrick merged commit 7d3eb9c into ceph:main Feb 24, 2025
13 checks passed
@MaxKellermann MaxKellermann deleted the CrushWrapper__uninline branch February 25, 2025 06:34
zmc pushed a commit to zmc/ceph that referenced this pull request Feb 26, 2025
* refs/pull/61872/head:
	crush/CrushWrapper: un-inline methods to fix linker errors

Reviewed-by: Patrick Donnelly <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants