Skip to main content

TECH VEDA

Corporate on-site training - Submit proposal Pick your modulesSharpen your kernel skills: deep dives, drivers, Yocto, CVEs, careers — updated daily. Read the blog →
Automotive

Tool Qualification on Automotive Linux: Which Builds Does a Qualified Rust Compiler Cover?

Tool qualification under ISO 26262-8 on a Linux safety platform: what the first qualified Rust target covers and what it leaves to the build team.

Tool Qualification on Automotive Linux: Which Builds Does a Qualified Rust Compiler Cover?

Ferrocene 26.05.0, released on 28 July 2026, added a Rust compilation target for Red Hat In-Vehicle Operating System 2 to a toolchain that, according to its supplier and its safety manual, TÜV SÜD has qualified under ISO 26262 at tool confidence level 3, for use up to ASIL D. The published scope is one host and one target: an Armv8-A Red Hat Enterprise Linux 10 machine compiling for that operating system. The standard library is outside that scope for end-user code, a certified subset of core and alloc reaches ASIL B, and the kernel’s own Rust build cannot meet the manual’s constraints. This tool qualification covers application code built in one prescribed way, and not the kernel, the C compiler or any other host.

Tool qualification is the part of a functional-safety argument that deals with the software used to build the product, as distinct from the product itself. A team building an ASIL B function on a Linux-based platform has to show that its compiler, linker and build system cannot introduce an error that goes unnoticed. Until this year this beat had found no public statement, with a scope table behind it, about a compiler for a named automotive Linux product. There is one now, for one language.

What tool qualification means in ISO 26262-8

The governing text is ISO 26262-8:2018, the supporting-processes part of the standard, published in December 2018. Its contents list gives clause 11 the title “Confidence in the use of software tools” and clause 12 the title “Qualification of software components”. Clause 12 concerns software that ends up inside the vehicle. Clause 11 concerns software that never ships but shapes what does: compilers, linkers, code generators and test tools.

The clause text is paid and was not read for this post, so the mechanism is described from two public documents that cite it. The first is a talk given by a functional-safety engineer at Woven by Toyota at the Asia LLVM developers’ meeting on 10 June 2025. Its slides set out four steps. The tool is defined: use cases, inputs and outputs, configuration options, known issues, and a maximum ASIL for its intended use. The tool is evaluated for possible malfunctions and for the measures that would prevent or detect them, which yields a tool confidence level from TCL1 to TCL3. If that level requires it, tool qualification follows, which means producing evidence about the tool itself. Finally the user receives the resulting constraints, normally as a manual.

The second document is the Ferrocene Safety Manual. It states that under clause 11.4.2 the user must verify that the predetermined tool confidence level is valid before using the tool in a safety-related development, and that under clause 11.4.3 the user must ensure that the usage, the environment and the functional constraints comply with the tool’s evaluation criteria or its qualification. A supplier can perform a tool qualification in advance, but deciding that it applies belongs to the project that uses the tool. The qualification is conditional on a described way of working.

The qualified target, as published

Ferrocene is a downstream distribution of the Rust compiler produced by Ferrous Systems. Its safety manual describes itself as part of the qualification material for ISO 26262:2018 at ASIL D and TCL 3, for IEC 61508:2010 and EN 50716:2023 at class T3, and for IEC 62304. The assessor named in the vendor’s announcements is TÜV SÜD. Its technical report was not read; the link on the public documentation index returned a 404 on 27 November 2026.

The release notes for version 26.05.0 list two new targets as supported and qualified for safety-critical use. The first is Armv8-A RHIVOS 2, with the tuple aarch64-rhivos2-linux-gnu, qualified only when compiled from an Armv8-A Linux host. The second is that host, aarch64-unknown-linux-gnu, qualified only when compiling for the RHIVOS 2 target.

The target-specific manual narrows it further. Its qualification scope table has a single row: host Armv8-A Linux with glibc, target Armv8-A RHIVOS 2. The target page states that qualified use requires compilation on Red Hat Enterprise Linux 10 on aarch64, in the version specified by the RHIVOS 2 documentation, and gives the reason: the requirement comes from the RHIVOS 2 assumptions of use. The compiler supplier did not choose the host; the operating-system supplier’s safety documentation did.

The required flags are few. This runs on the build machine, which for qualified use is the aarch64 host described above:

raghu@techveda.org:~$ rustc --target=aarch64-rhivos2-linux-gnu -C linker=/usr/bin/gcc -Clink-arg=-fno-lto main.rs

