1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00
Files
poky/meta/recipes-devtools
Philip Lorenz 872786c742 cmake: Fix sporadic issues when determining compiler internals
When `-pipe` is enabled, GCC passes data between its different
executables using pipes instead of temporary files. This leads to issues
when cmake attempts to infer compiler internals via the `-v` parameter
as each executable will print to `stderr` in parallel.

In turn this may lead to compilation issues down the line as for example
the system include directories could not be determined properly which
may then propagate to issues such as:

    recipe-sysroot/usr/include/c++/11.3.0/cstdlib:75:15: fatal error:
        stdlib.h: No such file or directory
    |    75 | #include_next <stdlib.h>
    |       |               ^~~~~~~~~~
    | compilation terminated.
    | ninja: build stopped: subcommand failed.
    | WARNING: exit code 1 from a shell command.

Fix this stripping `-pipe` from the command line used to determine
compiler internals.

(From OE-Core rev: 8e2233fd0509b9f20c19d5006dd7ef0c2260bdba)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-15 06:05:32 -08:00
..
2023-08-26 04:24:02 -10:00
2023-10-05 15:48:49 -10:00
2024-09-16 06:09:56 -07:00
2022-03-16 10:31:40 +00:00
2022-08-01 16:27:29 +01:00
2022-03-16 13:39:12 +00:00
2023-09-08 16:09:41 -10:00
2024-02-09 03:46:50 -10:00
2024-06-01 19:07:52 -07:00
2022-03-24 17:45:29 +00:00
2024-08-16 08:09:14 -07:00
2023-10-05 15:48:49 -10:00
2022-05-25 22:45:50 +01:00
2022-03-23 12:13:49 +00:00
2024-08-05 06:02:01 -07:00
2022-03-11 06:56:01 +00:00
2022-05-25 22:45:50 +01:00
2022-12-01 19:35:05 +00:00
2022-03-20 00:02:22 +00:00
2023-09-08 16:09:41 -10:00
2024-11-02 06:32:36 -07:00
2024-04-19 04:50:38 -07:00
2023-12-22 16:36:55 -10:00
2023-03-23 22:45:33 +00:00
2024-11-02 06:32:36 -07:00
2024-11-02 06:32:36 -07:00
2022-03-02 18:43:24 +00:00
2024-10-12 05:17:57 -07:00
2022-05-04 13:07:33 +01:00