DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] doc/linux_gsg: update recommended compiler versions
@ 2025-04-08 17:18 Bruce Richardson
  2025-04-09  5:50 ` Morten Brørup
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bruce Richardson @ 2025-04-08 17:18 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson

Rather than specifying a minimum compiler version, update the docs to
recommend a particular compiler version. In other words, earlier
versions may work, but are not officially supported, or may give reduced
functionality.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 doc/guides/linux_gsg/sys_reqs.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
index 4c9d0c55c0..0acd26f260 100644
--- a/doc/guides/linux_gsg/sys_reqs.rst
+++ b/doc/guides/linux_gsg/sys_reqs.rst
@@ -28,7 +28,8 @@ Compilation of the DPDK
     For details on Linux distributions and the versions tested, please consult the DPDK Release Notes.
 
 *   General development tools including a C compiler supporting the C11 standard,
-    including standard atomics, for example: GCC (version 5.0+) or Clang (version 3.6+),
+    including standard atomics, for example:
+    GCC (version 8.0+ recommended) or Clang (version 7+ recommended),
     and ``pkg-config`` or ``pkgconf`` to be used when building end-user binaries against DPDK.
 
     * For RHEL/Fedora systems these can be installed using ``dnf groupinstall "Development Tools"``
-- 
2.45.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] doc/linux_gsg: update recommended compiler versions
  2025-04-08 17:18 [PATCH] doc/linux_gsg: update recommended compiler versions Bruce Richardson
@ 2025-04-09  5:50 ` Morten Brørup
  2025-06-10  7:17 ` Thomas Monjalon
  2025-06-10  9:33 ` [PATCH v2] " Bruce Richardson
  2 siblings, 0 replies; 4+ messages in thread
From: Morten Brørup @ 2025-04-09  5:50 UTC (permalink / raw)
  To: Bruce Richardson, dev

> From: Bruce Richardson [mailto:bruce.richardson@intel.com]
> Sent: Tuesday, 8 April 2025 19.19
> 
> Rather than specifying a minimum compiler version, update the docs to
> recommend a particular compiler version. In other words, earlier
> versions may work, but are not officially supported, or may give
> reduced
> functionality.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
>  doc/guides/linux_gsg/sys_reqs.rst | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/guides/linux_gsg/sys_reqs.rst
> b/doc/guides/linux_gsg/sys_reqs.rst
> index 4c9d0c55c0..0acd26f260 100644
> --- a/doc/guides/linux_gsg/sys_reqs.rst
> +++ b/doc/guides/linux_gsg/sys_reqs.rst
> @@ -28,7 +28,8 @@ Compilation of the DPDK
>      For details on Linux distributions and the versions tested, please
> consult the DPDK Release Notes.
> 
>  *   General development tools including a C compiler supporting the
> C11 standard,
> -    including standard atomics, for example: GCC (version 5.0+) or
> Clang (version 3.6+),
> +    including standard atomics, for example:
> +    GCC (version 8.0+ recommended) or Clang (version 7+ recommended),
>      and ``pkg-config`` or ``pkgconf`` to be used when building end-
> user binaries against DPDK.
> 
>      * For RHEL/Fedora systems these can be installed using ``dnf
> groupinstall "Development Tools"``
> --
> 2.45.2

Acked-by: Morten Brørup <mb@smartsharesystems.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc/linux_gsg: update recommended compiler versions
  2025-04-08 17:18 [PATCH] doc/linux_gsg: update recommended compiler versions Bruce Richardson
  2025-04-09  5:50 ` Morten Brørup
@ 2025-06-10  7:17 ` Thomas Monjalon
  2025-06-10  9:33 ` [PATCH v2] " Bruce Richardson
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2025-06-10  7:17 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev

08/04/2025 19:18, Bruce Richardson:
> Rather than specifying a minimum compiler version, update the docs to
> recommend a particular compiler version. In other words, earlier
> versions may work, but are not officially supported, or may give reduced
> functionality.
[...]
> +    GCC (version 8.0+ recommended) or Clang (version 7+ recommended),

Please could you explain in the commit log why these versions are recommended?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] doc/linux_gsg: update recommended compiler versions
  2025-04-08 17:18 [PATCH] doc/linux_gsg: update recommended compiler versions Bruce Richardson
  2025-04-09  5:50 ` Morten Brørup
  2025-06-10  7:17 ` Thomas Monjalon
@ 2025-06-10  9:33 ` Bruce Richardson
  2 siblings, 0 replies; 4+ messages in thread
From: Bruce Richardson @ 2025-06-10  9:33 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson, Morten Brørup

Rather than specifying a minimum compiler version, update the docs to
recommend a particular compiler version. In other words, earlier
versions may work, but are not officially supported, or may give reduced
functionality.

Since we don't require that many version-specific features, recommend
the compiler verions included in our oldest officially-supported distro.
Those versions (GCC 8 & Clang 7) provide all needed functionality.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
---
 doc/guides/linux_gsg/sys_reqs.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
index 4c9d0c55c0..0acd26f260 100644
--- a/doc/guides/linux_gsg/sys_reqs.rst
+++ b/doc/guides/linux_gsg/sys_reqs.rst
@@ -28,7 +28,8 @@ Compilation of the DPDK
     For details on Linux distributions and the versions tested, please consult the DPDK Release Notes.
 
 *   General development tools including a C compiler supporting the C11 standard,
-    including standard atomics, for example: GCC (version 5.0+) or Clang (version 3.6+),
+    including standard atomics, for example:
+    GCC (version 8.0+ recommended) or Clang (version 7+ recommended),
     and ``pkg-config`` or ``pkgconf`` to be used when building end-user binaries against DPDK.
 
     * For RHEL/Fedora systems these can be installed using ``dnf groupinstall "Development Tools"``
-- 
2.48.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-10  9:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 17:18 [PATCH] doc/linux_gsg: update recommended compiler versions Bruce Richardson
2025-04-09  5:50 ` Morten Brørup
2025-06-10  7:17 ` Thomas Monjalon
2025-06-10  9:33 ` [PATCH v2] " Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).