Commit Graph

2 Commits

Author SHA256 Message Date
2de8740ded - Change 0001-always_inline-fix.patch by replacing the function
rte_trace_feature_is_enabled with a preprocessor substitution, 
  this also work with older gcc7 where -mgeneral-regs-only isn't 
  available.

OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=184
2025-04-01 13:12:21 +00:00
23fe613bb3 - Add 0001-always_inline-fix.patch to fix issue with always_inline
and rte_trace_feature_is_enabled which should use -mgeneral-regs-only
  to inter-operate with other ISA flags.  Remove GCC 14 build requirement
  for SLE15/16 again.


-- note this doesn't work on SLE15 with GCC 7, but %autopatch does not
allow conditional patching, please fixup how you like.  The build
fails on SLE16 currently because there is no GCC 14 in SLE16 anymore.
Please use GCC 13 there.

-- note the dpdk code is simply broken, it's a bug it's accepted in
GCC 14/15 (I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119549
so this is rectified).  The -mgeneral-regs-only is also only a
workaround.  I have no idea what they actually intend.

OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=182
2025-03-31 12:59:02 +00:00