Skip to contentSkip to conversation

netperf: bump to version 2.7.0

PATCH New Gustavo Zacarias 2 participants 4 messages Jul 22, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netperf: bump to version 2.7.0

Also add hash file.
And work around gcc 5+ defaulting to gnu99, fixes:

http://autobuild.buildroot.net/results/077/077714a0ee67057abcff680b244228a409243bbf/

---
 package/netperf/netperf.hash | 2 ++
 package/netperf/netperf.mk   | 8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100644 package/netperf/netperf.hash
package/netperf/netperf.hash new file +2 -0
new file mode 100644
index 0000000..f972740
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	842af17655835c8be7203808c3393e6cb327a8067f3ed1f1053eb78b4e40375a	netperf-2.7.0.tar.bz2
package/netperf/netperf.mk +6 -2
index 13d44fe..8b22808 100644
@@ -4,9 +4,13 @@
 #
 ################################################################################
 
-NETPERF_VERSION = 2.6.0
+NETPERF_VERSION = 2.7.0
 NETPERF_SITE = ftp://ftp.netperf.org/netperf
-NETPERF_CONF_ENV = ac_cv_func_setpgrp_void=set
+NETPERF_SOURCE = netperf-$(NETPERF_VERSION).tar.bz2
+# gcc 5+ defaults to gnu99 which breaks netperf
+NETPERF_CONF_ENV = \
+	ac_cv_func_setpgrp_void=set \
+	CFLAGS="$(TARGET_CFLAGS) -std=gnu89"
 NETPERF_CONF_OPTS = --enable-demo=yes
 NETPERF_LICENSE = netperf license
 NETPERF_LICENSE_FILES = COPYING
Signature · 1 line
2.3.6
#1 lore raw

PATCH 1/1 netperf: bump to version 2.7.0

Dear Gustavo Zacarias,

Quoted 2 lines · Gustavo Zacarias

Also add hash file.
And work around gcc 5+ defaulting to gnu99, fixes:

gnu99

package/netperf/netperf.mk line 13

Quoted 1 line
package/netperf/netperf.mk +1 -0
+	CFLAGS="$(TARGET_CFLAGS) -std=gnu89"

or gnu89 ? :-)

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 netperf: bump to version 2.7.0

Quoted 11 lines · Thomas Petazzoni

Dear Gustavo Zacarias,

Quoted 2 lines · Gustavo Zacarias

Also add hash file.
And work around gcc 5+ defaulting to gnu99, fixes:

gnu99

package/netperf/netperf.mk line 13

Quoted 1 line
package/netperf/netperf.mk +1 -0
+	CFLAGS="$(TARGET_CFLAGS) -std=gnu89"

or gnu89 ? :-)

The default in gcc < 5 is gnu89, in gcc >= 5 is gnu99, and netperf needs gnu89, so the text and cflags are fine ;)
Regards.

#3 lore raw

PATCH 1/1 netperf: bump to version 2.7.0

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

Quoted 11 lines · Gustavo Zacarias

Also add hash file.
And work around gcc 5+ defaulting to gnu99, fixes:

http://autobuild.buildroot.net/results/077/077714a0ee67057abcff680b244228a409243bbf/

---
 package/netperf/netperf.hash | 2 ++
 package/netperf/netperf.mk   | 8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100644 package/netperf/netperf.hash

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com