| Summary: | Add sanity test for g++ supporting "--std=gnu++20" | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Yoann Congal <yoann.congal> |
| Component: | oe-core other | Assignee: | Yoann Congal <yoann.congal> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 5.2 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Yoann Congal
2025-03-18 15:40:11 UTC
Errata: the option to test for odejs is "std=gnu++20" (not std=g++20) Patch v2 sent: openembedded-core@lists.openembedded.org | [PATCH v2 1/2] sanity: Refactor "C++ toolchain support this flag" check https://lists.openembedded.org/g/openembedded-core/topic/patch_v2_1_2_sanity/111808358 openembedded-core@lists.openembedded.org | [PATCH v2 2/2] insane: Check if the C++ toolchain supports --std=gnu++20 https://lists.openembedded.org/g/openembedded-core/topic/patch_v2_2_2_insane_check/111808359 Sanity check added here: sanity: Refactor "C++ toolchain support this flag" check : https://git.openembedded.org/openembedded-core/commit/?id=42d012e8414736d89618422fb6f9bce9e4a2a391 sanity: Check if the C++ toolchain supports --std=gnu++20 : https://git.openembedded.org/openembedded-core/commit/?id=19004950ad5691ef51f7fcf946558bd0de561403 TODO: Document the requirement on the c++ host compiler Doc patch sent: [PATCH] poky.yaml.in: Raise minimum GCC version to 10.1 https://lists.yoctoproject.org/g/docs/topic/patch_poky_yaml_in_raise/111852706 |