Re: [OE-core] [PATCH] lib/oe/utils: ignore stderr while checking compiler version

2021-03-28 Thread Lars Poeschel
On Sun, Mar 28, 2021 at 09:31:17AM +0100, Richard Purdie wrote: > On Sun, 2021-03-28 at 00:35 -0400, Denys Dmytriyenko wrote: > > On Sun, Mar 28, 2021 at 04:25:02AM +0200, Lars Poeschel wrote: > > > On Sat, Mar 27, 2021 at 01:54:11PM +, Richard Purdie wrote: > > > &g

Re: [OE-core] [PATCH] lib/oe/utils: ignore stderr while checking compiler version

2021-03-27 Thread Lars Poeschel
On Sat, Mar 27, 2021 at 01:54:11PM +, Richard Purdie wrote: > On Sat, 2021-03-27 at 02:41 +0100, Lars Poeschel wrote: > > From: Lars Poeschel > > > > The functions for checking the C compiler version call the compiler with > > the --version argument and capture s

[OE-core] [PATCH] lib/oe/utils: ignore stderr while checking compiler version

2021-03-26 Thread Lars Poeschel
From: Lars Poeschel The functions for checking the C compiler version call the compiler with the --version argument and capture stdout and stderr to extract the version information from that. This does not work if something goes wrong for the compiler and it then prints some warning to stderr