1. 21 May, 2019 1 commit
  2. 12 Feb, 2019 1 commit
  3. 19 Jan, 2019 1 commit
    • Luca Boccassi's avatar
      Problem: yqueue false sharing issues on PPC64 · 4a0c83fb
      Luca Boccassi authored
      Solution: detect cacheline size for aligment purposes at build time
      instead of hard-coding it, so that PPC and S390 can align to a value
      greater than the 64 bytes default.
      Uses libc getconf program, and falls back to the previous value of 64
      if not found.
      4a0c83fb
  4. 13 Sep, 2018 1 commit
    • Fabrice Fontaine's avatar
      fix static build with libatomic · 6de5f18b
      Fabrice Fontaine authored
      Commit 2ec5a33f added support to link
      with -latomic if needed however using LDFLAGS doesn't work when
      statically linking because LDFLAGS is added before LIBS
      
      Detection of atomic fails with:
      
      configure:23230: /accts/mlweber1/instance-2/output/host/bin/sparc-linux-g++ -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -static -static -pedantic -Werror -Wall -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wno-long-long -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -static -latomic conftest.cpp -lrt -lpthread -lstdc++ >&5
      /tmp/ccgrvVTg.o: In function `main':
      conftest.cpp:(.text.startup+0x10): undefined reference to `__atomic_fetch_add_4'
      collect2: error: ld returned 1 exit status
      
      So use LIBS instead of LDFLAGS
      
      Fixes:
       - http://autobuild.buildroot.net/results/c471d6b1061a8516f7772735e471db68a32965aaSigned-off-by: 's avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
      6de5f18b
  5. 03 Jun, 2018 1 commit
  6. 22 May, 2018 1 commit
  7. 09 May, 2018 1 commit
  8. 07 May, 2018 1 commit
    • Asaf Kahlon's avatar
      acinclude.m4: check if -latomic is needed. · 2ec5a33f
      Asaf Kahlon authored
      On some cases, -latomic is needed for likning, and since the current
      acinclude.m4 checks only compilation we can sometimes miss the need for -latomic
      and the linking process will fail.
      Therefore, the AC_CHECK_IFELSE was replaced with AC_LINK_IFELSE. If the first
      try fails, we try to link again with -latomic and add LIBS="-latmoic" in case we
      succeeded.
      Signed-off-by: 's avatarAsaf Kahlon <asafka7@gmail.com>
      2ec5a33f
  9. 31 Jul, 2017 1 commit
    • Brian Russell's avatar
      Add socket option BINDTODEVICE · b963542e
      Brian Russell authored
      Linux now supports Virtual Routing and Forwarding (VRF) as per:
      
      https://www.kernel.org/doc/Documentation/networking/vrf.txt
      
      In order for an application to bind or connect to a socket with an
      address in a VRF, they need to first bind the socket to the VRF device:
      
          setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, strlen(dev)+1);
      
      Note "dev" is the VRF device, eg. VRF "blue", rather than an interface
      enslaved to the VRF.
      
      Add a new socket option, ZMQ_BINDTODEVICE, to bind a socket to a device.
      In general, if a socket is bound to a device, eg. an interface, only
      packets received from that particular device are processed by the socket.
      
      If device is a VRF device, then subsequent binds/connects to that socket
      use addresses in the VRF routing table.
      b963542e
  10. 28 Jul, 2017 2 commits
  11. 19 Mar, 2017 1 commit
  12. 02 Feb, 2017 1 commit
    • Jim Klimov's avatar
      Problem: polling does not work well OOB in OpenIndiana · f8816945
      Jim Klimov authored
      Solution: even though epoll() semantics are supported in modern illumos, it may differ from what Linux developers are used to expect. Skip epoll and use poll or select semantics (both were checked to work well).
      f8816945
  13. 26 Dec, 2016 2 commits
  14. 24 Nov, 2016 1 commit
  15. 27 Oct, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: build API incompatible with 4.1 · 8345fe9e
      Luca Boccassi authored
      Solution: keep the new --without-docs option, but also keep the old
      --without-documentation with an added deprecation warning.
      We can then remove it in the next major release, to leave enough time
      for users and maintainers to change it without disruptions.
      8345fe9e
  16. 21 Sep, 2016 1 commit
  17. 20 Sep, 2016 1 commit
  18. 11 Feb, 2016 2 commits
    • Pieter Hintjens's avatar
      Problem: some configure options are confusing · e65367ea
      Pieter Hintjens authored
      It's especially annoying to see this:
      
        --enable-perf           Build performance measurement tools [default=yes].
        --disable-eventfd       disable eventfd [default=no]
        --enable-curve-keygen   Build curve key-generation tool [default=yes].
      
      Solution: all options should explain the non-default case. Also
      the language should be enable/disable, with/without, rather than
      yes/no. E.g. '--without-docs'.
      e65367ea
    • Pieter Hintjens's avatar
      Problem: autotools platform.hpp is not compatible with CMake · 9f8ced3f
      Pieter Hintjens authored
      Specifically, the poller detection code does not set macros in
      platform.hpp. The configure script passed them as -D on the command
      line.
      
      Solution: rewrite the poller detection code.
      9f8ced3f
  19. 03 Feb, 2016 2 commits
  20. 18 Jan, 2016 1 commit
  21. 06 Feb, 2015 1 commit
    • Lionel Orry's avatar
      acinclude.m4: make kernel-specific flags cacheable · 9daf6dd7
      Lionel Orry authored
      Specifically when cross-compiling, one can be willing to force these
      variable values using the environment of a config.cache file. This
      commit makes this possible.
      
      The affected variables are:
      
      * libzmq_cv_sock_cloexec
      * libzmq_cv_so_keepalive
      * libzmq_cv_tcp_keepcnt
      * libzmq_cv_tcp_keepidle
      * libzmq_cv_tcp_keepintvl
      * libzmq_cv_tcp_keepalive
      Signed-off-by: 's avatarLionel Orry <lionel.orry@gmail.com>
      9daf6dd7
  22. 28 Jan, 2015 1 commit
  23. 17 Feb, 2014 1 commit
    • Olaf Mandel's avatar
      Remove duplicate poller decision making · 48b50cef
      Olaf Mandel authored
      The decision about the poller mechanism to use (select, poll, ...)
      was done twice: once by the build system and once by the code in
      poller.hpp. As the build-system can actually detect the mechanisms
      available, prefer that result to the hard coded defaults in
      poller.hpp.
      
      At the same time, remove the duplicate detection of select() vs.
      poll()-variant from proxy.cpp, signaler.cpp and zmq.cpp.
      
      This patch has not been tested on many build platforms: especially
      the cmake build needs testing / patching. For the other builds,
      hard code the result as these these are all Windows platforms.
      48b50cef
  24. 14 Feb, 2014 1 commit
  25. 06 Apr, 2012 1 commit
  26. 05 Apr, 2012 1 commit
  27. 27 Jan, 2012 2 commits
  28. 26 Oct, 2011 1 commit
  29. 06 Sep, 2011 1 commit
  30. 04 Sep, 2011 1 commit
  31. 03 Apr, 2011 1 commit
  32. 02 Apr, 2011 2 commits
  33. 18 Dec, 2010 1 commit
  34. 07 Dec, 2010 1 commit