From 2cf9f04a460473ea10e901e68e66596583d0d286 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 10 May 2010 16:24:53 +0200 Subject: Update OpenPGM to version 2.1.26 --- configure.in | 2 +- foreign/openpgm/libpgm-2.0.24.tar.gz | Bin 407110 -> 0 bytes foreign/openpgm/libpgm-2.1.26.tar.gz | Bin 0 -> 413863 bytes src/Makefile.am | 2 ++ 4 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 foreign/openpgm/libpgm-2.0.24.tar.gz create mode 100644 foreign/openpgm/libpgm-2.1.26.tar.gz diff --git a/configure.in b/configure.in index b95a367..8d2f27d 100644 --- a/configure.in +++ b/configure.in @@ -268,7 +268,7 @@ fi # PGM extension pgm_ext="no" -pgm_basename="libpgm-2.0.24" +pgm_basename="libpgm-2.1.26" AC_SUBST(pgm_basename) diff --git a/foreign/openpgm/libpgm-2.0.24.tar.gz b/foreign/openpgm/libpgm-2.0.24.tar.gz deleted file mode 100644 index 6668df2..0000000 Binary files a/foreign/openpgm/libpgm-2.0.24.tar.gz and /dev/null differ diff --git a/foreign/openpgm/libpgm-2.1.26.tar.gz b/foreign/openpgm/libpgm-2.1.26.tar.gz new file mode 100644 index 0000000..352df68 Binary files /dev/null and b/foreign/openpgm/libpgm-2.1.26.tar.gz differ diff --git a/src/Makefile.am b/src/Makefile.am index 70ae248..8d7f608 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -181,6 +181,7 @@ if BUILD_PGM if ON_MINGW libpgm_diff_flags = \ -D_WIN32_WINNT=0x0501 \ + -DCONFIG_16BIT_CHECKSUM \ -DCONFIG_HAVE_IFR_NETMASK \ -DCONFIG_BIND_INADDR_ANY \ -DCONFIG_GALOIS_MUL_LUT \ @@ -193,6 +194,7 @@ libpgm_diff_flags = \ else libpgm_diff_flags = \ -D__need_IOV_MAX \ + -DCONFIG_16BIT_CHECKSUM \ -DCONFIG_HAVE_PSELECT \ -DCONFIG_HAVE_POLL \ -DCONFIG_HAVE_PPOLL \ -- cgit v1.2.3 From 9d16a415cbfd33f89d2f5afd96ed7cd34a21a634 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 10 May 2010 16:32:10 +0200 Subject: OpenPGM build flags cleanup Removed various exotic -Wxxx flags in the OpenPGM build to get us to what is actually required and reasonable; added in -fno-strict-aliasing since OpenPGM generates lots of warnings about dereferencing typed-punned pointers; removed the OpenPGM extra flags from libzmq_la_CXXFLAGS and left them only in libzmq_la_CFLAGS so that our code is not built with the OpenPGM extra flags. --- src/Makefile.am | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 8d7f608..fa97ca3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -221,36 +221,17 @@ libpgm_diff_flags = \ endif libzmq_la_CFLAGS = -I$(top_srcdir)/foreign/openpgm/@pgm_basename@/openpgm/pgm/include/ @LIBZMQ_EXTRA_CXXFLAGS@ \ - -pipe \ -Wall \ - -Wextra \ - -Wfloat-equal \ - -Wshadow \ - -Wunsafe-loop-optimizations \ - -Wpointer-arith \ - -Wbad-function-cast \ - -Wcast-qual \ - -Wcast-align \ - -Wwrite-strings \ - -Waggregate-return \ - -Wstrict-prototypes \ - -Wold-style-definition \ - -Wmissing-prototypes \ - -Wmissing-declarations \ - -Wmissing-noreturn \ - -Wmissing-format-attribute \ - -Wredundant-decls \ - -Wnested-externs \ - -Winline \ -pedantic \ -std=gnu99 \ + -fno-strict-aliasing \ --param max-inline-insns-single=600 \ -D_REENTRANT \ -D_GNU_SOURCE \ ${libpgm_diff_flags} libzmq_la_CXXFLAGS = -I$(top_srcdir)/foreign/openpgm/@pgm_basename@/openpgm/pgm/include/ \ - -Wall @LIBZMQ_EXTRA_CXXFLAGS@ ${libpgm_diff_flags} + @LIBZMQ_EXTRA_CXXFLAGS@ endif if BUILD_NO_PGM -- cgit v1.2.3 From 9fbb9141a8895ac83e8051ac568223a9e57a278d Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 10 May 2010 16:39:09 +0200 Subject: Update historic include paths --- devices/zmq_forwarder/Makefile.am | 2 +- devices/zmq_queue/Makefile.am | 2 +- devices/zmq_streamer/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devices/zmq_forwarder/Makefile.am b/devices/zmq_forwarder/Makefile.am index ca29fa5..936a305 100644 --- a/devices/zmq_forwarder/Makefile.am +++ b/devices/zmq_forwarder/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES = -I$(top_srcdir)/bindings/cpp -I$(top_srcdir)/bindings/c +INCLUDES = -I$(top_srcdir)/include bin_PROGRAMS = zmq_forwarder diff --git a/devices/zmq_queue/Makefile.am b/devices/zmq_queue/Makefile.am index 416cb21..39c0c10 100644 --- a/devices/zmq_queue/Makefile.am +++ b/devices/zmq_queue/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES = -I$(top_srcdir)/bindings/cpp -I$(top_srcdir)/bindings/c +INCLUDES = -I$(top_srcdir)/include bin_PROGRAMS = zmq_queue diff --git a/devices/zmq_streamer/Makefile.am b/devices/zmq_streamer/Makefile.am index b6ab8fa..e195a3c 100644 --- a/devices/zmq_streamer/Makefile.am +++ b/devices/zmq_streamer/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES = -I$(top_srcdir)/bindings/cpp -I$(top_srcdir)/bindings/c +INCLUDES = -I$(top_srcdir)/include bin_PROGRAMS = zmq_streamer -- cgit v1.2.3