Files
poky/meta/recipes-devtools
Philip Lorenz ed82f9c090 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: 34fa8230163e5ed1c6668bf800c45a173c6490ca)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-06 12:18:05 +00:00
..
2024-01-21 12:27:12 +00:00
2024-08-28 09:14:26 +01:00
2023-07-30 07:54:44 +01:00
2024-08-23 09:12:37 +01:00
2024-09-03 10:21:38 +01:00
2024-02-03 22:08:26 +00:00
2024-05-28 09:38:23 +01:00
2024-08-21 21:51:49 +01:00
2024-08-23 09:12:37 +01:00
2024-04-16 08:07:01 +01:00
2024-08-30 21:59:38 +01:00
2024-10-22 12:28:18 +01:00
2024-10-08 13:26:39 +01:00
2024-10-11 12:17:02 +01:00
2024-10-29 11:19:57 +00:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2024-09-30 17:00:50 +01:00
2024-08-28 09:14:27 +01:00
2024-08-23 09:12:37 +01:00
2024-09-04 12:38:44 +01:00
2024-10-29 11:19:57 +00:00
2024-08-23 09:12:37 +01:00
2024-08-08 08:26:14 +01:00
2023-03-11 00:08:41 +00:00
2024-08-28 09:14:26 +01:00
2024-10-25 15:25:33 +01:00
2024-08-28 09:14:27 +01:00
2024-04-16 08:07:02 +01:00
2024-10-11 12:17:02 +01:00
2024-06-04 12:04:52 +01:00
2024-05-28 09:38:24 +01:00
2024-08-29 21:58:19 +01:00
2024-09-30 17:00:51 +01:00
2024-08-28 09:14:26 +01:00
2024-08-28 09:14:26 +01:00
2024-08-21 21:51:49 +01:00
2024-10-22 11:39:58 +01:00
2024-06-12 16:08:31 +01:00
2024-10-15 11:47:24 +01:00
2024-10-15 11:47:24 +01:00
2024-04-25 10:06:03 +01:00