Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX: thread_local_test and futures_test fail #292

Closed
jimbru opened this issue Jul 28, 2015 · 1 comment
Closed

OSX: thread_local_test and futures_test fail #292

jimbru opened this issue Jul 28, 2015 · 1 comment

Comments

@jimbru
Copy link

jimbru commented Jul 28, 2015

Freshly cloned and built today (master@9ca0389d8d29d27aceef3f86e21d75af6737cbd5) with:

$ ./build/bootstrap-osx-homebrew.sh
$ make
$ make check

Results of make check:

/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
PASS: sorted_vector_types_test
PASS: foreach_test
PASS: hash_test
PASS: timeout_queue_test
PASS: conv_test
PASS: range_test
PASS: bits_test
PASS: bit_iterator_test
PASS: spin_lock_test
PASS: small_locks_test
PASS: packed_sync_ptr_test
PASS: small_vector_test
PASS: discriminated_ptr_test
PASS: cpuid_test
PASS: fbstring_test_using_jemalloc
PASS: thread_cached_int_test
FAIL: thread_local_test
PASS: fbvector_test
PASS: dynamic_test
PASS: json_test
PASS: scope_guard_test
PASS: endian_test
PASS: rw_spinlock_test
PASS: synchronized_test
PASS: concurrent_skiplist_test
PASS: histogram_test
PASS: group_varint_test
PASS: map_util_test
PASS: string_test
PASS: producer_consumer_queue_test
PASS: atomic_hash_array_test
PASS: atomic_hash_map_test
PASS: format_test
PASS: fingerprint_test
PASS: portability_test
PASS: spooky_hash_v1_test
PASS: spooky_hash_v2_test
FAIL: futures_test
============================================================================
Testsuite summary for folly 52.0
============================================================================
# TOTAL: 38
# PASS:  36
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to [email protected]
============================================================================
make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

Contents of test/test-suite.log: https://gist.github.com/anonymous/e43a659449d94834bddc

Output of sw_vers:

ProductName:    Mac OS X
ProductVersion: 10.10.4
BuildVersion:   14E46

Output of g++ --version:

Galactica:folly jimbru$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix

Thanks!

@denji
Copy link

denji commented Jan 22, 2016

@jimbru Xcode does not support thread_local, this programming method is available in the open-source version library of llvm/clang. You need to install (llvm & clang & libcxx) from macports/homebrew/source-code.

@Orvid Orvid closed this as completed Oct 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants