Re: [dpdk-dev] [PATCH v4 01/10] build: add an option to enable LTO build

2019-10-28 Thread Thomas Monjalon
28/10/2019 11:47, Andrzej Ostruszka: > On 10/27/19 12:47 PM, Thomas Monjalon wrote: > >> +turned on. This depends obviously on the capabilities of the compiler > > > > Not sure what you are talking about. > > If it is about fat objects, it is not obvious. > > > >> +to do "whole program" optimiza

Re: [dpdk-dev] [PATCH v4 01/10] build: add an option to enable LTO build

2019-10-28 Thread Andrzej Ostruszka
Thank you Thomas for the comments. Please see below for replies. On 10/27/19 12:47 PM, Thomas Monjalon wrote: > Adding John and Marko for doc review. > > 22/10/2019 13:54, Andrzej Ostruszka: >> --- /dev/null >> +++ b/doc/guides/prog_guide/lto.rst > > This new file is not included in the prog gu

Re: [dpdk-dev] [PATCH v4 01/10] build: add an option to enable LTO build

2019-10-27 Thread Thomas Monjalon
Adding John and Marko for doc review. 22/10/2019 13:54, Andrzej Ostruszka: > --- /dev/null > +++ b/doc/guides/prog_guide/lto.rst This new file is not included in the prog guide index. > @@ -0,0 +1,36 @@ You are missing the mandatory SPDX and Copyright header. > +Link Time Optimization > +=

Re: [dpdk-dev] [PATCH v4 01/10] build: add an option to enable LTO build

2019-10-22 Thread Bruce Richardson
On Tue, Oct 22, 2019 at 01:54:03PM +0200, Andrzej Ostruszka wrote: > This patch adds an option to enable link time optimization. In addition > to LTO option itself (-flto) fat-lto-objects are being used. This is > because during the build pmdinfogen scans the generated ELF objects to > find this_