On Thu, Nov 28, 2019 at 03:34:54PM +0100, Thomas Monjalon wrote: > 28/11/2019 15:30, Bruce Richardson: > > On Thu, Nov 28, 2019 at 03:22:05PM +0100, Thomas Monjalon wrote: > > > 28/11/2019 15:11, Bruce Richardson: > > > > On Thu, Nov 28, 2019 at 12:51:27PM +0100, Thomas Monjalon wrote: > > > > > 22/11/2019 17:03, Bruce Richardson: > > > > > > -* gcc: versions 4.9 or later is recommended for all platforms. > > > > > > - On some distributions, some specific compiler flags and linker > > > > > > flags are enabled by > > > > > > - default and affect performance (``-fstack-protector``, for > > > > > > example). Please refer to the documentation > > > > > > - of your distribution and to ``gcc -dumpspecs``. > > > > > > > > > > I think we need to keep some compiler requirement somewhere. > > > > > What do you suggest? > > > > > > > > I'm happy to keep this compiler requirements in here. Is 4.9 still > > > > regularly tested with DPDK to ensure it works? Also, if we put in a GCC > > > > requirement, do we not also need to put in a clang one? For recent > > > > distros > > > > is this really something most users need to worry about? > > > > > > It allows us to know which compiler we must support. > > > And for distributions, it can help. > > > I think we should have clang version too. > > > > > > > Ok, I'll add 4.9 recommendation in V2. If we have a minimum clang version > > you want included, I can add that too, if someone gets it to me in time :-) > > I don't know for clang. > Ali, any clue about minimal version? >
I just tested with a CentOS VM and got a clean build with clang 3.4.2, so I'll put 3.4 as minimum then.