avocado-framework / avocado-vt

Avocado VT Plugin
https://avocado-vt.readthedocs.org/
Other
83 stars 241 forks source link

utils_netperf: bypass compilation failure #3930

Closed luckyh closed 2 months ago

luckyh commented 2 months ago

Starting from gcc 14.0, implicit function declarations are treated as errors by default [1], which caused the following failure been observed during the compilation.

netlib.c:2343:9: error: implicit declaration of function ... ... make[3]: *** [Makefile:454: netlib.o] Error 1

One contributor has already sent a PR [2] to fix the issue to the netperf upstream, however, it has not been merged yet since a year ago. At the moment, let's just bypass this issue, while waiting for a regular fix to be done.

References: [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 [2] https://github.com/HewlettPackard/netperf/pull/74

ID: 2505

luckyh commented 2 months ago

@yanglei-rh @Yingshun would you mind to help review this one? thanks in advance!