How to get bitbake to send gcc warnings to stdout?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get bitbake to send gcc warnings to stdout?

1,277 Views
charlieschultz
Contributor II

When I run my recipe to build my app (which uses a makefile), compiler errors will be displayed on the console. But if there are only warnings, nothing is displayed.

I can run bitbake with the -v option and see the compiler warnings, but I also get a bunch of irrelevant bitbake processing messages too.

Is there any option to have it always send (only) compiler errors and warnings to the console?

Labels (2)
0 Kudos
1 Reply

431 Views
b36401
NXP TechSupport
NXP TechSupport

Please try to use this patch to send logging messages to stderr:
https://patchwork.openembedded.org/patch/131283/

And then optionally you can redirect stderr into stdout with 2>&1 at the end of the command.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos