[dpdk-dev] [Bug 875] meson build fails on POWER9 with gcc 4.8.5

bugzilla at dpdk.org bugzilla at dpdk.org
Wed Nov 3 20:43:47 CET 2021


https://bugs.dpdk.org/show_bug.cgi?id=875

David Christensen (drc at linux.vnet.ibm.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |21.11
           Assignee|dev at dpdk.org                |drc at linux.vnet.ibm.com

--- Comment #1 from David Christensen (drc at linux.vnet.ibm.com) ---
Duplicated on a CentOS 7.6 POWER9 VM, fixed with the following patch which will
be submitted upstream:

diff --git a/config/ppc/meson.build b/config/ppc/meson.build
index cba8222163..1cba44011f 100644
--- a/config/ppc/meson.build
+++ b/config/ppc/meson.build
@@ -89,7 +89,7 @@ int main() {
             else
                 error('Compiler does not support POWER at 0@
platform'.format(cpu))
             endif
-            if cpu > 8
+            if cpu >= 8
                 cpu_instruction_set = 'power'+cpu.to_string()
             else
                 error('Compiler does not support POWER at 0@
platform'.format(cpu))

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list