Skip to content

Conversation

@opajonk
Copy link

@opajonk opajonk commented Feb 9, 2026

Added "aarch64-linux-gcc-ebclfsa-0.1.0", a GCC-based toolchain for EB corbos Linux for Safety Applications. This is not the final toolchain, since that will require a clang-based compiler and a special libc. Hence, this has a pre-1.0.0 version.

@opajonk
Copy link
Author

opajonk commented Feb 9, 2026

This is based on #23, so that one should very likely go in first, and then this one should be re-based and merged.

@opajonk
Copy link
Author

opajonk commented Feb 9, 2026

There is one open question here: EBcLfSA requires an additional tool to be available. It is called "ELF-Enabler". The purposed of the tool is to post-process an ELF-binary and mark it as "High-Integrity Application (HI-Application; "safe executable", colloquially speaking). This tool will, of course, not exist in any other toolchain. How can such a tool be integrated cleanly? The previous method can be seen in this diff (search for elf_enabler).

git_override(
module_name = "score_bazel_platforms",
commit = "43a7444afdd8f990f231e1b38c668d0f5719d5d5",
remote = "https://github.com/elektrobit-contrib/eclipse-score_bazel_platforms.git",
)

Copy link
Author

Choose a reason for hiding this comment

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

This PR requires eclipse-score/bazel_platforms#12. Once that is "in", the git_overrides can be removed.

Comment on lines 30 to 34
git_override(
module_name = "score_bazel_platforms",
commit = "43a7444afdd8f990f231e1b38c668d0f5719d5d5",
remote = "https://github.com/elektrobit-contrib/eclipse-score_bazel_platforms.git",
)
Copy link
Author

Choose a reason for hiding this comment

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

This PR requires eclipse-score/bazel_platforms#12. Once that is "in", the git_overrides can be removed.

build:aarch64-ebclfsa --config=shared
build:aarch64-ebclfsa --platforms=@score_bazel_platforms//:aarch64-linux-gcc_ebclfsa-0.1.0-ebclfsa
build:aarch64-ebclfsa --extra_toolchains=@score_ebclfsa_toolchain//:aarch64-linux-gcc_ebclfsa-0.1.0-ebclfsa
build:aarch64-ebclfsa --spawn_strategy=local No newline at end of file
Copy link
Author

Choose a reason for hiding this comment

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

The toolchain does not work without --spawn_strategy=local. It is unclear right now if this can be alleviated.

@opajonk opajonk force-pushed the add_ebclfsa_support branch 3 times, most recently from 8dcdb7c to 4d14a21 Compare February 10, 2026 15:59
Added "aarch64-linux-gcc_13.3.0-ebclfsa", a GCC-based toolchain for EB corbos Linux for Safety Applications. This is *not* the final toolchain, since that will require a clang-based compiler and a special libc.
@opajonk opajonk force-pushed the add_ebclfsa_support branch from 4d14a21 to af02924 Compare February 10, 2026 16:16
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.

1 participant