The -C linker flag names a C compiler. The target links with the LLVM linker shipped inside Ferrocene, but it uses the system’s C compiler as the linker driver in order to locate the system C libraries. The manual sets conditions on that C compiler, among them that it must not load plug-ins into the linker and must pass the linker only the arguments the safety manual lists. The last flag in the command switches off the GCC link-time-optimisation plug-in where the C compiler loads it by default.

Why the scope is one host and one target

A scope this narrow looks restrictive, and the reason is the nature of the evidence. A tool qualification of this kind rests on a specification of expected behaviour and on test results showing that the tool meets it. The public documentation lists a language specification, a traceability matrix tying it to the test suite, and per-target test results. Test results are obtained on a particular machine producing code for a particular machine. The support table in the user manual states that for qualified targets the full test suite runs before any change is merged, for the “quality managed” tier it runs per release, and for the “supported” tier on a best-effort basis.

The same pattern is visible in the generic manual. As read on 27 November 2026, its qualified table has seven rows. Six are bare-metal Arm cross-compilation targets, each carrying the note that it is qualified only when cross-compiled from x86-64 Linux. The seventh is x86-64 Linux as a host platform. A developer who compiles the same source with the same compiler version on a laptop outside the table has a working binary and no qualification evidence for it.

What sits outside the qualified scope

The first boundary is the standard library. The scope table for the RHIVOS 2 target lists core and alloc as certified libraries, std and test as uncertified, and proc_macro as qualified for use on the host only. The manual explains that uncertified libraries are evaluated and tested for the compiler’s use only, that their use by end-user code is outside the qualification, and that certifying them is the user’s responsibility. A Linux application normally uses std for files, sockets, threads and time; on this target the library it calls is not covered.

The certified part is a subset, at a lower level than the compiler. The 26.02.0 announcement of 15 February 2026 added ISO 26262 at ASIL B to the certified subset of core and stated that the number of certified functions rose from 2,903 to 5,169. Version 26.05.0 added a lint that reports any call into a function outside the subset. The compiler is qualified as a tool for use up to ASIL D; the library code it links into the product is certified to ASIL B, for part of two crates. Those are separate claims, and a project needs both.

The second boundary is the kernel. The safety manual lists two environment variables that must not be set before the toolchain is used. One of them is RUSTC_BOOTSTRAP. The mainline kernel sets it, as this check against the tree at 7.4-rc4 shows:

raghu@techveda.org:~$ grep -n "RUSTC_BOOTSTRAP" linux/Makefile
648:export RUSTC_BOOTSTRAP := 1

The comment above that line says it allows the use of unstable features in stable compilers, and the build scripts name the features the kernel relies on. The arm64 Makefile also passes several -Z options and selects the aarch64-unknown-none-softfloat target, a tuple that does not appear in the qualified table. The kernel’s Rust code therefore cannot be built inside the published constraints of this tool qualification, on any host. That is not a defect in either project: the kernel needs language features that are not yet stable, and a qualification tied to a written language specification excludes them. Qualified Rust on Linux therefore currently means user-space applications. Whether any RHIVOS kernel enables Rust code was not checked.

The third boundary is the C compiler in the link step. The manual constrains how it behaves as a linker driver. It does not state that this C compiler is itself qualified, and could not, because it is another supplier’s tool.

The C toolchain: what is stated and what is not

Most of a Linux platform is C, so the larger tool qualification question concerns GCC. Red Hat’s datasheet for the In-Vehicle Operating System, datelined 20 May 2025 and last republished on 2 October 2026, makes three statements. The product provides a safety-qualified compiler toolchain. Development can begin on other compatible distributions, but to meet ISO 26262 certification requirements all safety-critical software must be built natively on the product using that toolchain. And compliance with the curated subset of glibc interfaces is aided by a safety plug-in integrated into the compiler.

That matches the shape of the Rust scope: native build, named host, restricted library surface. The datasheet does not give the material a clause 11 evaluation needs. It does not name the compiler version, the tool confidence level, the body that assessed the toolchain, or the constraints. Red Hat states that customers receive safety guidance and assumptions of use, and those documents are not public. No public tool qualification report for the C toolchain was found in the datasheet, in the release of 13 October 2026, or in three earlier Red Hat releases read for this beat on 16 October 2026.

The upstream position explains why the evidence sits with a supplier. In March 2022 a functional-safety engineer asked the gcc-help mailing list whether GCC 7.5 was classified and qualified under ISO 26262 and whether a safety manual existed. A GCC contributor replied within minutes that the question should go to the supplier the compiler was obtained from. This is a mailing-list exchange and not a project policy, but it describes the structure: a community compiler project has no entity that performs a tool qualification, so the work falls to whoever redistributes the compiler. The Woven by Toyota slides describe the same work on LLVM as largely proprietary and duplicated across companies.

