On Mon, Oct 10, 2016 at 10:12:46AM -0600, Jason Gunthorpe wrote: > On Mon, Oct 10, 2016 at 08:30:13AM -0700, Christoph Hellwig wrote: > > > what's the best way to generate a log of the compiler errors with the > > shiny new rdma-core build system? With make I'd do make 2>err.log > > but with the new build system the verbose build output and the errors > > are mixed in the same stream, so this isn't possible anymore. > > If I understand you, you want to split STDOUT and STDERR because > sparse puts differentiated output on each FD? No, sparse only outputs to SDTERR. But for some reason the rdma-core build system multiplexes this back into STDOUT. > I think the simplest approach for you will be to use make when doing > this kind of work: > > $ mkdir build-make > $ cd build-make > $ CC=cgcc cmake > $ make 1> a 2> b Ok.. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html