[compiler-rt] r184816 - Temporarily disable building the armv7 variants of profile_ios on

Chandler Carruth chandlerc at gmail.com
Mon Jun 24 19:15:15 PDT 2013


Author: chandlerc
Date: Mon Jun 24 21:15:14 2013
New Revision: 184816

URL: http://llvm.org/viewvc/llvm-project?rev=184816&view=rev
Log:
Temporarily disable building the armv7 variants of profile_ios on
darwin.

After talking with Jim Grosbach pretty extensively, he was OK with me
punting on this to the Apple folks.

We agreed that the correct fix is either to extend the fake SDK headers
in compiler-rt to support the rest of libc needed by GCDAProfiling.c or
to teach the make build to test for the existence of a suitable SDK on
the system prior to building it. Both of these require someone with
access to the SDK which I don't have, and the latter (my preferred
solution) requires understanding the strange compiler-rt make build
system. Punting to Dan Dunbar or one of the others who support this
stuff on ios to write the appropriate fix, and we can let the build bots
proceed in the mean time.

Modified:
    compiler-rt/trunk/make/platform/clang_darwin.mk

Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=184816&r1=184815&r2=184816&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Mon Jun 24 21:15:14 2013
@@ -67,7 +67,12 @@ UniversalArchs.cc_kext_ios5 := $(call Ch
 Configs += profile_osx
 UniversalArchs.profile_osx := $(call CheckArches,i386 x86_64,profile_osx)
 Configs += profile_ios
-UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
+# FIXME: I've removed the armv7 configs for profile_ios until a viable solution
+# to using the *actual* SDK instead of a fake SDK sysroot is found (or until
+# the fake SDK sysroot is expanded correctly for darwin errno on all the
+# various platforms that I can't find out about).
+#UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
+UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64,profile_ios)
 
 # Configurations which define the ASAN support functions.
 Configs += asan_osx_dynamic





More information about the llvm-commits mailing list