http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018
--- Comment #1 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
At least one of these patches does not build with clang:
/home/kcc/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:807:21:
error: ignored asm label 'r8' on automatic variable [-Werror]
void *r8 __asm__ ("r8") = newtls;
^
/home/kcc/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:808:21:
error: ignored asm label 'r10' on automatic variable [-Werror]
int *r10 __asm__ ("r10") = child_tidptr;
^
is this some kind of gcc-specific syntax?
(forgive my ignorance here)
Two general questions:
1. Before doing the merge I test the patch like this:
rm -rf */{*/,}libsanitizer && make -j 50 && make -C gcc check-g{cc,++}
RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} asan.exp'
What should I add to this line to also test x32?
2. Is there any chance to test x32 off the clang tree, so that we keep the
upstream tree x32-clean all the time?