[PATCH 2/2] util_lib: Silence ar informational message

Geoff Levand geoff at infradead.org
Mon Oct 19 12:30:36 PDT 2015


Hi Simon,

On Fri, 2015-10-16 at 10:38 +0900, Simon Horman wrote:
> On Thu, Oct 08, 2015 at 04:21:24PM -0700, Geoff Levand wrote:
> > Add the -c option to ar to silence the informational
> > message 'ar creating libutil.a'.  ar outputs this
> > message to stderr, and some tools interpret this as
> > a build warning.
> 
> I am wondering about the portability of -c.
> I tried to find some documentation of it and drew a blank.
> Do you have any thoughts on this?

I couldn't find any info either.  At this point I would say
don't include this.

I'll think about something else.  Maybe capture the output
from ar, then only print it if ar returns an error.

-Geoff



More information about the kexec mailing list