For comparison, the TÜV Rheinland register entry 968/FSP 2999.02/26 for QNX OS for Safety, re-read on 27 November 2026, states inside the certificate scope that the provided tool chain is classified as TCL3 and T3 and complies with the requirements for supporting tools in ISO 26262-8. That statement sits in an assessor’s public record. The equivalent statement for the Linux product is, on the record read here, a sentence in a vendor datasheet. Both may rest on equally sound work; only one can be checked without a contract. We covered the wider distinction in what a Linux safety certification actually covers.

What changed between November 2023 and November 2026

On 8 November 2023 Ferrous Systems announced that Ferrocene 23.06.0, based on Rust 1.68, had been qualified by TÜV SÜD under ISO 26262 for use up to ASIL D and under IEC 61508.

Three years later the record shows several additions. A certified subset of core followed, and the 26.02.0 announcement of 15 February 2026 extended it to ISO 26262 at ASIL B. On 28 July 2026 version 26.05.0 added the RHIVOS 2 target and its aarch64 Linux host. On 13 October Red Hat and Ferrous Systems announced their collaboration, and on 14 October version 26.08.0 added qualified targets for QNX SDP 8.0.

The Red Hat release is careful about timing. It says developers can build and test Rust workloads now, and plans general availability of the joint solution for the second half of 2027, aligned with safety-certified releases of the operating system. The datasheet still describes a product based on kernel 5.14 with development compatibility on Red Hat Enterprise Linux 9, while the compiler scope names RHIVOS 2 and a Red Hat Enterprise Linux 10 host. Read together, the compiler target is qualified today for an operating-system release whose own certification the vendor describes as still in progress.

On this beat’s own record the change is simpler. In September 2026 the entry for tool qualification on the Linux side said that no vendor statement about a compiler or build system had been found. There are now two: a public scope table and constraint list for Rust, and one sentence in a datasheet for C.

Limits of this reading

The Ferrocene documents read here are the public preview of the development branch, labelled “rolling” and based on rustc 1.102.0, and the site warns that it may be incomplete or inaccurate. The documentation for released versions is available to customers and was not read. The RHIVOS 2 assumptions of use and the TÜV SÜD certificate were not read either.

This post makes no statement about BitBake, RPM or any Yocto-based platform; no public tool qualification statement for those was found in the sources named above. Nothing here says that any Linux kernel or distribution holds a certification beyond what its own supplier and assessor state.

Key takeaways

  • Under ISO 26262-8:2018 clause 11 a supplier can qualify a tool in advance, but the validity check and the compliance of usage and environment remain with the user.
  • The tool qualification for the Red Hat In-Vehicle Operating System 2 target names one host, a restriction the manual attributes to the operating system’s assumptions of use.
  • The safety manual disallows RUSTC_BOOTSTRAP and the mainline kernel Makefile exports it, so in-kernel Rust code is outside this qualification.
  • Red Hat states that it provides a safety-qualified C toolchain and requires native builds, but the version, confidence level, assessor and constraints are not in any public document read for this post.
Was this worth your time?

Frequently asked questions

Does a compiler’s tool qualification cover my build wherever I run it?
No. The published scope for the RHIVOS 2 target is a single host and target pair, and the bare-metal Arm targets are each qualified only from an x86-64 Linux host.

Can I use the Rust standard library in safety-related code on this target?
The manual lists std as an uncertified library, tested for the compiler’s own use only, and states that certifying it for end-user code is the user’s responsibility.

Does this tool qualification cover Rust code inside the Linux kernel?
No. The safety manual lists RUSTC_BOOTSTRAP among the environment variables that must not be set, and the mainline kernel Makefile exports that variable so that it can use unstable language features.

Who qualifies GCC for a Linux safety platform?
The supplier that distributes it. Red Hat’s datasheet states that its In-Vehicle Operating System provides a safety-qualified compiler toolchain, but no public document read for this post gives the version, the tool confidence level or the assessor.

Further reading

RB
Raghu Bharadwaj

Founder, TECH VEDA — 20+ years teaching the Linux kernel, device drivers and embedded systems.

Follow on LinkedIn

Get the best of TECH VEDA by email

The best of our kernel and embedded Linux writing, a few emails a month. No spam.

We email occasionally and never share your address.