paulfloyd / freebsd_valgrind

Git repo used to Upstream the FreeBSD Port of Valgrind
GNU General Public License v2.0
15 stars 4 forks source link

drd/tests/std* build is disabled for clang #123

Closed paulfloyd closed 4 years ago

paulfloyd commented 4 years ago

Makefile.am contains

if CXX_CAN_INCLUDE_THREAD_HEADER
if HAVE_SHARED_POINTER_ANNOTATION
check_PROGRAMS += \
  std_atomic      \
  std_list        \
  std_mutex       \
  std_string      \
  std_thread      \
  std_thread2
endif
endif

std_thread and std_thread2 won't build with clang - they access (GCC) libstdc++ structure internals that are not present with (clang) libc++.

The other 4 compile fine with clang.

paulfloyd commented 4 years ago

Moved this into unconditional list. To https://github.com/paulfloyd/freebsd_valgrind.git 14eb5e4c2..5da907675 freebsd -> freebsd