Argh... seems like upgrading Xcode was a mistake..
I get
build/core/combo/HOST_darwin-x86.mk:51: ****************************************
build/core/combo/HOST_darwin-x86.mk:52: * gcc is linked to llvm-gcc which will *
build/core/combo/HOST_darwin-x86.mk:53: * not create a useable emulator. *
build/core/combo/HOST_darwin-x86.mk:54: ****************************************
and then later
Header: out/target/product/generic/obj/include/libwpa_client/wpa_ctrl.h
host C++: FileCheck <= external/llvm/utils/FileCheck/FileCheck.cpp
<command-line>: warning: "__STDC_LIMIT_MACROS" redefined
<command-line>: warning: this is the location of the previous definition
<command-line>: warning: "__STDC_CONSTANT_MACROS" redefined
<command-line>: warning: this is the location of the previous definition
In file included from external/llvm/include/llvm/ADT/OwningPtr.h:18,
from external/llvm/utils/FileCheck/FileCheck.cpp:19:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/cstddef:50:28:
error: bits/c++config.h: No such file or directory
In file included from
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:70,
from
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/algorithm:65,
from external/llvm/include/llvm/ADT/SmallVector.h:18,
from external/llvm/include/llvm/Support/CommandLine.h:25,
from external/llvm/utils/FileCheck/FileCheck.cpp:20:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/iosfwd:45:29:
error: bits/c++locale.h: No such file or directory
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/iosfwd:46:25:
error: bits/c++io.h: No such file or directory
In file included from
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/memory:54,
from
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/bits/stl_tempbuf.h:65,
from
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/bits/stl_algo.h:66,
from
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/algorithm:68,
from external/llvm/include/llvm/ADT/SmallVector.h:18,
from external/llvm/include/llvm/Support/CommandLine.h:25,
and lots more.
I have installed /Developer/SDKs/MacOSX10.6.sdk from an old 3.2 xcode
installer as described on stackoverflow but this fails out of the box.
Manfred