[llvm-bugs] [Bug 25885] New: Only build tsan for supported archs

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 18 08:41:25 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25885

            Bug ID: 25885
           Summary: Only build tsan for supported archs
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

As reported at https://trac.macports.org/ticket/50080, with trunk r254705.

A user hit a build failure when compiling tsan because the build system is not
filtering out i386:

650    :info:build [ 35%] Building CXX object
projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan_osx_dynamic.dir/rtl/tsan_flags.cc.o
651    :info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/tsan
&& /opt/local/bin/clang++-mp-3.7   -D_DEBUG -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Dclang_rt_tsan_osx_dynamic_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/projects/compiler-rt/lib/tsan
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/trunk/projects/compiler-rt/lib/tsan
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/build/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/trunk/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/trunk/projects/compiler-rt/lib/tsan/..
 -pipe -Os -std=c++11 -arch x86_64 -arch i386 -stdlib=libc++  -fPIC
-fvisibility-inlines-hidden -Wall -std=c++11 -arch x86_64 -arch x86_64h   
-stdlib=libc++ -mmacosx-version-min=10.10 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
-fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables
-fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden
-fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3
-gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions
-Wno-non-virtual-dtor -fPIE -fno-rtti -msse3 -Wframe-larger-than=512
-Wglobal-constructors -o
CMakeFiles/clang_rt.tsan_osx_dynamic.dir/rtl/tsan_flags.cc.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/trunk/projects/compiler-rt/lib/tsan/rtl/tsan_flags.cc
652    :info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/trunk/projects/compiler-rt/lib/tsan/rtl/tsan_flags.cc:18:
653    :info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/trunk/projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h:44:
654    :info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/trunk/projects/compiler-rt/lib/tsan/rtl/tsan_platform.h:19:3:
error: "Only 64-bit is supported"
655    :info:build # error "Only 64-bit is supported"
656    :info:build   ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151218/4f22bb4c/attachment.html>


More information about the llvm-bugs mailing list