← Back to team overview

leaningtech-dev team mailing list archive

[Bug 1295695] Re: Installation from 0.9.4.1 tarball fails on Mac OS X 10.9.2

 

Sure. Here it is:

~/Code/duetto% /opt/duetto/bin/clang++ -O3 -target duetto HelloClient.cpp -o - -dM -E
#define ARG_MAX 4096
#define ATOMIC_BOOL_LOCK_FREE __GCC_ATOMIC_BOOL_LOCK_FREE
#define ATOMIC_CHAR16_T_LOCK_FREE __GCC_ATOMIC_CHAR16_T_LOCK_FREE
#define ATOMIC_CHAR32_T_LOCK_FREE __GCC_ATOMIC_CHAR32_T_LOCK_FREE
#define ATOMIC_CHAR_LOCK_FREE __GCC_ATOMIC_CHAR_LOCK_FREE
#define ATOMIC_FLAG_INIT {false}
#define ATOMIC_INT_LOCK_FREE __GCC_ATOMIC_INT_LOCK_FREE
#define ATOMIC_LLONG_LOCK_FREE __GCC_ATOMIC_LLONG_LOCK_FREE
#define ATOMIC_LONG_LOCK_FREE __GCC_ATOMIC_LONG_LOCK_FREE
#define ATOMIC_POINTER_LOCK_FREE __GCC_ATOMIC_POINTER_LOCK_FREE
#define ATOMIC_SHORT_LOCK_FREE __GCC_ATOMIC_SHORT_LOCK_FREE
#define ATOMIC_VAR_INIT(__v) {__v}
#define ATOMIC_WCHAR_T_LOCK_FREE __GCC_ATOMIC_WCHAR_T_LOCK_FREE
#define BUFSIZ 1024
#define CHAR_BIT __CHAR_BIT__
#define CHAR_MAX __SCHAR_MAX__
#define CHAR_MIN SCHAR_MIN
#define EOF (-1)
#define FD_CLR(n,p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1L << ((n) % NFDBITS)))
#define FD_ISSET(n,p) ((p)->fds_bits[(n)/NFDBITS] & (1L << ((n) % NFDBITS)))
#define FD_SET(n,p) ((p)->fds_bits[(n)/NFDBITS] |= (1L << ((n) % NFDBITS)))
#define FD_SETSIZE 64
#define FD_ZERO(p) (__extension__ (void)({ size_t __i; char *__tmp = (char *)p; for (__i = 0; __i < sizeof (*(p)); ++__i) *__tmp++ = 0; }))
#define FILENAME_MAX 1024
#define FOPEN_MAX 20
#define INT16_C(x) x
#define INT16_MAX 32767
#define INT16_MIN -32768
#define INT32_C(x) x
#define INT32_MAX 2147483647
#define INT32_MIN (-2147483647-1)
#define INT8_C(x) x
#define INT8_MAX 127
#define INT8_MIN -128
#define INTMAX_C(x) x##LL
#define INTMAX_MAX __INTMAX_MAX__
#define INTMAX_MIN (-INTMAX_MAX - 1)
#define INTPTR_MAX PTRDIFF_MAX
#define INTPTR_MIN PTRDIFF_MIN
#define INT_FAST16_MAX __STDINT_EXP(INT_MAX)
#define INT_FAST16_MIN (-__STDINT_EXP(INT_MAX)-1)
#define INT_FAST32_MAX __STDINT_EXP(INT_MAX)
#define INT_FAST32_MIN (-__STDINT_EXP(INT_MAX)-1)
#define INT_FAST8_MAX __STDINT_EXP(INT_MAX)
#define INT_FAST8_MIN (-__STDINT_EXP(INT_MAX)-1)
#define INT_LEAST16_MAX 32767
#define INT_LEAST16_MIN -32768
#define INT_LEAST32_MAX 2147483647
#define INT_LEAST32_MIN (-2147483647-1)
#define INT_LEAST8_MAX 127
#define INT_LEAST8_MIN -128
#define INT_MAX __INT_MAX__
#define INT_MIN (-__INT_MAX__ -1)
#define LONG_MAX __LONG_MAX__
#define LONG_MIN (-__LONG_MAX__ -1L)
#define L_tmpnam FILENAME_MAX
#define MB_LEN_MAX _MB_LEN_MAX
#define NBBY 8
#define NFDBITS (sizeof (fd_mask) * NBBY)
#define NL_ARGMAX 32
#define NULL __null
#define PATH_MAX 4096
#define PTRDIFF_MAX __STDINT_EXP(LONG_MAX)
#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)
#define SCHAR_MAX __SCHAR_MAX__
#define SCHAR_MIN (-__SCHAR_MAX__-1)
#define SEEK_CUR 1
#define SEEK_END 2
#define SEEK_SET 0
#define SHRT_MAX __SHRT_MAX__
#define SHRT_MIN (-__SHRT_MAX__ -1)
#define SIG_ATOMIC_MAX __STDINT_EXP(INT_MAX)
#define SIG_ATOMIC_MIN (-__STDINT_EXP(INT_MAX) - 1)
#define SIZE_MAX __SIZE_MAX__
#define TMP_MAX 26
#define UCHAR_MAX (__SCHAR_MAX__*2 +1)
#define UINT16_C(x) x
#define UINT16_MAX 65535
#define UINT32_C(x) x##U
#define UINT32_MAX 4294967295U
#define UINT8_C(x) x
#define UINT8_MAX 255
#define UINTMAX_C(x) x##ULL
#define UINTMAX_MAX UINT64_MAX
#define UINTPTR_MAX (2UL * PTRDIFF_MAX + 1)
#define UINT_FAST16_MAX (__STDINT_EXP(INT_MAX)*2U+1U)
#define UINT_FAST32_MAX (__STDINT_EXP(INT_MAX)*2U+1U)
#define UINT_FAST8_MAX (__STDINT_EXP(INT_MAX)*2U+1U)
#define UINT_LEAST16_MAX 65535
#define UINT_LEAST32_MAX 4294967295U
#define UINT_LEAST8_MAX 255
#define UINT_MAX (__INT_MAX__ *2U +1U)
#define ULONG_MAX (__LONG_MAX__ *2UL+1UL)
#define USHRT_MAX (__SHRT_MAX__ *2 +1)
#define WCHAR_MAX __WCHAR_MAX__
#define WCHAR_MIN 0
#define WEOF ((wint_t)-1)
#define WINT_MAX (__STDINT_EXP(INT_MAX) * 2U + 1U)
#define WINT_MIN 0U
#define _ALIGNAS(x) alignas(x)
#define _ALIGNAS_TYPE(x) alignas(x)
#define _AND ,
#define _ANSIDECL_H_
#define _ATEXIT_DYNAMIC_ALLOC 1
#define _ATEXIT_SIZE 32
#define _ATTRIBUTE(attrs) __attribute__ (attrs)
#define _B 0200
#define _BEGIN_STD_C extern "C" {
#define _BSDTYPES_DEFINED
#define _C 040
#define _CAST_VOID (void)
#define _CLOCKID_T_ unsigned long
#define _CLOCK_T_ unsigned long
#define _CONST const
#define _CTYPE_H_
#define _DEFUN(name,arglist,args) __attribute__((weak)) name(args)
#define _DEFUN_VOID(name) __attribute__((weak)) name(_NOARGS)
#define _DOTS , ...
#define _DUETTO_CLIENT_a335cd00
#define _DUETTO_COMMON_H
#define _DUETTO_LIB_4a91e6c5
#define _DUETTO_TYPES_H_2043d438
#define _ELIDABLE_INLINE extern __inline__ _ATTRIBUTE ((__always_inline__))
#define _END_STD_C }
#define _EXFNPTR(name,proto) (* name) proto
#define _EXFUN(name,proto) name proto
#define _EXFUN_NOTHROW(name,proto) name proto _NOTHROW
#define _EXPARM(name,proto) (* name) proto
#define _FSTDIO
#define _FUN(name,arglist,args) name(args)
#define _FUN_VOID(name) name(_NOARGS)
#define _GCC_LIMITS_H_
#define _GLOBAL_REENT _global_impure_ptr
#define _GNUC_VER (__GNUC__ * 100 + __GNUC_MINOR__)
#define _GNU_SOURCE 1
#define _HAVE_LONG_DOUBLE 1
#define _HAVE_STDC
#define _IOFBF 0
#define _IOLBF 1
#define _IONBF 2
#define _Kmax (sizeof (size_t) << 3)
#define _L 02
#define _LDBL_EQ_DBL 1
#define _LIBCPP_ABI_VERSION 1
#define _LIBCPP_ALGORITHM
#define _LIBCPP_ALWAYS_INLINE __attribute__ ((__visibility__("hidden"), __always_inline__))
#define _LIBCPP_ASSERT(x,m) ((void)0)
#define _LIBCPP_ATOMIC
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {
#define _LIBCPP_BIG_ENDIAN 0
#define _LIBCPP_CANTTHROW __attribute__ ((__nothrow__))
#define _LIBCPP_CCTYPE
#define _LIBCPP_CLIMITS
#define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y)
#define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y
#define _LIBCPP_CONFIG
#define _LIBCPP_CONSTEXPR constexpr
#define _LIBCPP_CSTDDEF
#define _LIBCPP_CSTDINT
#define _LIBCPP_CSTDIO
#define _LIBCPP_CSTRING
#define _LIBCPP_CWCHAR
#define _LIBCPP_CWCTYPE
#define _LIBCPP_DECLARE_STRONG_ENUM(x) enum class _LIBCPP_TYPE_VIS x
#define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x)
#define _LIBCPP_DEFAULT = default;
#define _LIBCPP_END_NAMESPACE_STD }
#define _LIBCPP_EXCEPTION
#define _LIBCPP_EXCEPTION_ABI _LIBCPP_TYPE_VIS
#define _LIBCPP_EXPLICIT explicit
#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
#define _LIBCPP_FUNCTIONAL
#define _LIBCPP_FUNCTIONAL_BASE
#define _LIBCPP_FUNC_VIS __attribute__ ((__visibility__("default")))
#define _LIBCPP_HAS_NO_LONG_LONG
#define _LIBCPP_HAS_TYPE_TRAITS
#define _LIBCPP_HIDDEN __attribute__ ((__visibility__("hidden")))
#define _LIBCPP_INITIALIZER_LIST
#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"), __always_inline__))
#define _LIBCPP_IOSFWD
#define _LIBCPP_ITERATOR
#define _LIBCPP_LIMITS
#define _LIBCPP_LITTLE_ENDIAN 1
#define _LIBCPP_MEMORY
#define _LIBCPP_NAMESPACE _LIBCPP_CONCAT(__,_LIBCPP_ABI_VERSION)
#define _LIBCPP_NEW
#define _LIBCPP_NORETURN [[noreturn]]
#define _LIBCPP_NO_EXCEPTIONS
#define _LIBCPP_NO_RTTI
#define _LIBCPP_SPLIT_BUFFER
#define _LIBCPP_STDEXCEPT
#define _LIBCPP_STD_VER 11
#define _LIBCPP_STRING
#define _LIBCPP_TUPLE
#define _LIBCPP_TYPE_TRAITS
#define _LIBCPP_TYPE_VIS __attribute__ ((__type_visibility__("default")))
#define _LIBCPP_UTILITY
#define _LIBCPP_VECTOR
#define _LIBCPP_VERSION 1101
#define _LIBCPP___BIT_REFERENCE
#define _LIBCPP___TUPLE
#define _LIBCP_HAS_IS_BASE_OF
#define _LIBCXX_UNDERLYING_TYPE(T) __underlying_type(T)
#define _LIBC_LIMITS_H_ 1
#define _LONG_DOUBLE long double
#define _LONG_LONG_TYPE long long
#define _MACDEFUN(name,arglist,args) name(args)
#define _MACDEFUN_VOID(name) name(_NOARGS)
#define _MACHINE__DEFAULT_TYPES_H
#define _MACHINE__TYPES_H
#define _MACHTYPES_H_
#define _MBSTATE_T
#define _MB_LEN_MAX 1
#define _N 04
#define _NEWLIB_STDIO_H
#define _NEWLIB_VERSION "2.0.0"
#define _NOALIAS __attribute__((__malloc__))
#define _NOARGS void
#define _NOEXCEPT noexcept
#define _NOEXCEPT_(x) noexcept(x)
#define _NOINLINE __attribute__ ((__noinline__))
#define _NOINLINE_STATIC _NOINLINE static
#define _NOTHROW __attribute__ ((nothrow))
#define _NULL 0
#define _P 020
#define _PARAMS(paramlist) paramlist
#define _POINTER_INT long
#define _POSIX2_RE_DUP_MAX 255
#define _PTR void *
#define _PTRDIFF_T
#define _RAND48_ADD (0x000b)
#define _RAND48_MULT_0 (0xe66d)
#define _RAND48_MULT_1 (0xdeec)
#define _RAND48_MULT_2 (0x0005)
#define _RAND48_SEED_0 (0x330e)
#define _RAND48_SEED_1 (0xabcd)
#define _RAND48_SEED_2 (0x1234)
#define _READ_WRITE_RETURN_TYPE int
#define _REENT _impure_ptr
#define _REENT_ASCTIME_BUF(ptr) ((ptr)->_asctime_buf)
#define _REENT_ASCTIME_SIZE 26
#define _REENT_CHECK(var,what,type,size,init) do { struct _reent *_r = (var); if (_r->what == NULL) { _r->what = (type)malloc(size); __reent_assert(_r->what); init; } } while (0)
#define _REENT_CHECK_ASCTIME_BUF(var) _REENT_CHECK(var, _asctime_buf, char *, _REENT_ASCTIME_SIZE, memset((var)->_asctime_buf, 0, _REENT_ASCTIME_SIZE))
#define _REENT_CHECK_EMERGENCY(var) _REENT_CHECK(var, _emergency, char *, _REENT_EMERGENCY_SIZE, )
#define _REENT_CHECK_MISC(var) _REENT_CHECK(var, _misc, struct _misc_reent *, sizeof *((var)->_misc), _REENT_INIT_MISC(var))
#define _REENT_CHECK_MP(var) _REENT_CHECK(var, _mp, struct _mprec *, sizeof *((var)->_mp), _REENT_INIT_MP(var))
#define _REENT_CHECK_RAND48(var) _REENT_CHECK(var, _r48, struct _rand48 *, sizeof *((var)->_r48), _REENT_INIT_RAND48((var)))
#define _REENT_CHECK_SIGNAL_BUF(var) _REENT_CHECK(var, _signal_buf, char *, _REENT_SIGNAL_SIZE, )
#define _REENT_CHECK_TM(var) _REENT_CHECK(var, _localtime_buf, struct __tm *, sizeof *((var)->_localtime_buf), )
#define _REENT_EMERGENCY(ptr) ((ptr)->_emergency)
#define _REENT_EMERGENCY_SIZE 25
#define _REENT_GETDATE_ERR_P(ptr) (&((ptr)->_misc->_getdate_err))
#define _REENT_INIT(var) { 0, (__FILE *)&__sf_fake_stdin, (__FILE *)&__sf_fake_stdout, (__FILE *)&__sf_fake_stderr, 0, _NULL, 0, 0, "C", _NULL, _NULL, 0, 0, _NULL, _NULL, _NULL, _NULL, _NULL, _NULL, {_NULL, 0, {_NULL}, _NULL}, {_NULL, 0, _NULL}, _NULL, _NULL, _NULL }
#define _REENT_INIT_MISC(var) do { struct _reent *_r = (var); _r->_misc->_strtok_last = _NULL; _r->_misc->_mblen_state.__count = 0; _r->_misc->_mblen_state.__value.__wch = 0; _r->_misc->_wctomb_state.__count = 0; _r->_misc->_wctomb_state.__value.__wch = 0; _r->_misc->_mbtowc_state.__count = 0; _r->_misc->_mbtowc_state.__value.__wch = 0; _r->_misc->_mbrlen_state.__count = 0; _r->_misc->_mbrlen_state.__value.__wch = 0; _r->_misc->_mbrtowc_state.__count = 0; _r->_misc->_mbrtowc_state.__value.__wch = 0; _r->_misc->_mbsrtowcs_state.__count = 0; _r->_misc->_mbsrtowcs_state.__value.__wch = 0; _r->_misc->_wcrtomb_state.__count = 0; _r->_misc->_wcrtomb_state.__value.__wch = 0; _r->_misc->_wcsrtombs_state.__count = 0; _r->_misc->_wcsrtombs_state.__value.__wch = 0; _r->_misc->_l64a_buf[0] = '\0'; _r->_misc->_getdate_err = 0; } while (0)
#define _REENT_INIT_MP(var) do { struct _reent *_r = (var); _r->_mp->_result_k = 0; _r->_mp->_result = _r->_mp->_p5s = _NULL; _r->_mp->_freelist = _NULL; } while (0)
#define _REENT_INIT_PTR(var) { (var)->_stdin = (__FILE *)&__sf_fake_stdin; (var)->_stdout = (__FILE *)&__sf_fake_stdout; (var)->_stderr = (__FILE *)&__sf_fake_stderr; (var)->_errno = 0; (var)->_inc = 0; (var)->_emergency = _NULL; (var)->__sdidinit = 0; (var)->_current_category = 0; (var)->_current_locale = "C"; (var)->_mp = _NULL; (var)->__cleanup = _NULL; (var)->_gamma_signgam = 0; (var)->_cvtlen = 0; (var)->_cvtbuf = _NULL; (var)->_r48 = _NULL; (var)->_localtime_buf = _NULL; (var)->_asctime_buf = _NULL; (var)->_sig_func = _NULL; (var)->_atexit = _NULL; (var)->_atexit0._next = _NULL; (var)->_atexit0._ind = 0; (var)->_atexit0._fns[0] = _NULL; (var)->_atexit0._on_exit_args_ptr = _NULL; (var)->__sglue._next = _NULL; (var)->__sglue._niobs = 0; (var)->__sglue._iobs = _NULL; (var)->__sf = 0; (var)->_misc = _NULL; (var)->_signal_buf = _NULL; }
#define _REENT_INIT_RAND48(var) do { struct _reent *_r = (var); _r->_r48->_seed[0] = _RAND48_SEED_0; _r->_r48->_seed[1] = _RAND48_SEED_1; _r->_r48->_seed[2] = _RAND48_SEED_2; _r->_r48->_mult[0] = _RAND48_MULT_0; _r->_r48->_mult[1] = _RAND48_MULT_1; _r->_r48->_mult[2] = _RAND48_MULT_2; _r->_r48->_add = _RAND48_ADD; _r->_r48->_rand_next = 1; } while (0)
#define _REENT_L64A_BUF(ptr) ((ptr)->_misc->_l64a_buf)
#define _REENT_MBLEN_STATE(ptr) ((ptr)->_misc->_mblen_state)
#define _REENT_MBRLEN_STATE(ptr) ((ptr)->_misc->_mbrlen_state)
#define _REENT_MBRTOWC_STATE(ptr) ((ptr)->_misc->_mbrtowc_state)
#define _REENT_MBSRTOWCS_STATE(ptr) ((ptr)->_misc->_mbsrtowcs_state)
#define _REENT_MBTOWC_STATE(ptr) ((ptr)->_misc->_mbtowc_state)
#define _REENT_MP_FREELIST(ptr) ((ptr)->_mp->_freelist)
#define _REENT_MP_P5S(ptr) ((ptr)->_mp->_p5s)
#define _REENT_MP_RESULT(ptr) ((ptr)->_mp->_result)
#define _REENT_MP_RESULT_K(ptr) ((ptr)->_mp->_result_k)
#define _REENT_RAND48_ADD(ptr) ((ptr)->_r48->_add)
#define _REENT_RAND48_MULT(ptr) ((ptr)->_r48->_mult)
#define _REENT_RAND48_SEED(ptr) ((ptr)->_r48->_seed)
#define _REENT_RAND_NEXT(ptr) ((ptr)->_r48->_rand_next)
#define _REENT_SIGNAL_BUF(ptr) ((ptr)->_signal_buf)
#define _REENT_SIGNAL_SIZE 24
#define _REENT_SIGNGAM(ptr) ((ptr)->_gamma_signgam)
#define _REENT_SMALL
#define _REENT_SMALL_CHECK_INIT(ptr) do { if ((ptr) && !(ptr)->__sdidinit) __sinit (ptr); } while (0)
#define _REENT_STRTOK_LAST(ptr) ((ptr)->_misc->_strtok_last)
#define _REENT_TM(ptr) ((ptr)->_localtime_buf)
#define _REENT_WCRTOMB_STATE(ptr) ((ptr)->_misc->_wcrtomb_state)
#define _REENT_WCSRTOMBS_STATE(ptr) ((ptr)->_misc->_wcsrtombs_state)
#define _REENT_WCTOMB_STATE(ptr) ((ptr)->_misc->_wctomb_state)
#define _S 010
#define _SIGNED signed
#define _SIZE_T
#define _STDINT_H
#define _STDIO_H_
#define _STRING_H_
#define _SYS_CDEFS_H
#define _SYS_FEATURES_H
#define _SYS_REENT_H_
#define _SYS_TYPES_FD_SET
#define _SYS_TYPES_H
#define _SYS__TYPES_H
#define _TIMER_T_ unsigned long
#define _TIME_T_ long
#define _U 01
#define _VA_LIST
#define _VOID void
#define _VOLATILE volatile
#define _VSTD std
#define _WCHAR_H_
#define _WCTRANS_T
#define _WCTYPE_H_
#define _WCTYPE_T
#define _WINT_T
#define _X 0100
#define __ASMNAME(cname) __XSTRING (__USER_LABEL_PREFIX__) cname
#define __ASSERT_FUNC __PRETTY_FUNCTION__
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_CONSUME 1
#define __ATOMIC_RELAXED 0
#define __ATOMIC_RELEASE 3
#define __ATOMIC_SEQ_CST 5
#define __ATTRIBUTE_IMPURE_PTR__
#define __BEGIN_DECLS extern "C" {
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __CHAR16_TYPE__ unsigned short
#define __CHAR32_TYPE__ unsigned int
#define __CHAR_BIT__ 8
#define __CLANG_LIMITS_H
#define __CLANG_STDINT_H
#define __CONCAT(x,y) __CONCAT1(x,y)
#define __CONCAT1(x,y) x ## y
#define __CONSTANT_CFSTRINGS__ 1
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __DBL_DIG__ 15
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define __DBL_HAS_DENORM__ 1
#define __DBL_HAS_INFINITY__ 1
#define __DBL_HAS_QUIET_NAN__ 1
#define __DBL_MANT_DIG__ 53
#define __DBL_MAX_10_EXP__ 308
#define __DBL_MAX_EXP__ 1024
#define __DBL_MAX__ 1.7976931348623157e+308
#define __DBL_MIN_10_EXP__ (-307)
#define __DBL_MIN_EXP__ (-1021)
#define __DBL_MIN__ 2.2250738585072014e-308
#define __DECIMAL_DIG__ 17
#define __DEPRECATED 1
#define __DOTS , ...
#define __DUETTO_CLIENT__ 1
#define __DUETTO__ 1
#define __END_DECLS }
#define __EXPORT
#define __FBSDID(x)
#define __FINITE_MATH_ONLY__ 0
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define __FLT_DIG__ 6
#define __FLT_EPSILON__ 1.19209290e-7F
#define __FLT_EVAL_METHOD__ 0
#define __FLT_HAS_DENORM__ 1
#define __FLT_HAS_INFINITY__ 1
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MANT_DIG__ 24
#define __FLT_MAX_10_EXP__ 38
#define __FLT_MAX_EXP__ 128
#define __FLT_MAX__ 3.40282347e+38F
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT_MIN_EXP__ (-125)
#define __FLT_MIN__ 1.17549435e-38F
#define __FLT_RADIX__ 2
#define __GCC_ATOMIC_BOOL_LOCK_FREE 1
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 1
#define __GCC_ATOMIC_CHAR_LOCK_FREE 1
#define __GCC_ATOMIC_INT_LOCK_FREE 1
#define __GCC_ATOMIC_LLONG_LOCK_FREE 1
#define __GCC_ATOMIC_LONG_LOCK_FREE 1
#define __GCC_ATOMIC_POINTER_LOCK_FREE 1
#define __GCC_ATOMIC_SHORT_LOCK_FREE 1
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 1
#define __GNUC_GNU_INLINE__ 1
#define __GNUC_MINOR__ 2
#define __GNUC_PATCHLEVEL__ 1
#define __GNUC_PREREQ(maj,min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
#define __GNUC_VA_LIST 1
#define __GNUC__ 4
#define __GNUG__ 4
#define __GXX_ABI_VERSION 1002
#define __GXX_EXPERIMENTAL_CXX0X__ 1
#define __GXX_WEAK__ 1
#define __IEEE_LITTLE_ENDIAN
#define __IMPORT
#define __INT16_TYPE__ short
#define __INT32_TYPE__ int
#define __INT8_TYPE__ char
#define __INTMAX_MAX__ 2147483647LL
#define __INTMAX_TYPE__ long long int
#define __INTMAX_WIDTH__ 32
#define __INTPTR_TYPE__ long int
#define __INTPTR_WIDTH__ 32
#define __INTTYPES_DEFINED__
#define __INT_MAX__ 2147483647
#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
#define __LDBL_DIG__ 15
#define __LDBL_EPSILON__ 2.2204460492503131e-16L
#define __LDBL_HAS_DENORM__ 1
#define __LDBL_HAS_INFINITY__ 1
#define __LDBL_HAS_QUIET_NAN__ 1
#define __LDBL_MANT_DIG__ 53
#define __LDBL_MAX_10_EXP__ 308
#define __LDBL_MAX_EXP__ 1024
#define __LDBL_MAX__ 1.7976931348623157e+308L
#define __LDBL_MIN_10_EXP__ (-307)
#define __LDBL_MIN_EXP__ (-1021)
#define __LDBL_MIN__ 2.2250738585072014e-308L
#define __LIBCPP_TYPEINFO
#define __LITTLE_ENDIAN__ 1
#define __LOCK_INIT(class,lock) static int lock = 0;
#define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
#define __LONG_LONG_MAX__ 2147483647LL
#define __LONG_MAX__ 2147483647L
#define __Long long
#define __NEWLIB_H__ 1
#define __OPTIMIZE__ 1
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_PDP_ENDIAN__ 3412
#define __P(args) args
#define __PMT(args) args
#define __POINTER_WIDTH__ 32
#define __PRAGMA_REDEFINE_EXTNAME 1
#define __PTRDIFF_TYPE__ long int
#define __PTRDIFF_WIDTH__ 32
#define __RAND_MAX 0x7fffffff
#define __SAPP 0x0100
#define __SCHAR_MAX__ 127
#define __SEOF 0x0020
#define __SERR 0x0040
#define __SHRT_MAX__ 32767
#define __SIG_ATOMIC_WIDTH__ 32
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG_DOUBLE__ 8
#define __SIZEOF_LONG_LONG__ 4
#define __SIZEOF_LONG__ 4
#define __SIZEOF_POINTER__ 4
#define __SIZEOF_PTRDIFF_T__ 4
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_SIZE_T__ 4
#define __SIZEOF_WCHAR_T__ 4
#define __SIZEOF_WINT_T__ 4
#define __SIZE_MAX__ 4294967295U
#define __SIZE_TYPE__ unsigned int
#define __SIZE_WIDTH__ 32
#define __SL64 0x8000
#define __SLBF 0x0001
#define __SMBF 0x0080
#define __SNBF 0x0002
#define __SNPT 0x0800
#define __SOFF 0x1000
#define __SOPT 0x0400
#define __SORD 0x2000
#define __SRD 0x0004
#define __SRW 0x0010
#define __SSTR 0x0200
#define __STDARG_H
#define __STDC_HOSTED__ 1
#define __STDC__ 1
#define __STDDEF_H
#define __STDINT_EXP(x) __##x##__
#define __STRICT_ANSI__ 1
#define __STRING(x) #x
#define __SWID 0x2000
#define __SWR 0x0008
#define __SYS_CONFIG_H__
#define __SYS_LOCK_H__
#define __THROW
#define __UINTMAX_TYPE__ long long unsigned int
#define __USER_LABEL_PREFIX__ _
#define __VALIST __gnuc_va_list
#define __VERSION__ "4.2.1 Compatible Duetto 0.9.4.1-1 Clang 3.4 "
#define __WCHAR_MAX__ 2147483647
#define __WCHAR_TYPE__ int
#define __WCHAR_WIDTH__ 32
#define __WINT_TYPE__ int
#define __WINT_WIDTH__ 32
#define __XSTRING(x) __STRING(x)
#define ___int16_t_defined 1
#define ___int32_t_defined 1
#define ___int8_t_defined 1
#define ___int_least16_t_defined 1
#define ___int_least32_t_defined 1
#define __attribute_format_strfmon__(a,b)
#define __attribute_malloc__
#define __attribute_pure__
#define __bounded
#define __clang__ 1
#define __clang_major__ 3
#define __clang_minor__ 4
#define __clang_patchlevel__ 0
#define __clang_version__ "3.4 "
#define __clock_t_defined
#define __clockid_t_defined
#define __const const
#define __cplusplus 201103L
#define __flexarr [0]
#define __int16_t_defined 1
#define __int32_t_defined 1
#define __int8_t_defined 1
#define __int_fast16_t_defined 1
#define __int_fast32_t_defined 1
#define __int_fast8_t_defined 1
#define __int_least16_t_defined 1
#define __int_least32_t_defined 1
#define __int_least8_t_defined 1
#define __llvm__ 1
#define __lock_acquire(lock) (_CAST_VOID 0)
#define __lock_acquire_recursive(lock) (_CAST_VOID 0)
#define __lock_close(lock) (_CAST_VOID 0)
#define __lock_close_recursive(lock) (_CAST_VOID 0)
#define __lock_init(lock) (_CAST_VOID 0)
#define __lock_init_recursive(lock) (_CAST_VOID 0)
#define __lock_release(lock) (_CAST_VOID 0)
#define __lock_release_recursive(lock) (_CAST_VOID 0)
#define __lock_try_acquire(lock) (_CAST_VOID 0)
#define __lock_try_acquire_recursive(lock) (_CAST_VOID 0)
#define __long_double_t long double
#define __need_NULL
#define __need___va_list
#define __need_size_t
#define __need_wchar_t
#define __private_extern__ extern
#define __ptr_t void *
#define __ptrvalue
#define __reent_assert(x) ((void)0)
#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
#define __sferror(p) (((p)->_flags & __SERR) != 0)
#define __sfileno(p) ((p)->_file)
#define __sgetc_r(__ptr,__p) __sgetc_raw_r(__ptr, __p)
#define __sgetc_raw_r(__ptr,__f) (--(__f)->_r < 0 ? __srget_r(__ptr, __f) : (int)(*(__f)->_p++))
#define __signed signed
#define __sputc_r(__ptr,__c,__p) __sputc_raw_r(__ptr, __c, __p)
#define __sputc_raw_r(__ptr,__c,__p) (--(__p)->_w < 0 ? (__p)->_w >= (__p)->_lbfsize ? (*(__p)->_p = (__c)), *(__p)->_p != '\n' ? (int)*(__p)->_p++ : __swbuf_r(__ptr, '\n', __p) : __swbuf_r(__ptr, (int)(__c), __p) : (*(__p)->_p = (__c), (int)*(__p)->_p++))
#define __strong_reference(sym,aliassym) extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym)));
#define __time_t_defined
#define __timer_t_defined
#define __timespec_defined
#define __unbounded
#define __va_copy(d,s) __builtin_va_copy(d,s)
#define __volatile volatile
#define __warn_references(sym,msg) __asm__(".stabs \"" msg "\",30,0,0,0"); __asm__(".stabs \"_" #sym "\",1,0,0,0")
#define __weak_reference(sym,alias) __asm__(".stabs \"_" #alias "\",11,0,0,0"); __asm__(".stabs \"_" #sym "\",1,0,0,0")
#define _flockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_acquire_recursive((fp)->_lock))
#define _funlockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_release_recursive((fp)->_lock))
#define _stderr_r(x) ((x)->_stderr)
#define _stdin_r(x) ((x)->_stdin)
#define _stdout_r(x) ((x)->_stdout)
#define _tolower(__c) ((unsigned char)(__c) - 'A' + 'a')
#define _toupper(__c) ((unsigned char)(__c) - 'a' + 'A')
#define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, __ASSERT_FUNC, #__e))
#define fd_set _types_fd_set
#define getchar() getc(stdin)
#define getwc(fp) fgetwc(fp)
#define getwchar() fgetwc(_REENT->_stdin)
#define howmany(x,y) (((x)+((y)-1))/(y))
#define isascii(__c) ((unsigned)(__c)<=0177)
#define offsetof(t,d) __builtin_offsetof(t, d)
#define physadr physadr_t
#define putchar(x) putc(x, stdout)
#define putwc(wc,fp) fputwc((wc), (fp))
#define putwchar(wc) fputwc((wc), _REENT->_stdout)
#define quad quad_t
#define stderr (_REENT->_stderr)
#define stdin (_REENT->_stdin)
#define stdout (_REENT->_stdout)
#define toascii(__c) ((__c)&0177)
#define va_arg(ap,type) __builtin_va_arg(ap, type)
#define va_copy(dest,src) __builtin_va_copy(dest, src)
#define va_end(ap) __builtin_va_end(ap)
#define va_start(ap,param) __builtin_va_start(ap, param)

-- 
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Duetto.
https://bugs.launchpad.net/bugs/1295695

Title:
  Installation from 0.9.4.1 tarball fails on Mac OS X 10.9.2

Status in Duetto: C++ for the Web:
  New

Bug description:
  The duetto installation generated by running

      $ sudo tar xvf duetto-macosx-0.9.4.1.tar.bz2 duetto

  while `PWD = /opt` appears broken. When running the "Hello, World"
  example I get:

  ~/Code/duetto% /opt/duetto/bin/clang++ -O3 -target duetto HelloClient.cpp -o HelloClient.js
  In file included from HelloClient.cpp:1:
  In file included from /opt/duetto/include/client/duetto/client.h:24:
  In file included from /opt/duetto/include/client/duetto/types.h:24:
  In file included from /opt/duetto/include/c++/v1/utility:146:
  In file included from /opt/duetto/include/c++/v1/__tuple:15:
  In file included from /opt/duetto/include/c++/v1/cstddef:44:
  /opt/duetto/bin/../lib/clang/3.4/include/stddef.h:34:26: error: variably modified type
        declaration not allowed at file scope
  typedef __PTRDIFF_TYPE__ ptrdiff_t;
                           ^
  In file included from HelloClient.cpp:1:
  In file included from /opt/duetto/include/client/duetto/client.h:24:
  In file included from /opt/duetto/include/client/duetto/types.h:24:
  In file included from /opt/duetto/include/c++/v1/utility:146:
  In file included from /opt/duetto/include/c++/v1/__tuple:15:
  /opt/duetto/include/c++/v1/cstddef:55:21: error: variably modified type declaration not allowed
        at file scope
  typedef long double max_align_t;
                      ^
  In file included from HelloClient.cpp:1:
  In file included from /opt/duetto/include/client/duetto/client.h:24:
  In file included from /opt/duetto/include/client/duetto/types.h:24:
  In file included from /opt/duetto/include/c++/v1/utility:146:
  In file included from /opt/duetto/include/c++/v1/__tuple:16:
  /opt/duetto/include/c++/v1/type_traits:152:16: error: non-type template parameter of variably
        modified type 'bool'
  template <bool _Bp, class _If, class _Then>
                 ^
  /opt/duetto/include/c++/v1/type_traits:157:15: error: non-type template parameter of variably
        modified type 'bool'
  template <bool, class _Tp = void> struct _LIBCPP_TYPE_VIS enable_if {};
                ^
  /opt/duetto/include/c++/v1/type_traits:177:27: error: variably modified type 'bool' cannot be
        used as a template argument
  typedef integral_constant<bool, true>  true_type;
                            ^
  /opt/duetto/include/c++/v1/type_traits:178:27: error: variably modified type 'bool' cannot be
        used as a template argument
  typedef integral_constant<bool, false> false_type;
                            ^
  /opt/duetto/include/c++/v1/type_traits:182:75: error: base specifier must name a class
  template <class _Tp> struct _LIBCPP_TYPE_VIS is_const            : public false_type {};
                                                                     ~~~~~~~^~~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:183:75: error: base specifier must name a class
  template <class _Tp> struct _LIBCPP_TYPE_VIS is_const<_Tp const> : public true_type {};
                                                                     ~~~~~~~^~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:187:81: error: base specifier must name a class
  template <class _Tp> struct _LIBCPP_TYPE_VIS is_volatile               : public false_type {};
                                                                           ~~~~~~~^~~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:188:81: error: base specifier must name a class
  template <class _Tp> struct _LIBCPP_TYPE_VIS is_volatile<_Tp volatile> : public true_type {};
                                                                           ~~~~~~~^~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:203:35: error: variably modified type 'typename
        remove_const<_Tp>::type' cannot be used as a template argument
  {typedef typename remove_volatile<typename remove_const<_Tp>::type>::type type;};
                                    ^
  /opt/duetto/include/c++/v1/type_traits:203:70: error: expected a qualified name after 'typename'
  {typedef typename remove_volatile<typename remove_const<_Tp>::type>::type type;};
                                                                       ^
  /opt/duetto/include/c++/v1/type_traits:203:74: error: expected ';' at end of declaration list
  {typedef typename remove_volatile<typename remove_const<_Tp>::type>::type type;};
                                                                           ^
  /opt/duetto/include/c++/v1/type_traits:207:54: error: base specifier must name a class
  template <class _Tp> struct __is_void       : public false_type {};
                                                ~~~~~~~^~~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:208:54: error: base specifier must name a class
  template <>          struct __is_void<void> : public true_type {};
                                                ~~~~~~~^~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:211:24: error: variably modified type
        'typename remove_cv<_Tp>::type' cannot be used as a template argument
      : public __is_void<typename remove_cv<_Tp>::type> {};
                         ^
  /opt/duetto/include/c++/v1/type_traits:215:61: error: base specifier must name a class
  template <class _Tp> struct ____is_nullptr_t       : public false_type {};
                                                       ~~~~~~~^~~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:216:66: error: base specifier must name a class
  template <>          struct ____is_nullptr_t<nullptr_t> : public true_type {};
                                                            ~~~~~~~^~~~~~~~~
  /opt/duetto/include/c++/v1/type_traits:219:31: error: variably modified type
        'typename remove_cv<_Tp>::type' cannot be used as a template argument
      : public ____is_nullptr_t<typename remove_cv<_Tp>::type> {};
                                ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  0  clang-3.4                0x000000010095c518 llvm::sys::PrintStackTrace(__sFILE*) + 40
  1  clang-3.4                0x000000010095ca44 SignalHandler(int) + 532
  2  libsystem_platform.dylib 0x00007fff89a855aa _sigtramp + 26
  3  libsystem_platform.dylib 0x8002c12601c98c0d _sigtramp + 2015442557
  4  clang-3.4                0x000000010096fabe clang::ASTContext::getVariableArrayDecayedType(clang::QualType) const + 318
  5  clang-3.4                0x000000010096e292 clang::ASTContext::getFunctionType(clang::QualType, llvm::ArrayRef<clang::QualType>, clang::FunctionProtoType::ExtProtoInfo const&) const + 610
  6  clang-3.4                0x00000001010c471f GetFullTypeForDeclarator((anonymous namespace)::TypeProcessingState&, clang::QualType, clang::TypeSourceInfo*) + 8255
  7  clang-3.4                0x00000001010c06fd clang::Sema::GetTypeForDeclarator(clang::Declarator&, clang::Scope*) + 573
  8  clang-3.4                0x0000000100eafc17 clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>) + 1431
  9  clang-3.4                0x000000010103ac75 clang::Sema::ActOnStartOfFunctionTemplateDef(clang::Scope*, llvm::MutableArrayRef<clang::TemplateParameterList*>, clang::Declarator&) + 53
  10 clang-3.4                0x0000000100dff14e clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) + 1742
  11 clang-3.4                0x0000000100df4409 clang::Parser::ParseSingleDeclarationAfterTemplate(unsigned int, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 3993
  12 clang-3.4                0x0000000100df3136 clang::Parser::ParseTemplateDeclarationOrSpecialization(unsigned int, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 854
  13 clang-3.4                0x0000000100df2c3b clang::Parser::ParseDeclarationStartingWithTemplate(unsigned int, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 235
  14 clang-3.4                0x0000000100d9efa7 clang::Parser::ParseDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 535
  15 clang-3.4                0x0000000100dfd846 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 1350
  16 clang-3.4                0x0000000100dafe87 clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*, std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 551
  17 clang-3.4                0x0000000100daf6dc clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 4108
  18 clang-3.4                0x0000000100d9ef7d clang::Parser::ParseDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 493
  19 clang-3.4                0x0000000100dfd846 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 1350
  20 clang-3.4                0x0000000100dfd27e clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 318
  21 clang-3.4                0x0000000100d93d66 clang::ParseAST(clang::Sema&, bool, bool) + 438
  22 clang-3.4                0x0000000100c274cf clang::CodeGenAction::ExecuteAction() + 79
  23 clang-3.4                0x0000000100d160b8 clang::FrontendAction::Execute() + 88
  24 clang-3.4                0x0000000100cf2abd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 861
  25 clang-3.4                0x000000010095f143 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3571
  26 clang-3.4                0x0000000100007afc cc1_main(char const**, char const**, char const*, void*) + 668
  27 clang-3.4                0x0000000100006d0f main + 7839
  28 clang-3.4                0x0000000100004e02 _start + 224
  29 clang-3.4                0x0000000100004d21 start + 33
  Stack dump:
  0.	Program arguments: /opt/duetto/bin/clang-3.4 -cc1 -triple duetto--webbrowser -emit-llvm-bc -disable-free -disable-llvm-verifier -main-file-name HelloClient.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno -mconstructor-aliases -resource-dir /opt/duetto/bin/../lib/clang/3.4 -internal-isystem /opt/duetto/include/c++/v1 -internal-isystem /opt/duetto/bin/../lib/clang/3.4/include -internal-externc-isystem /opt/duetto/include -internal-externc-isystem /opt/duetto/include/client -O3 -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir /Users/jnotarstefano/Code/duetto -ferror-limit 19 -fmessage-length 97 -mstackrealign -fno-rtti -fno-threadsafe-statics -fobjc-runtime=gcc -fobjc-default-synthesize-properties -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o /var/folders/yb/12ysnq_x2r76_f4zyfwnk6n80000gn/T/HelloClient-ee51bf.o -x c++ HelloClient.cpp
  1.	/opt/duetto/include/c++/v1/type_traits:1340:1: current parser token '{'
  2.	/opt/duetto/include/c++/v1/type_traits:150:1 <Spelling=/opt/duetto/include/c++/v1/__config:327:37>: parsing namespace 'std'
  clang-3.4: error: unable to execute command: Segmentation fault: 11
  clang-3.4: error: clang frontend command failed due to signal (use -v to see invocation)
  Duetto 0.9.4.1-1 clang version 3.4  (based on LLVM 3.4svn)
  Target: duetto--webbrowser
  Thread model: posix
  clang-3.4: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
  clang-3.4: note: diagnostic msg:
  ********************

  PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
  Preprocessed source(s) and associated run script(s) are located at:
  clang-3.4: note: diagnostic msg: /var/folders/yb/12ysnq_x2r76_f4zyfwnk6n80000gn/T/HelloClient-8bed38.cpp
  clang-3.4: note: diagnostic msg: /var/folders/yb/12ysnq_x2r76_f4zyfwnk6n80000gn/T/HelloClient-8bed38.sh
  clang-3.4: note: diagnostic msg:

  ********************

  When built from source, duetto works as expected. Please let me know
  which other details of my machine are you interested in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/duetto/+bug/1295695/+subscriptions


References