-
Notifications
You must be signed in to change notification settings - Fork 9
Add external feature injection to GCC toolchain (like toolchains_llvm extra_known_features) #45
Copy link
Copy link
Open
Open
Feature Request
Copy link
Labels
action configNew action config requestNew action config requestfeatureNew feature requestNew feature requestmodule dependency updateAdd or update MODULE.bazel file with new dependency versionAdd or update MODULE.bazel file with new dependency versionp3Medium/Low - handle it within normal processMedium/Low - handle it within normal processrepo configImprovements or additions to repository configurationImprovements or additions to repository configurationtemplateAdd or update template toolchain configurationsAdd or update template toolchain configurations
Metadata
Metadata
Assignees
Labels
action configNew action config requestNew action config requestfeatureNew feature requestNew feature requestmodule dependency updateAdd or update MODULE.bazel file with new dependency versionAdd or update MODULE.bazel file with new dependency versionp3Medium/Low - handle it within normal processMedium/Low - handle it within normal processrepo configImprovements or additions to repository configurationImprovements or additions to repository configurationtemplateAdd or update template toolchain configurationsAdd or update template toolchain configurations
Type
Fields
Give feedbackNo fields configured for Feature Request.
Feature Request / Modification Description
score_cpp_policiesdefines sanitizer configurations ascc_featuretargets (asan_ubsan_lsan_link, tsan_link). These can currently only be injected into the LLVM toolchain via extra_known_features (toolchains_llvm PR #678).We need the same mechanism for the S-CORE GCC toolchain so both toolchains consume sanitizer features from a single source.
Proposed change:
Add extra_known_features (or equivalent) to
score_bazel_cpp_toolchainsReplace the existing built-in asan/lsan/tsan/ubsan features by pulling them from
score_cpp_policiesReferences:
eclipse-score/score_cpp_policies#1
eclipse-score/communication#182
bazel-contrib/toolchains_llvm#678
Expected Changes ot work products
Impact analysis
Build tooling change only. No impact on production code, safety analysis,
or security. Consuming modules (communication, logging) will use a single
sanitizer configuration instead of toolchain-specific ones.
Safety or Security relevance
Expected required ASIL classification
QM
Expected Implementation Version (Release)
1.0