[MacPorts] #51711: libarchive @3.2.1 - Build failure

MacPorts noreply at macports.org
Sun Jun 26 11:10:08 PDT 2016


#51711: libarchive @3.2.1 - Build failure
-------------------------+--------------------------------
  Reporter:  eric@…      |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  libarchive  |
-------------------------+--------------------------------

Comment (by toby@…):

 Here's the check, which is apparently wrong for your compiler:

 {{{
 #if defined(_MSC_VER) && _MSC_VER >= 1400  /* Visual Studio */
 #  define bswap16(x) _byteswap_ushort(x)
 #elif (defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 8) \
       || defined(__clang__)
 #  define bswap16(x) __builtin_bswap16(x)
 #else
 #  define bswap16(x) ((((x) >> 8) & 0xff) | ((x) << 8))
 #endif
 }}}

 If you can provide the output of the following command, I might be able to
 help:

 {{{
 cc -E -dM -xc /dev/null
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51711#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list