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

Simon Horman horms at verge.net.au
Mon Oct 19 18:23:06 PDT 2015


On Mon, Oct 19, 2015 at 12:30:36PM -0700, Geoff Levand wrote:
> 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.

Sounds messy but it may be the lest-worst solution.




More information about the kexec mailing list