Skip to content

build: default WITH_RADOSGW_LANCEDB off where lance cannot build - #71935

Merged
tchaikov merged 1 commit into
ceph:mainfrom
sunyuechi:wip-lancedb-off-unsupported-arch
Oct 5, 2026
Merged

tchaikov merged 1 commit into
ceph:mainfrom
sunyuechi:wip-lancedb-off-unsupported-arch

Conversation

@sunyuechi

@sunyuechi sunyuechi commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

lance-linalg only implements its SIMD types for x86_64, aarch64 and
loongarch64, so since 047c9e2 the default build fails on riscv64,
s390x and ppc64le.

Fixes: https://tracker.ceph.com/issues/80688

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)

@sunyuechi
sunyuechi requested a review from a team as a code owner September 21, 2026 05:05
@github-actions

Copy link
Copy Markdown

Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR ci-approved to allow Jenkins CI jobs to run.

@phlogistonjohn

Copy link
Copy Markdown
Contributor

You may want to coordinate with #71947 - you seem to be working on the same thing (mostly)

@yuvalif

yuvalif commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

this is fixed in more recent version of lance: lance-format/lance#8303
however, i would first need to make the change in lancedb-c.

once, i point lancedb-c to more recent version of lance, and create a matching ceph PR, i will ask you to try and build for the other targets ppc64le, s390x (anything else?) to see if we can revert the fix

@sunyuechi

Copy link
Copy Markdown
Contributor Author

@yuvalif

lance-format/lance#8303 only fixes lance-core; lance-linalg still fails
to build on lance 12, see lance-format/lance#9446.

@yuvalif

yuvalif commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

@yuvalif

lance-format/lance#8303 only fixes lance-core; lance-linalg still fails to build on lance 12, see lance-format/lance#9446.

thanks. so, i guess there is no point in bumping to lance11 - lease keep me posted when your fix goes in.

@tchaikov tchaikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hasan4791

Copy link
Copy Markdown
Contributor

If this PR is getting merged, need to update the PR in this tracker
https://tracker.ceph.com/issues/80688

@yuvalif

yuvalif commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

If this PR is getting merged, need to update the PR in this tracker https://tracker.ceph.com/issues/80688

@hasan4791 which one should we go ahead with?

@hasan4791

Copy link
Copy Markdown
Contributor

If this PR is getting merged, need to update the PR in this tracker https://tracker.ceph.com/issues/80688

@hasan4791 which one should we go ahead with?

I'm ok with this PR as its being handled for both P & Z

@hasan4791

Copy link
Copy Markdown
Contributor

jenkins test make check ppc64le

@hasan4791

Copy link
Copy Markdown
Contributor

jenkins test make check ppc64le

The build has passed for ppc64le. Ignore the UT failures as those are unrelated to this PR.

BubbleCal pushed a commit to lance-format/lance that referenced this pull request Sep 28, 2026
f32x8/f32x16, f64x4/f64x8 and i32x8 only exist on x86_64, aarch64 and
loongarch64, so lance-linalg fails to compile elsewhere (riscv64, s390x,
ppc64le).

When Ceph enables Lance by default, the RISC-V build fails:
ceph/ceph#71935

Signed-off-by: Sun Yuechi <[email protected]>
lance-linalg only implements its SIMD types for x86_64, aarch64 and
loongarch64, so lancedb fails to compile anywhere else (riscv64, s390x,
ppc64le).

Fixes: https://tracker.ceph.com/issues/80688
Signed-off-by: Sun Yuechi <[email protected]>
@sunyuechi
sunyuechi force-pushed the wip-lancedb-off-unsupported-arch branch from 65e688e to 15fcc23 Compare September 28, 2026 12:57
@sunyuechi

sunyuechi commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor Author

@yuvalif

Merged support for these architectures in lance-format/lance#9446, but since it's slow, it may still be better to keep it disabled by default as this PR does.
Updated the commit message: Fixes: https://tracker.ceph.com/issues/80688

@hasan4791

Copy link
Copy Markdown
Contributor

@yuvalif This PR is good to merge.

@tchaikov

tchaikov commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

@yuvalif hi Yuval, so this change looks good to you and we can merge it, right?

@yuvalif

yuvalif commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

@yuvalif hi Yuval, so this change looks good to you and we can merge it, right?

looks good. do we want to make sure it odes not break shaman?

@tchaikov

tchaikov commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

@yuvalif hi Yuval, so this change looks good to you and we can merge it, right?

looks good. do we want to make sure it odes not break shaman?

good point. pushed to https://shaman.ceph.com/builds/ceph/wip-pr-71935-kefu/ -- will show up in around 30 minutes. all green.

@tchaikov
tchaikov merged commit 05cfe4b into ceph:main Oct 5, 2026
17 of 18 checks passed
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/37325958818

sunyuechi added a commit to sunyuechi/openRuyi that referenced this pull request Oct 28, 2026
The new snapshot brings in these fixes:
- osd/PeeringState: fix the divergence check against olog.head
  (ceph/ceph#70149)
- osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965)
- osdc: fix ReplicaSplitOp chunk distribution, reassembly and
  small multi-op reads (ceph/ceph#70207)
- erasure-code/isa: default the technique when the profile has none
  (ceph/ceph#72215)
- mount.ceph: report kernels without aes256k key support
  (ceph/ceph#72159)
- rgw/es: require both major and minor in the ES version
  (ceph/ceph#70007)
- build: turn WITH_RADOSGW_LANCEDB off where lance cannot build
  (ceph/ceph#71935)
- cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657)
- cmake/boost: do not pass context-impl to the headers step
  (ceph/ceph#71249)
- rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051)
- test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463)
- qa/lsan.supp: match OpenSSL error state on ERR_set_mark
  (ceph/ceph#71460)

Signed-off-by: Sun Yuechi <[email protected]>
misaka00251 pushed a commit to openRuyi-Project/openRuyi that referenced this pull request Oct 28, 2026
The new snapshot brings in these fixes:
- osd/PeeringState: fix the divergence check against olog.head
  (ceph/ceph#70149)
- osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965)
- osdc: fix ReplicaSplitOp chunk distribution, reassembly and
  small multi-op reads (ceph/ceph#70207)
- erasure-code/isa: default the technique when the profile has none
  (ceph/ceph#72215)
- mount.ceph: report kernels without aes256k key support
  (ceph/ceph#72159)
- rgw/es: require both major and minor in the ES version
  (ceph/ceph#70007)
- build: turn WITH_RADOSGW_LANCEDB off where lance cannot build
  (ceph/ceph#71935)
- cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657)
- cmake/boost: do not pass context-impl to the headers step
  (ceph/ceph#71249)
- rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051)
- test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463)
- qa/lsan.supp: match OpenSSL error state on ERR_set_mark
  (ceph/ceph#71460)

Signed-off-by: Sun Yuechi <[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.

6 participants