summaryrefslogtreecommitdiffstats
path: root/documentation/conf.py
diff options
context:
space:
mode:
authorPhilip Lorenz <philip.lorenz@bmw.de>2024-11-05 15:01:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-06 12:18:05 +0000
commited82f9c0903777c4b9f337266d6862e29b739110 (patch)
treeb10cf7f8d4261a99e2bb76b4fe36f15df5b88c53 /documentation/conf.py
parentb94b85bef0b6375be71be6002521e147906080e5 (diff)
downloadpoky-ed82f9c0903777c4b9f337266d6862e29b739110.tar.gz
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>
Diffstat (limited to 'documentation/conf.py')
0 files changed, 0 insertions, 0 deletions