-
Notifications
You must be signed in to change notification settings - Fork 4
Add EBcLfSA Toolchain #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add EBcLfSA Toolchain #28
Conversation
|
This is based on #23, so that one should very likely go in first, and then this one should be re-based and merged. |
|
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 |
| git_override( | ||
| module_name = "score_bazel_platforms", | ||
| commit = "43a7444afdd8f990f231e1b38c668d0f5719d5d5", | ||
| remote = "https://github.com/elektrobit-contrib/eclipse-score_bazel_platforms.git", | ||
| ) | ||
|
|
There was a problem hiding this comment.
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.
| git_override( | ||
| module_name = "score_bazel_platforms", | ||
| commit = "43a7444afdd8f990f231e1b38c668d0f5719d5d5", | ||
| remote = "https://github.com/elektrobit-contrib/eclipse-score_bazel_platforms.git", | ||
| ) |
There was a problem hiding this comment.
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.
examples/.bazelrc
Outdated
| 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 |
There was a problem hiding this comment.
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.
8dcdb7c to
4d14a21
Compare
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.
4d14a21 to
af02924
Compare
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.