Skip to content

Update QNX SDP package version#61

Merged
nradakovic merged 1 commit into
mainfrom
nira_qnx_update_804
Jun 12, 2026
Merged

Update QNX SDP package version#61
nradakovic merged 1 commit into
mainfrom
nira_qnx_update_804

Conversation

@nradakovic

Copy link
Copy Markdown
Member

Rollout of new SDP

Comment thread packages/version_matrix.bzl Outdated
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD",
"sha256": "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0",
"aarch64-qnx-sdp_8.0.4": {
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not aarch64 anymore?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

typo

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed

@AlexanderLanin AlexanderLanin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

AI-assisted review (Claude):

Critical: 1, Suggestions: 1

This is a small version-bump PR but contains one critical bug in version_matrix.bzl: the aarch64-qnx-sdp_8.0.4 entry points at the x86_64 build file, which will cause the aarch64 QNX toolchain to reference x86_64 binaries (x86_64-pc-nto-qnx8.0.0-ar, x86_64-pc-nto-qnx8.0.0-strip, and x86_64 compiler include paths) instead of the correct aarch64-unknown-nto-qnx8.0.0-* ones. This was already noticed in an existing review comment. The x86_64 entry looks correct.

There's also a minor note on the constraint workaround: the hard-coded 8.0.3 → 8.0.0 mapping has been replaced with 8.0.4 → 8.0.0, so sdp_version = "8.0.3" no longer resolves. Worth noting explicitly if 8.0.3 backwards compat matters.

The lock file and example look correct for x86_64.

Comment thread packages/version_matrix.bzl Outdated
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD",
"sha256": "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0",
"aarch64-qnx-sdp_8.0.4": {
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

AI-assisted review (Claude):

Critical — wrong build file for aarch64.

This entry uses packages/qnx/**x86_64**/sdp/8.0.0:sdp.BUILD but it is keyed as aarch64-qnx-sdp_8.0.4. The previous 8.0.3 entry correctly used packages/qnx/**aarch64**/sdp/8.0.0:sdp.BUILD.

The two build files differ in the binaries they expose:

file ar strip compiler includes
aarch64/sdp/8.0.0 aarch64-unknown-nto-qnx8.0.0-ar aarch64-unknown-nto-qnx8.0.0-strip aarch64-unknown-nto-qnx8.0.0/...
x86_64/sdp/8.0.0 x86_64-pc-nto-qnx8.0.0-ar x86_64-pc-nto-qnx8.0.0-strip x86_64-pc-nto-qnx8.0.0/...

Using the x86_64 build file here means any aarch64 QNX build will silently use x86_64 toolchain binaries and include paths, producing broken or incorrect output.

Fix:

Suggested change
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD",

@nradakovic nradakovic force-pushed the nira_qnx_update_804 branch from ed97a91 to 6ab6ba0 Compare June 12, 2026 10:38
@nradakovic nradakovic force-pushed the nira_qnx_update_804 branch from 6ab6ba0 to 3c5637b Compare June 12, 2026 10:40

@AlexanderLanin AlexanderLanin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM AFAIK

@nradakovic nradakovic merged commit d4a95c3 into main Jun 12, 2026
12 of 13 checks passed
@nradakovic nradakovic deleted the nira_qnx_update_804 branch June 12, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants